Lines Matching refs:htonl

66 	if (xdr->if_version != htonl(AFS_FSTATUS_VERSION)) {  in xdr_decode_AFSFetchStatus()
67 if (xdr->if_version == htonl(0) && in xdr_decode_AFSFetchStatus()
201 *bp++ = htonl(mask); in xdr_encode_AFS_StoreStatus()
202 *bp++ = htonl(mtime); in xdr_encode_AFS_StoreStatus()
203 *bp++ = htonl(owner); in xdr_encode_AFS_StoreStatus()
204 *bp++ = htonl(group); in xdr_encode_AFS_StoreStatus()
205 *bp++ = htonl(mode); in xdr_encode_AFS_StoreStatus()
288 bp[0] = htonl(FSFETCHSTATUS); in afs_fs_fetch_status()
289 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_status()
290 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_status()
291 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_status()
319 call->tmp_u = htonl(0); in afs_deliver_fs_fetch_data()
436 bp[0] = htonl(FSFETCHDATA64); in afs_fs_fetch_data64()
437 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data64()
438 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_data64()
439 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_data64()
440 bp[4] = htonl(upper_32_bits(req->pos)); in afs_fs_fetch_data64()
441 bp[5] = htonl(lower_32_bits(req->pos)); in afs_fs_fetch_data64()
443 bp[7] = htonl(lower_32_bits(req->len)); in afs_fs_fetch_data64()
472 bp[0] = htonl(FSFETCHDATA); in afs_fs_fetch_data()
473 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data()
474 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_data()
475 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_data()
476 bp[4] = htonl(lower_32_bits(req->pos)); in afs_fs_fetch_data()
477 bp[5] = htonl(lower_32_bits(req->len)); in afs_fs_fetch_data()
544 *bp++ = htonl(FSCREATEFILE); in afs_fs_create_file()
545 *bp++ = htonl(dvp->fid.vid); in afs_fs_create_file()
546 *bp++ = htonl(dvp->fid.vnode); in afs_fs_create_file()
547 *bp++ = htonl(dvp->fid.unique); in afs_fs_create_file()
548 *bp++ = htonl(namesz); in afs_fs_create_file()
555 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME); in afs_fs_create_file()
556 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_create_file()
559 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_create_file()
597 *bp++ = htonl(FSMAKEDIR); in afs_fs_make_dir()
598 *bp++ = htonl(dvp->fid.vid); in afs_fs_make_dir()
599 *bp++ = htonl(dvp->fid.vnode); in afs_fs_make_dir()
600 *bp++ = htonl(dvp->fid.unique); in afs_fs_make_dir()
601 *bp++ = htonl(namesz); in afs_fs_make_dir()
608 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME); in afs_fs_make_dir()
609 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_make_dir()
612 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_make_dir()
676 *bp++ = htonl(FSREMOVEFILE); in afs_fs_remove_file()
677 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_file()
678 *bp++ = htonl(dvp->fid.vnode); in afs_fs_remove_file()
679 *bp++ = htonl(dvp->fid.unique); in afs_fs_remove_file()
680 *bp++ = htonl(namesz); in afs_fs_remove_file()
723 *bp++ = htonl(FSREMOVEDIR); in afs_fs_remove_dir()
724 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_dir()
725 *bp++ = htonl(dvp->fid.vnode); in afs_fs_remove_dir()
726 *bp++ = htonl(dvp->fid.unique); in afs_fs_remove_dir()
727 *bp++ = htonl(namesz); in afs_fs_remove_dir()
800 *bp++ = htonl(FSLINK); in afs_fs_link()
801 *bp++ = htonl(dvp->fid.vid); in afs_fs_link()
802 *bp++ = htonl(dvp->fid.vnode); in afs_fs_link()
803 *bp++ = htonl(dvp->fid.unique); in afs_fs_link()
804 *bp++ = htonl(namesz); in afs_fs_link()
811 *bp++ = htonl(vp->fid.vid); in afs_fs_link()
812 *bp++ = htonl(vp->fid.vnode); in afs_fs_link()
813 *bp++ = htonl(vp->fid.unique); in afs_fs_link()
885 *bp++ = htonl(FSSYMLINK); in afs_fs_symlink()
886 *bp++ = htonl(dvp->fid.vid); in afs_fs_symlink()
887 *bp++ = htonl(dvp->fid.vnode); in afs_fs_symlink()
888 *bp++ = htonl(dvp->fid.unique); in afs_fs_symlink()
889 *bp++ = htonl(namesz); in afs_fs_symlink()
896 *bp++ = htonl(c_namesz); in afs_fs_symlink()
903 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME); in afs_fs_symlink()
904 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_symlink()
907 *bp++ = htonl(S_IRWXUGO); /* unix mode */ in afs_fs_symlink()
983 *bp++ = htonl(FSRENAME); in afs_fs_rename()
984 *bp++ = htonl(orig_dvp->fid.vid); in afs_fs_rename()
985 *bp++ = htonl(orig_dvp->fid.vnode); in afs_fs_rename()
986 *bp++ = htonl(orig_dvp->fid.unique); in afs_fs_rename()
987 *bp++ = htonl(o_namesz); in afs_fs_rename()
995 *bp++ = htonl(new_dvp->fid.vid); in afs_fs_rename()
996 *bp++ = htonl(new_dvp->fid.vnode); in afs_fs_rename()
997 *bp++ = htonl(new_dvp->fid.unique); in afs_fs_rename()
998 *bp++ = htonl(n_namesz); in afs_fs_rename()
1074 *bp++ = htonl(FSSTOREDATA64); in afs_fs_store_data64()
1075 *bp++ = htonl(vp->fid.vid); in afs_fs_store_data64()
1076 *bp++ = htonl(vp->fid.vnode); in afs_fs_store_data64()
1077 *bp++ = htonl(vp->fid.unique); in afs_fs_store_data64()
1079 *bp++ = htonl(AFS_SET_MTIME); /* mask */ in afs_fs_store_data64()
1080 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data64()
1086 *bp++ = htonl(upper_32_bits(op->store.pos)); in afs_fs_store_data64()
1087 *bp++ = htonl(lower_32_bits(op->store.pos)); in afs_fs_store_data64()
1088 *bp++ = htonl(upper_32_bits(op->store.size)); in afs_fs_store_data64()
1089 *bp++ = htonl(lower_32_bits(op->store.size)); in afs_fs_store_data64()
1090 *bp++ = htonl(upper_32_bits(op->store.i_size)); in afs_fs_store_data64()
1091 *bp++ = htonl(lower_32_bits(op->store.i_size)); in afs_fs_store_data64()
1127 *bp++ = htonl(FSSTOREDATA); in afs_fs_store_data()
1128 *bp++ = htonl(vp->fid.vid); in afs_fs_store_data()
1129 *bp++ = htonl(vp->fid.vnode); in afs_fs_store_data()
1130 *bp++ = htonl(vp->fid.unique); in afs_fs_store_data()
1132 *bp++ = htonl(AFS_SET_MTIME); /* mask */ in afs_fs_store_data()
1133 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data()
1139 *bp++ = htonl(lower_32_bits(op->store.pos)); in afs_fs_store_data()
1140 *bp++ = htonl(lower_32_bits(op->store.size)); in afs_fs_store_data()
1141 *bp++ = htonl(lower_32_bits(op->store.i_size)); in afs_fs_store_data()
1195 *bp++ = htonl(FSSTOREDATA64); in afs_fs_setattr_size64()
1196 *bp++ = htonl(vp->fid.vid); in afs_fs_setattr_size64()
1197 *bp++ = htonl(vp->fid.vnode); in afs_fs_setattr_size64()
1198 *bp++ = htonl(vp->fid.unique); in afs_fs_setattr_size64()
1202 *bp++ = htonl(upper_32_bits(attr->ia_size)); /* position of start of write */ in afs_fs_setattr_size64()
1203 *bp++ = htonl(lower_32_bits(attr->ia_size)); in afs_fs_setattr_size64()
1206 *bp++ = htonl(upper_32_bits(attr->ia_size)); /* new file length */ in afs_fs_setattr_size64()
1207 *bp++ = htonl(lower_32_bits(attr->ia_size)); in afs_fs_setattr_size64()
1239 *bp++ = htonl(FSSTOREDATA); in afs_fs_setattr_size()
1240 *bp++ = htonl(vp->fid.vid); in afs_fs_setattr_size()
1241 *bp++ = htonl(vp->fid.vnode); in afs_fs_setattr_size()
1242 *bp++ = htonl(vp->fid.unique); in afs_fs_setattr_size()
1246 *bp++ = htonl(attr->ia_size); /* position of start of write */ in afs_fs_setattr_size()
1248 *bp++ = htonl(attr->ia_size); /* new file length */ in afs_fs_setattr_size()
1279 *bp++ = htonl(FSSTORESTATUS); in afs_fs_setattr()
1280 *bp++ = htonl(vp->fid.vid); in afs_fs_setattr()
1281 *bp++ = htonl(vp->fid.vnode); in afs_fs_setattr()
1282 *bp++ = htonl(vp->fid.unique); in afs_fs_setattr()
1446 bp[0] = htonl(FSGETVOLUMESTATUS); in afs_fs_get_volume_status()
1447 bp[1] = htonl(vp->fid.vid); in afs_fs_get_volume_status()
1525 *bp++ = htonl(FSSETLOCK); in afs_fs_set_lock()
1526 *bp++ = htonl(vp->fid.vid); in afs_fs_set_lock()
1527 *bp++ = htonl(vp->fid.vnode); in afs_fs_set_lock()
1528 *bp++ = htonl(vp->fid.unique); in afs_fs_set_lock()
1529 *bp++ = htonl(op->lock.type); in afs_fs_set_lock()
1552 *bp++ = htonl(FSEXTENDLOCK); in afs_fs_extend_lock()
1553 *bp++ = htonl(vp->fid.vid); in afs_fs_extend_lock()
1554 *bp++ = htonl(vp->fid.vnode); in afs_fs_extend_lock()
1555 *bp++ = htonl(vp->fid.unique); in afs_fs_extend_lock()
1578 *bp++ = htonl(FSRELEASELOCK); in afs_fs_release_lock()
1579 *bp++ = htonl(vp->fid.vid); in afs_fs_release_lock()
1580 *bp++ = htonl(vp->fid.vnode); in afs_fs_release_lock()
1581 *bp++ = htonl(vp->fid.unique); in afs_fs_release_lock()
1626 *bp++ = htonl(FSGIVEUPALLCALLBACKS); in afs_fs_give_up_all_callbacks()
1729 *bp++ = htonl(FSGETCAPABILITIES); in afs_fs_get_capabilities()
1917 *bp++ = htonl(FSINLINEBULKSTATUS); in afs_fs_inline_bulk_status()
1918 *bp++ = htonl(op->nr_files); in afs_fs_inline_bulk_status()
1919 *bp++ = htonl(dvp->fid.vid); in afs_fs_inline_bulk_status()
1920 *bp++ = htonl(dvp->fid.vnode); in afs_fs_inline_bulk_status()
1921 *bp++ = htonl(dvp->fid.unique); in afs_fs_inline_bulk_status()
1922 *bp++ = htonl(vp->fid.vid); in afs_fs_inline_bulk_status()
1923 *bp++ = htonl(vp->fid.vnode); in afs_fs_inline_bulk_status()
1924 *bp++ = htonl(vp->fid.unique); in afs_fs_inline_bulk_status()
1926 *bp++ = htonl(op->more_files[i].fid.vid); in afs_fs_inline_bulk_status()
1927 *bp++ = htonl(op->more_files[i].fid.vnode); in afs_fs_inline_bulk_status()
1928 *bp++ = htonl(op->more_files[i].fid.unique); in afs_fs_inline_bulk_status()
2031 bp[0] = htonl(FSFETCHACL); in afs_fs_fetch_acl()
2032 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_acl()
2033 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_acl()
2034 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_acl()
2072 bp[0] = htonl(FSSTOREACL); in afs_fs_store_acl()
2073 bp[1] = htonl(vp->fid.vid); in afs_fs_store_acl()
2074 bp[2] = htonl(vp->fid.vnode); in afs_fs_store_acl()
2075 bp[3] = htonl(vp->fid.unique); in afs_fs_store_acl()
2076 bp[4] = htonl(acl->size); in afs_fs_store_acl()