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()
321 call->tmp_u = htonl(0); in afs_deliver_fs_fetch_data()
447 bp[0] = htonl(FSFETCHDATA64); in afs_fs_fetch_data64()
448 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data64()
449 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_data64()
450 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_data64()
451 bp[4] = htonl(upper_32_bits(subreq->start + subreq->transferred)); in afs_fs_fetch_data64()
452 bp[5] = htonl(lower_32_bits(subreq->start + subreq->transferred)); in afs_fs_fetch_data64()
454 bp[7] = htonl(lower_32_bits(subreq->len - subreq->transferred)); in afs_fs_fetch_data64()
482 bp[0] = htonl(FSFETCHDATA); in afs_fs_fetch_data()
483 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_data()
484 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_data()
485 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_data()
486 bp[4] = htonl(lower_32_bits(subreq->start + subreq->transferred)); in afs_fs_fetch_data()
487 bp[5] = htonl(lower_32_bits(subreq->len + subreq->transferred)); in afs_fs_fetch_data()
555 *bp++ = htonl(FSCREATEFILE); in afs_fs_create_file()
556 *bp++ = htonl(dvp->fid.vid); in afs_fs_create_file()
557 *bp++ = htonl(dvp->fid.vnode); in afs_fs_create_file()
558 *bp++ = htonl(dvp->fid.unique); in afs_fs_create_file()
559 *bp++ = htonl(namesz); in afs_fs_create_file()
566 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME); in afs_fs_create_file()
567 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_create_file()
570 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_create_file()
609 *bp++ = htonl(FSMAKEDIR); in afs_fs_make_dir()
610 *bp++ = htonl(dvp->fid.vid); in afs_fs_make_dir()
611 *bp++ = htonl(dvp->fid.vnode); in afs_fs_make_dir()
612 *bp++ = htonl(dvp->fid.unique); in afs_fs_make_dir()
613 *bp++ = htonl(namesz); in afs_fs_make_dir()
620 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME); in afs_fs_make_dir()
621 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_make_dir()
624 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_make_dir()
689 *bp++ = htonl(FSREMOVEFILE); in afs_fs_remove_file()
690 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_file()
691 *bp++ = htonl(dvp->fid.vnode); in afs_fs_remove_file()
692 *bp++ = htonl(dvp->fid.unique); in afs_fs_remove_file()
693 *bp++ = htonl(namesz); in afs_fs_remove_file()
737 *bp++ = htonl(FSREMOVEDIR); in afs_fs_remove_dir()
738 *bp++ = htonl(dvp->fid.vid); in afs_fs_remove_dir()
739 *bp++ = htonl(dvp->fid.vnode); in afs_fs_remove_dir()
740 *bp++ = htonl(dvp->fid.unique); in afs_fs_remove_dir()
741 *bp++ = htonl(namesz); in afs_fs_remove_dir()
815 *bp++ = htonl(FSLINK); in afs_fs_link()
816 *bp++ = htonl(dvp->fid.vid); in afs_fs_link()
817 *bp++ = htonl(dvp->fid.vnode); in afs_fs_link()
818 *bp++ = htonl(dvp->fid.unique); in afs_fs_link()
819 *bp++ = htonl(namesz); in afs_fs_link()
826 *bp++ = htonl(vp->fid.vid); in afs_fs_link()
827 *bp++ = htonl(vp->fid.vnode); in afs_fs_link()
828 *bp++ = htonl(vp->fid.unique); in afs_fs_link()
901 *bp++ = htonl(FSSYMLINK); in afs_fs_symlink()
902 *bp++ = htonl(dvp->fid.vid); in afs_fs_symlink()
903 *bp++ = htonl(dvp->fid.vnode); in afs_fs_symlink()
904 *bp++ = htonl(dvp->fid.unique); in afs_fs_symlink()
905 *bp++ = htonl(namesz); in afs_fs_symlink()
912 *bp++ = htonl(c_namesz); in afs_fs_symlink()
919 *bp++ = htonl(AFS_SET_MODE | AFS_SET_MTIME); in afs_fs_symlink()
920 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_symlink()
923 *bp++ = htonl(S_IRWXUGO); /* unix mode */ in afs_fs_symlink()
1000 *bp++ = htonl(FSRENAME); in afs_fs_rename()
1001 *bp++ = htonl(orig_dvp->fid.vid); in afs_fs_rename()
1002 *bp++ = htonl(orig_dvp->fid.vnode); in afs_fs_rename()
1003 *bp++ = htonl(orig_dvp->fid.unique); in afs_fs_rename()
1004 *bp++ = htonl(o_namesz); in afs_fs_rename()
1012 *bp++ = htonl(new_dvp->fid.vid); in afs_fs_rename()
1013 *bp++ = htonl(new_dvp->fid.vnode); in afs_fs_rename()
1014 *bp++ = htonl(new_dvp->fid.unique); in afs_fs_rename()
1015 *bp++ = htonl(n_namesz); in afs_fs_rename()
1092 *bp++ = htonl(FSSTOREDATA64); in afs_fs_store_data64()
1093 *bp++ = htonl(vp->fid.vid); in afs_fs_store_data64()
1094 *bp++ = htonl(vp->fid.vnode); in afs_fs_store_data64()
1095 *bp++ = htonl(vp->fid.unique); in afs_fs_store_data64()
1097 *bp++ = htonl(AFS_SET_MTIME); /* mask */ in afs_fs_store_data64()
1098 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data64()
1104 *bp++ = htonl(upper_32_bits(op->store.pos)); in afs_fs_store_data64()
1105 *bp++ = htonl(lower_32_bits(op->store.pos)); in afs_fs_store_data64()
1106 *bp++ = htonl(upper_32_bits(op->store.size)); in afs_fs_store_data64()
1107 *bp++ = htonl(lower_32_bits(op->store.size)); in afs_fs_store_data64()
1108 *bp++ = htonl(upper_32_bits(op->store.i_size)); in afs_fs_store_data64()
1109 *bp++ = htonl(lower_32_bits(op->store.i_size)); in afs_fs_store_data64()
1146 *bp++ = htonl(FSSTOREDATA); in afs_fs_store_data()
1147 *bp++ = htonl(vp->fid.vid); in afs_fs_store_data()
1148 *bp++ = htonl(vp->fid.vnode); in afs_fs_store_data()
1149 *bp++ = htonl(vp->fid.unique); in afs_fs_store_data()
1151 *bp++ = htonl(AFS_SET_MTIME); /* mask */ in afs_fs_store_data()
1152 *bp++ = htonl(op->mtime.tv_sec); /* mtime */ in afs_fs_store_data()
1158 *bp++ = htonl(lower_32_bits(op->store.pos)); in afs_fs_store_data()
1159 *bp++ = htonl(lower_32_bits(op->store.size)); in afs_fs_store_data()
1160 *bp++ = htonl(lower_32_bits(op->store.i_size)); in afs_fs_store_data()
1215 *bp++ = htonl(FSSTOREDATA64); in afs_fs_setattr_size64()
1216 *bp++ = htonl(vp->fid.vid); in afs_fs_setattr_size64()
1217 *bp++ = htonl(vp->fid.vnode); in afs_fs_setattr_size64()
1218 *bp++ = htonl(vp->fid.unique); in afs_fs_setattr_size64()
1222 *bp++ = htonl(upper_32_bits(attr->ia_size)); /* position of start of write */ in afs_fs_setattr_size64()
1223 *bp++ = htonl(lower_32_bits(attr->ia_size)); in afs_fs_setattr_size64()
1226 *bp++ = htonl(upper_32_bits(attr->ia_size)); /* new file length */ in afs_fs_setattr_size64()
1227 *bp++ = htonl(lower_32_bits(attr->ia_size)); in afs_fs_setattr_size64()
1260 *bp++ = htonl(FSSTOREDATA); in afs_fs_setattr_size()
1261 *bp++ = htonl(vp->fid.vid); in afs_fs_setattr_size()
1262 *bp++ = htonl(vp->fid.vnode); in afs_fs_setattr_size()
1263 *bp++ = htonl(vp->fid.unique); in afs_fs_setattr_size()
1267 *bp++ = htonl(attr->ia_size); /* position of start of write */ in afs_fs_setattr_size()
1269 *bp++ = htonl(attr->ia_size); /* new file length */ in afs_fs_setattr_size()
1301 *bp++ = htonl(FSSTORESTATUS); in afs_fs_setattr()
1302 *bp++ = htonl(vp->fid.vid); in afs_fs_setattr()
1303 *bp++ = htonl(vp->fid.vnode); in afs_fs_setattr()
1304 *bp++ = htonl(vp->fid.unique); in afs_fs_setattr()
1469 bp[0] = htonl(FSGETVOLUMESTATUS); in afs_fs_get_volume_status()
1470 bp[1] = htonl(vp->fid.vid); in afs_fs_get_volume_status()
1549 *bp++ = htonl(FSSETLOCK); in afs_fs_set_lock()
1550 *bp++ = htonl(vp->fid.vid); in afs_fs_set_lock()
1551 *bp++ = htonl(vp->fid.vnode); in afs_fs_set_lock()
1552 *bp++ = htonl(vp->fid.unique); in afs_fs_set_lock()
1553 *bp++ = htonl(op->lock.type); in afs_fs_set_lock()
1577 *bp++ = htonl(FSEXTENDLOCK); in afs_fs_extend_lock()
1578 *bp++ = htonl(vp->fid.vid); in afs_fs_extend_lock()
1579 *bp++ = htonl(vp->fid.vnode); in afs_fs_extend_lock()
1580 *bp++ = htonl(vp->fid.unique); in afs_fs_extend_lock()
1604 *bp++ = htonl(FSRELEASELOCK); in afs_fs_release_lock()
1605 *bp++ = htonl(vp->fid.vid); in afs_fs_release_lock()
1606 *bp++ = htonl(vp->fid.vnode); in afs_fs_release_lock()
1607 *bp++ = htonl(vp->fid.unique); in afs_fs_release_lock()
1654 *bp++ = htonl(FSGIVEUPALLCALLBACKS); in afs_fs_give_up_all_callbacks()
1774 *bp++ = htonl(FSGETCAPABILITIES); in afs_fs_get_capabilities()
1965 *bp++ = htonl(FSINLINEBULKSTATUS); in afs_fs_inline_bulk_status()
1966 *bp++ = htonl(op->nr_files); in afs_fs_inline_bulk_status()
1967 *bp++ = htonl(dvp->fid.vid); in afs_fs_inline_bulk_status()
1968 *bp++ = htonl(dvp->fid.vnode); in afs_fs_inline_bulk_status()
1969 *bp++ = htonl(dvp->fid.unique); in afs_fs_inline_bulk_status()
1970 *bp++ = htonl(vp->fid.vid); in afs_fs_inline_bulk_status()
1971 *bp++ = htonl(vp->fid.vnode); in afs_fs_inline_bulk_status()
1972 *bp++ = htonl(vp->fid.unique); in afs_fs_inline_bulk_status()
1974 *bp++ = htonl(op->more_files[i].fid.vid); in afs_fs_inline_bulk_status()
1975 *bp++ = htonl(op->more_files[i].fid.vnode); in afs_fs_inline_bulk_status()
1976 *bp++ = htonl(op->more_files[i].fid.unique); in afs_fs_inline_bulk_status()
2080 bp[0] = htonl(FSFETCHACL); in afs_fs_fetch_acl()
2081 bp[1] = htonl(vp->fid.vid); in afs_fs_fetch_acl()
2082 bp[2] = htonl(vp->fid.vnode); in afs_fs_fetch_acl()
2083 bp[3] = htonl(vp->fid.unique); in afs_fs_fetch_acl()
2122 bp[0] = htonl(FSSTOREACL); in afs_fs_store_acl()
2123 bp[1] = htonl(vp->fid.vid); in afs_fs_store_acl()
2124 bp[2] = htonl(vp->fid.vnode); in afs_fs_store_acl()
2125 bp[3] = htonl(vp->fid.unique); in afs_fs_store_acl()
2126 bp[4] = htonl(acl->size); in afs_fs_store_acl()