Lines Matching refs:htonl
203 *bp++ = htonl(mask); in xdr_encode_AFS_StoreStatus()
204 *bp++ = htonl(mtime); in xdr_encode_AFS_StoreStatus()
205 *bp++ = htonl(owner); in xdr_encode_AFS_StoreStatus()
206 *bp++ = htonl(group); in xdr_encode_AFS_StoreStatus()
207 *bp++ = htonl(mode); in xdr_encode_AFS_StoreStatus()
301 bp[0] = htonl(FSFETCHSTATUS); in afs_fs_fetch_file_status()
302 bp[1] = htonl(vnode->fid.vid); in afs_fs_fetch_file_status()
303 bp[2] = htonl(vnode->fid.vnode); in afs_fs_fetch_file_status()
304 bp[3] = htonl(vnode->fid.unique); in afs_fs_fetch_file_status()
477 bp[0] = htonl(FSFETCHDATA64); in afs_fs_fetch_data64()
478 bp[1] = htonl(vnode->fid.vid); in afs_fs_fetch_data64()
479 bp[2] = htonl(vnode->fid.vnode); in afs_fs_fetch_data64()
480 bp[3] = htonl(vnode->fid.unique); in afs_fs_fetch_data64()
481 bp[4] = htonl(upper_32_bits(offset)); in afs_fs_fetch_data64()
482 bp[5] = htonl((u32) offset); in afs_fs_fetch_data64()
484 bp[7] = htonl((u32) length); in afs_fs_fetch_data64()
522 bp[0] = htonl(FSFETCHDATA); in afs_fs_fetch_data()
523 bp[1] = htonl(vnode->fid.vid); in afs_fs_fetch_data()
524 bp[2] = htonl(vnode->fid.vnode); in afs_fs_fetch_data()
525 bp[3] = htonl(vnode->fid.unique); in afs_fs_fetch_data()
526 bp[4] = htonl(offset); in afs_fs_fetch_data()
527 bp[5] = htonl(length); in afs_fs_fetch_data()
590 *bp++ = htonl(FSGIVEUPCALLBACKS); in afs_fs_give_up_callbacks()
591 *bp++ = htonl(ncallbacks); in afs_fs_give_up_callbacks()
592 *tp++ = htonl(ncallbacks); in afs_fs_give_up_callbacks()
599 *bp++ = htonl(cb->fid.vid); in afs_fs_give_up_callbacks()
600 *bp++ = htonl(cb->fid.vnode); in afs_fs_give_up_callbacks()
601 *bp++ = htonl(cb->fid.unique); in afs_fs_give_up_callbacks()
602 *tp++ = htonl(cb->version); in afs_fs_give_up_callbacks()
603 *tp++ = htonl(cb->expiry); in afs_fs_give_up_callbacks()
604 *tp++ = htonl(cb->type); in afs_fs_give_up_callbacks()
695 *bp++ = htonl(S_ISDIR(mode) ? FSMAKEDIR : FSCREATEFILE); in afs_fs_create()
696 *bp++ = htonl(vnode->fid.vid); in afs_fs_create()
697 *bp++ = htonl(vnode->fid.vnode); in afs_fs_create()
698 *bp++ = htonl(vnode->fid.unique); in afs_fs_create()
699 *bp++ = htonl(namesz); in afs_fs_create()
706 *bp++ = htonl(AFS_SET_MODE); in afs_fs_create()
710 *bp++ = htonl(mode & S_IALLUGO); /* unix mode */ in afs_fs_create()
784 *bp++ = htonl(isdir ? FSREMOVEDIR : FSREMOVEFILE); in afs_fs_remove()
785 *bp++ = htonl(vnode->fid.vid); in afs_fs_remove()
786 *bp++ = htonl(vnode->fid.vnode); in afs_fs_remove()
787 *bp++ = htonl(vnode->fid.unique); in afs_fs_remove()
788 *bp++ = htonl(namesz); in afs_fs_remove()
869 *bp++ = htonl(FSLINK); in afs_fs_link()
870 *bp++ = htonl(dvnode->fid.vid); in afs_fs_link()
871 *bp++ = htonl(dvnode->fid.vnode); in afs_fs_link()
872 *bp++ = htonl(dvnode->fid.unique); in afs_fs_link()
873 *bp++ = htonl(namesz); in afs_fs_link()
880 *bp++ = htonl(vnode->fid.vid); in afs_fs_link()
881 *bp++ = htonl(vnode->fid.vnode); in afs_fs_link()
882 *bp++ = htonl(vnode->fid.unique); in afs_fs_link()
966 *bp++ = htonl(FSSYMLINK); in afs_fs_symlink()
967 *bp++ = htonl(vnode->fid.vid); in afs_fs_symlink()
968 *bp++ = htonl(vnode->fid.vnode); in afs_fs_symlink()
969 *bp++ = htonl(vnode->fid.unique); in afs_fs_symlink()
970 *bp++ = htonl(namesz); in afs_fs_symlink()
977 *bp++ = htonl(c_namesz); in afs_fs_symlink()
984 *bp++ = htonl(AFS_SET_MODE); in afs_fs_symlink()
988 *bp++ = htonl(S_IRWXUGO); /* unix mode */ in afs_fs_symlink()
1074 *bp++ = htonl(FSRENAME); in afs_fs_rename()
1075 *bp++ = htonl(orig_dvnode->fid.vid); in afs_fs_rename()
1076 *bp++ = htonl(orig_dvnode->fid.vnode); in afs_fs_rename()
1077 *bp++ = htonl(orig_dvnode->fid.unique); in afs_fs_rename()
1078 *bp++ = htonl(o_namesz); in afs_fs_rename()
1086 *bp++ = htonl(new_dvnode->fid.vid); in afs_fs_rename()
1087 *bp++ = htonl(new_dvnode->fid.vnode); in afs_fs_rename()
1088 *bp++ = htonl(new_dvnode->fid.unique); in afs_fs_rename()
1089 *bp++ = htonl(n_namesz); in afs_fs_rename()
1190 *bp++ = htonl(FSSTOREDATA64); in afs_fs_store_data64()
1191 *bp++ = htonl(vnode->fid.vid); in afs_fs_store_data64()
1192 *bp++ = htonl(vnode->fid.vnode); in afs_fs_store_data64()
1193 *bp++ = htonl(vnode->fid.unique); in afs_fs_store_data64()
1202 *bp++ = htonl(pos >> 32); in afs_fs_store_data64()
1203 *bp++ = htonl((u32) pos); in afs_fs_store_data64()
1204 *bp++ = htonl(size >> 32); in afs_fs_store_data64()
1205 *bp++ = htonl((u32) size); in afs_fs_store_data64()
1206 *bp++ = htonl(i_size >> 32); in afs_fs_store_data64()
1207 *bp++ = htonl((u32) i_size); in afs_fs_store_data64()
1267 *bp++ = htonl(FSSTOREDATA); in afs_fs_store_data()
1268 *bp++ = htonl(vnode->fid.vid); in afs_fs_store_data()
1269 *bp++ = htonl(vnode->fid.vnode); in afs_fs_store_data()
1270 *bp++ = htonl(vnode->fid.unique); in afs_fs_store_data()
1279 *bp++ = htonl(pos); in afs_fs_store_data()
1280 *bp++ = htonl(size); in afs_fs_store_data()
1281 *bp++ = htonl(i_size); in afs_fs_store_data()
1378 *bp++ = htonl(FSSTOREDATA64); in afs_fs_setattr_size64()
1379 *bp++ = htonl(vnode->fid.vid); in afs_fs_setattr_size64()
1380 *bp++ = htonl(vnode->fid.vnode); in afs_fs_setattr_size64()
1381 *bp++ = htonl(vnode->fid.unique); in afs_fs_setattr_size64()
1389 *bp++ = htonl(attr->ia_size >> 32); /* new file length */ in afs_fs_setattr_size64()
1390 *bp++ = htonl((u32) attr->ia_size); in afs_fs_setattr_size64()
1429 *bp++ = htonl(FSSTOREDATA); in afs_fs_setattr_size()
1430 *bp++ = htonl(vnode->fid.vid); in afs_fs_setattr_size()
1431 *bp++ = htonl(vnode->fid.vnode); in afs_fs_setattr_size()
1432 *bp++ = htonl(vnode->fid.unique); in afs_fs_setattr_size()
1438 *bp++ = htonl(attr->ia_size); /* new file length */ in afs_fs_setattr_size()
1475 *bp++ = htonl(FSSTORESTATUS); in afs_fs_setattr()
1476 *bp++ = htonl(vnode->fid.vid); in afs_fs_setattr()
1477 *bp++ = htonl(vnode->fid.vnode); in afs_fs_setattr()
1478 *bp++ = htonl(vnode->fid.unique); in afs_fs_setattr()
1754 bp[0] = htonl(FSGETVOLUMESTATUS); in afs_fs_get_volume_status()
1755 bp[1] = htonl(vnode->fid.vid); in afs_fs_get_volume_status()
1840 *bp++ = htonl(FSSETLOCK); in afs_fs_set_lock()
1841 *bp++ = htonl(vnode->fid.vid); in afs_fs_set_lock()
1842 *bp++ = htonl(vnode->fid.vnode); in afs_fs_set_lock()
1843 *bp++ = htonl(vnode->fid.unique); in afs_fs_set_lock()
1844 *bp++ = htonl(type); in afs_fs_set_lock()
1873 *bp++ = htonl(FSEXTENDLOCK); in afs_fs_extend_lock()
1874 *bp++ = htonl(vnode->fid.vid); in afs_fs_extend_lock()
1875 *bp++ = htonl(vnode->fid.vnode); in afs_fs_extend_lock()
1876 *bp++ = htonl(vnode->fid.unique); in afs_fs_extend_lock()
1905 *bp++ = htonl(FSRELEASELOCK); in afs_fs_release_lock()
1906 *bp++ = htonl(vnode->fid.vid); in afs_fs_release_lock()
1907 *bp++ = htonl(vnode->fid.vnode); in afs_fs_release_lock()
1908 *bp++ = htonl(vnode->fid.unique); in afs_fs_release_lock()