Lines Matching refs:htonl

65 	if (xdr->if_version != htonl(AFS_FSTATUS_VERSION)) {  in xdr_decode_AFSFetchStatus()
66 if (xdr->if_version == htonl(0) && in xdr_decode_AFSFetchStatus()
200 *bp++ = htonl(mask); in xdr_encode_AFS_StoreStatus()
201 *bp++ = htonl(mtime); in xdr_encode_AFS_StoreStatus()
202 *bp++ = htonl(owner); in xdr_encode_AFS_StoreStatus()
203 *bp++ = htonl(group); in xdr_encode_AFS_StoreStatus()
204 *bp++ = htonl(mode); in xdr_encode_AFS_StoreStatus()
287 bp[0] = htonl(FSFETCHSTATUS); in afs_fs_fetch_status()
288 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_status()
289 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_status()
290 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_status()
320 call->tmp_u = htonl(0); in afs_deliver_fs_fetch_data()
463 bp[0] = htonl(FSFETCHDATA64); in afs_fs_fetch_data64()
464 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data64()
465 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_data64()
466 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_data64()
467 bp[4] = htonl(upper_32_bits(req->pos)); in afs_fs_fetch_data64()
468 bp[5] = htonl(lower_32_bits(req->pos)); in afs_fs_fetch_data64()
470 bp[7] = htonl(lower_32_bits(req->len)); in afs_fs_fetch_data64()
499 bp[0] = htonl(FSFETCHDATA); in afs_fs_fetch_data()
500 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data()
501 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_data()
502 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_data()
503 bp[4] = htonl(lower_32_bits(req->pos)); in afs_fs_fetch_data()
504 bp[5] = htonl(lower_32_bits(req->len)); in afs_fs_fetch_data()
571 *bp++ = htonl(FSCREATEFILE); in afs_fs_create_file()
572 *bp++ = htonl(dvp->fid.vid); in afs_fs_create_file()
573 *bp++ = htonl(dvp->fid.vnode); in afs_fs_create_file()
574 *bp++ = htonl(dvp->fid.unique); in afs_fs_create_file()
575 *bp++ = htonl(namesz); in afs_fs_create_file()
582 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME); in afs_fs_create_file()
583 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_create_file()
586 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_create_file()
624 *bp++ = htonl(FSMAKEDIR); in afs_fs_make_dir()
625 *bp++ = htonl(dvp->fid.vid); in afs_fs_make_dir()
626 *bp++ = htonl(dvp->fid.vnode); in afs_fs_make_dir()
627 *bp++ = htonl(dvp->fid.unique); in afs_fs_make_dir()
628 *bp++ = htonl(namesz); in afs_fs_make_dir()
635 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME); in afs_fs_make_dir()
636 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_make_dir()
639 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_make_dir()
703 *bp++ = htonl(FSREMOVEFILE); in afs_fs_remove_file()
704 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_file()
705 *bp++ = htonl(dvp->fid.vnode); in afs_fs_remove_file()
706 *bp++ = htonl(dvp->fid.unique); in afs_fs_remove_file()
707 *bp++ = htonl(namesz); in afs_fs_remove_file()
750 *bp++ = htonl(FSREMOVEDIR); in afs_fs_remove_dir()
751 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_dir()
752 *bp++ = htonl(dvp->fid.vnode); in afs_fs_remove_dir()
753 *bp++ = htonl(dvp->fid.unique); in afs_fs_remove_dir()
754 *bp++ = htonl(namesz); in afs_fs_remove_dir()
827 *bp++ = htonl(FSLINK); in afs_fs_link()
828 *bp++ = htonl(dvp->fid.vid); in afs_fs_link()
829 *bp++ = htonl(dvp->fid.vnode); in afs_fs_link()
830 *bp++ = htonl(dvp->fid.unique); in afs_fs_link()
831 *bp++ = htonl(namesz); in afs_fs_link()
838 *bp++ = htonl(vp->fid.vid); in afs_fs_link()
839 *bp++ = htonl(vp->fid.vnode); in afs_fs_link()
840 *bp++ = htonl(vp->fid.unique); in afs_fs_link()
912 *bp++ = htonl(FSSYMLINK); in afs_fs_symlink()
913 *bp++ = htonl(dvp->fid.vid); in afs_fs_symlink()
914 *bp++ = htonl(dvp->fid.vnode); in afs_fs_symlink()
915 *bp++ = htonl(dvp->fid.unique); in afs_fs_symlink()
916 *bp++ = htonl(namesz); in afs_fs_symlink()
923 *bp++ = htonl(c_namesz); in afs_fs_symlink()
930 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME); in afs_fs_symlink()
931 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_symlink()
934 *bp++ = htonl(S_IRWXUGO); /* unix mode */ in afs_fs_symlink()
1010 *bp++ = htonl(FSRENAME); in afs_fs_rename()
1011 *bp++ = htonl(orig_dvp->fid.vid); in afs_fs_rename()
1012 *bp++ = htonl(orig_dvp->fid.vnode); in afs_fs_rename()
1013 *bp++ = htonl(orig_dvp->fid.unique); in afs_fs_rename()
1014 *bp++ = htonl(o_namesz); in afs_fs_rename()
1022 *bp++ = htonl(new_dvp->fid.vid); in afs_fs_rename()
1023 *bp++ = htonl(new_dvp->fid.vnode); in afs_fs_rename()
1024 *bp++ = htonl(new_dvp->fid.unique); in afs_fs_rename()
1025 *bp++ = htonl(n_namesz); in afs_fs_rename()
1102 *bp++ = htonl(FSSTOREDATA64); in afs_fs_store_data64()
1103 *bp++ = htonl(vp->fid.vid); in afs_fs_store_data64()
1104 *bp++ = htonl(vp->fid.vnode); in afs_fs_store_data64()
1105 *bp++ = htonl(vp->fid.unique); in afs_fs_store_data64()
1107 *bp++ = htonl(AFS_SET_MTIME); /* mask */ in afs_fs_store_data64()
1108 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data64()
1114 *bp++ = htonl(upper_32_bits(pos)); in afs_fs_store_data64()
1115 *bp++ = htonl(lower_32_bits(pos)); in afs_fs_store_data64()
1116 *bp++ = htonl(upper_32_bits(size)); in afs_fs_store_data64()
1117 *bp++ = htonl(lower_32_bits(size)); in afs_fs_store_data64()
1118 *bp++ = htonl(upper_32_bits(i_size)); in afs_fs_store_data64()
1119 *bp++ = htonl(lower_32_bits(i_size)); in afs_fs_store_data64()
1166 *bp++ = htonl(FSSTOREDATA); in afs_fs_store_data()
1167 *bp++ = htonl(vp->fid.vid); in afs_fs_store_data()
1168 *bp++ = htonl(vp->fid.vnode); in afs_fs_store_data()
1169 *bp++ = htonl(vp->fid.unique); in afs_fs_store_data()
1171 *bp++ = htonl(AFS_SET_MTIME); /* mask */ in afs_fs_store_data()
1172 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data()
1178 *bp++ = htonl(lower_32_bits(pos)); in afs_fs_store_data()
1179 *bp++ = htonl(lower_32_bits(size)); in afs_fs_store_data()
1180 *bp++ = htonl(lower_32_bits(i_size)); in afs_fs_store_data()
1234 *bp++ = htonl(FSSTOREDATA64); in afs_fs_setattr_size64()
1235 *bp++ = htonl(vp->fid.vid); in afs_fs_setattr_size64()
1236 *bp++ = htonl(vp->fid.vnode); in afs_fs_setattr_size64()
1237 *bp++ = htonl(vp->fid.unique); in afs_fs_setattr_size64()
1241 *bp++ = htonl(upper_32_bits(attr->ia_size)); /* position of start of write */ in afs_fs_setattr_size64()
1242 *bp++ = htonl(lower_32_bits(attr->ia_size)); in afs_fs_setattr_size64()
1245 *bp++ = htonl(upper_32_bits(attr->ia_size)); /* new file length */ in afs_fs_setattr_size64()
1246 *bp++ = htonl(lower_32_bits(attr->ia_size)); in afs_fs_setattr_size64()
1278 *bp++ = htonl(FSSTOREDATA); in afs_fs_setattr_size()
1279 *bp++ = htonl(vp->fid.vid); in afs_fs_setattr_size()
1280 *bp++ = htonl(vp->fid.vnode); in afs_fs_setattr_size()
1281 *bp++ = htonl(vp->fid.unique); in afs_fs_setattr_size()
1285 *bp++ = htonl(attr->ia_size); /* position of start of write */ in afs_fs_setattr_size()
1287 *bp++ = htonl(attr->ia_size); /* new file length */ in afs_fs_setattr_size()
1318 *bp++ = htonl(FSSTORESTATUS); in afs_fs_setattr()
1319 *bp++ = htonl(vp->fid.vid); in afs_fs_setattr()
1320 *bp++ = htonl(vp->fid.vnode); in afs_fs_setattr()
1321 *bp++ = htonl(vp->fid.unique); in afs_fs_setattr()
1484 bp[0] = htonl(FSGETVOLUMESTATUS); in afs_fs_get_volume_status()
1485 bp[1] = htonl(vp->fid.vid); in afs_fs_get_volume_status()
1563 *bp++ = htonl(FSSETLOCK); in afs_fs_set_lock()
1564 *bp++ = htonl(vp->fid.vid); in afs_fs_set_lock()
1565 *bp++ = htonl(vp->fid.vnode); in afs_fs_set_lock()
1566 *bp++ = htonl(vp->fid.unique); in afs_fs_set_lock()
1567 *bp++ = htonl(op->lock.type); in afs_fs_set_lock()
1590 *bp++ = htonl(FSEXTENDLOCK); in afs_fs_extend_lock()
1591 *bp++ = htonl(vp->fid.vid); in afs_fs_extend_lock()
1592 *bp++ = htonl(vp->fid.vnode); in afs_fs_extend_lock()
1593 *bp++ = htonl(vp->fid.unique); in afs_fs_extend_lock()
1616 *bp++ = htonl(FSRELEASELOCK); in afs_fs_release_lock()
1617 *bp++ = htonl(vp->fid.vid); in afs_fs_release_lock()
1618 *bp++ = htonl(vp->fid.vnode); in afs_fs_release_lock()
1619 *bp++ = htonl(vp->fid.unique); in afs_fs_release_lock()
1664 *bp++ = htonl(FSGIVEUPALLCALLBACKS); in afs_fs_give_up_all_callbacks()
1754 *bp++ = htonl(FSGETCAPABILITIES); in afs_fs_get_capabilities()
1941 *bp++ = htonl(FSINLINEBULKSTATUS); in afs_fs_inline_bulk_status()
1942 *bp++ = htonl(op->nr_files); in afs_fs_inline_bulk_status()
1943 *bp++ = htonl(dvp->fid.vid); in afs_fs_inline_bulk_status()
1944 *bp++ = htonl(dvp->fid.vnode); in afs_fs_inline_bulk_status()
1945 *bp++ = htonl(dvp->fid.unique); in afs_fs_inline_bulk_status()
1946 *bp++ = htonl(vp->fid.vid); in afs_fs_inline_bulk_status()
1947 *bp++ = htonl(vp->fid.vnode); in afs_fs_inline_bulk_status()
1948 *bp++ = htonl(vp->fid.unique); in afs_fs_inline_bulk_status()
1950 *bp++ = htonl(op->more_files[i].fid.vid); in afs_fs_inline_bulk_status()
1951 *bp++ = htonl(op->more_files[i].fid.vnode); in afs_fs_inline_bulk_status()
1952 *bp++ = htonl(op->more_files[i].fid.unique); in afs_fs_inline_bulk_status()
2054 bp[0] = htonl(FSFETCHACL); in afs_fs_fetch_acl()
2055 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_acl()
2056 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_acl()
2057 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_acl()
2095 bp[0] = htonl(FSSTOREACL); in afs_fs_store_acl()
2096 bp[1] = htonl(vp->fid.vid); in afs_fs_store_acl()
2097 bp[2] = htonl(vp->fid.vnode); in afs_fs_store_acl()
2098 bp[3] = htonl(vp->fid.unique); in afs_fs_store_acl()
2099 bp[4] = htonl(acl->size); in afs_fs_store_acl()