Lines Matching full:bp

23 	const __be32 *bp = *_bp;  in xdr_decode_AFSFid()  local
25 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid()
26 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid()
27 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid()
28 *_bp = bp; in xdr_decode_AFSFid()
34 static void xdr_dump_bad(const __be32 *bp) in xdr_dump_bad() argument
41 memcpy(x, bp, 16); in xdr_dump_bad()
42 bp += 4; in xdr_dump_bad()
47 memcpy(x, bp, 4); in xdr_dump_bad()
142 const __be32 *bp = *_bp; in xdr_decode_AFSCallBack() local
144 bp++; /* version */ in xdr_decode_AFSCallBack()
145 cb->expires_at = xdr_decode_expiry(call, ntohl(*bp++)); in xdr_decode_AFSCallBack()
146 bp++; /* type */ in xdr_decode_AFSCallBack()
148 *_bp = bp; in xdr_decode_AFSCallBack()
157 const __be32 *bp = *_bp; in xdr_decode_AFSVolSync() local
160 creation = ntohl(*bp++); in xdr_decode_AFSVolSync()
161 bp++; /* spare2 */ in xdr_decode_AFSVolSync()
162 bp++; /* spare3 */ in xdr_decode_AFSVolSync()
163 bp++; /* spare4 */ in xdr_decode_AFSVolSync()
164 bp++; /* spare5 */ in xdr_decode_AFSVolSync()
165 bp++; /* spare6 */ in xdr_decode_AFSVolSync()
166 *_bp = bp; in xdr_decode_AFSVolSync()
177 __be32 *bp = *_bp; in xdr_encode_AFS_StoreStatus() local
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()
206 *bp++ = 0; /* segment size */ in xdr_encode_AFS_StoreStatus()
207 *_bp = bp; in xdr_encode_AFS_StoreStatus()
216 const __be32 *bp = *_bp; in xdr_decode_AFSFetchVolumeStatus() local
218 vs->vid = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
219 vs->parent_id = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
220 vs->online = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
221 vs->in_service = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
222 vs->blessed = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
223 vs->needs_salvage = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
224 vs->type = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
225 vs->min_quota = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
226 vs->max_quota = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
227 vs->blocks_in_use = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
228 vs->part_blocks_avail = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
229 vs->part_max_blocks = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
232 *_bp = bp; in xdr_decode_AFSFetchVolumeStatus()
242 const __be32 *bp; in afs_deliver_fs_fetch_status() local
250 bp = call->buffer; in afs_deliver_fs_fetch_status()
251 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_fetch_status()
252 xdr_decode_AFSCallBack(&bp, call, &vp->scb); in afs_deliver_fs_fetch_status()
253 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_fetch_status()
276 __be32 *bp; in afs_fs_fetch_status() local
287 bp = call->request; in afs_fs_fetch_status()
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()
306 const __be32 *bp; in afs_deliver_fs_fetch_data() local
386 bp = call->buffer; in afs_deliver_fs_fetch_data()
387 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_fetch_data()
388 xdr_decode_AFSCallBack(&bp, call, &vp->scb); in afs_deliver_fs_fetch_data()
389 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_fetch_data()
434 __be32 *bp; in afs_fs_fetch_data64() local
446 bp = call->request; in afs_fs_fetch_data64()
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()
453 bp[6] = 0; in afs_fs_fetch_data64()
454 bp[7] = htonl(lower_32_bits(subreq->len - subreq->transferred)); in afs_fs_fetch_data64()
469 __be32 *bp; in afs_fs_fetch_data() local
481 bp = call->request; in afs_fs_fetch_data()
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()
502 const __be32 *bp; in afs_deliver_fs_create_vnode() local
510 bp = call->buffer; in afs_deliver_fs_create_vnode()
511 xdr_decode_AFSFid(&bp, &op->file[1].fid); in afs_deliver_fs_create_vnode()
512 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_create_vnode()
513 xdr_decode_AFSFetchStatus(&bp, call, &dvp->scb); in afs_deliver_fs_create_vnode()
514 xdr_decode_AFSCallBack(&bp, call, &vp->scb); in afs_deliver_fs_create_vnode()
515 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_create_vnode()
540 __be32 *bp; in afs_fs_create_file() local
554 bp = call->request; in afs_fs_create_file()
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()
560 memcpy(bp, name->name, namesz); in afs_fs_create_file()
561 bp = (void *) bp + namesz; in afs_fs_create_file()
563 memset(bp, 0, padsz); in afs_fs_create_file()
564 bp = (void *) bp + padsz; 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()
568 *bp++ = 0; /* owner */ in afs_fs_create_file()
569 *bp++ = 0; /* group */ in afs_fs_create_file()
570 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_create_file()
571 *bp++ = 0; /* segment size */ in afs_fs_create_file()
594 __be32 *bp; in afs_fs_make_dir() local
608 bp = call->request; in afs_fs_make_dir()
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()
614 memcpy(bp, name->name, namesz); in afs_fs_make_dir()
615 bp = (void *) bp + namesz; in afs_fs_make_dir()
617 memset(bp, 0, padsz); in afs_fs_make_dir()
618 bp = (void *) bp + padsz; 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()
622 *bp++ = 0; /* owner */ in afs_fs_make_dir()
623 *bp++ = 0; /* group */ in afs_fs_make_dir()
624 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_make_dir()
625 *bp++ = 0; /* segment size */ in afs_fs_make_dir()
639 const __be32 *bp; in afs_deliver_fs_file_status_and_vol() local
647 bp = call->buffer; in afs_deliver_fs_file_status_and_vol()
648 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_file_status_and_vol()
649 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_file_status_and_vol()
674 __be32 *bp; in afs_fs_remove_file() local
688 bp = call->request; in afs_fs_remove_file()
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()
694 memcpy(bp, name->name, namesz); in afs_fs_remove_file()
695 bp = (void *) bp + namesz; in afs_fs_remove_file()
697 memset(bp, 0, padsz); in afs_fs_remove_file()
698 bp = (void *) bp + padsz; in afs_fs_remove_file()
722 __be32 *bp; in afs_fs_remove_dir() local
736 bp = call->request; in afs_fs_remove_dir()
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()
742 memcpy(bp, name->name, namesz); in afs_fs_remove_dir()
743 bp = (void *) bp + namesz; in afs_fs_remove_dir()
745 memset(bp, 0, padsz); in afs_fs_remove_dir()
746 bp = (void *) bp + padsz; in afs_fs_remove_dir()
762 const __be32 *bp; in afs_deliver_fs_link() local
772 bp = call->buffer; in afs_deliver_fs_link()
773 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_link()
774 xdr_decode_AFSFetchStatus(&bp, call, &dvp->scb); in afs_deliver_fs_link()
775 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_link()
801 __be32 *bp; in afs_fs_link() local
814 bp = call->request; in afs_fs_link()
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()
820 memcpy(bp, name->name, namesz); in afs_fs_link()
821 bp = (void *) bp + namesz; in afs_fs_link()
823 memset(bp, 0, padsz); in afs_fs_link()
824 bp = (void *) bp + padsz; 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()
843 const __be32 *bp; in afs_deliver_fs_symlink() local
853 bp = call->buffer; in afs_deliver_fs_symlink()
854 xdr_decode_AFSFid(&bp, &vp->fid); in afs_deliver_fs_symlink()
855 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_symlink()
856 xdr_decode_AFSFetchStatus(&bp, call, &dvp->scb); in afs_deliver_fs_symlink()
857 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_symlink()
882 __be32 *bp; in afs_fs_symlink() local
900 bp = call->request; in afs_fs_symlink()
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()
906 memcpy(bp, name->name, namesz); in afs_fs_symlink()
907 bp = (void *) bp + namesz; in afs_fs_symlink()
909 memset(bp, 0, padsz); in afs_fs_symlink()
910 bp = (void *) bp + padsz; in afs_fs_symlink()
912 *bp++ = htonl(c_namesz); in afs_fs_symlink()
913 memcpy(bp, op->create.symlink, c_namesz); in afs_fs_symlink()
914 bp = (void *) bp + c_namesz; in afs_fs_symlink()
916 memset(bp, 0, c_padsz); in afs_fs_symlink()
917 bp = (void *) bp + c_padsz; 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()
921 *bp++ = 0; /* owner */ in afs_fs_symlink()
922 *bp++ = 0; /* group */ in afs_fs_symlink()
923 *bp++ = htonl(S_IRWXUGO); /* unix mode */ in afs_fs_symlink()
924 *bp++ = 0; /* segment size */ in afs_fs_symlink()
939 const __be32 *bp; in afs_deliver_fs_rename() local
946 bp = call->buffer; in afs_deliver_fs_rename()
950 xdr_decode_AFSFetchStatus(&bp, call, &orig_dvp->scb); in afs_deliver_fs_rename()
951 xdr_decode_AFSFetchStatus(&bp, call, &new_dvp->scb); in afs_deliver_fs_rename()
952 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_rename()
979 __be32 *bp; in afs_fs_rename() local
999 bp = call->request; in afs_fs_rename()
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()
1005 memcpy(bp, orig_name->name, o_namesz); in afs_fs_rename()
1006 bp = (void *) bp + o_namesz; in afs_fs_rename()
1008 memset(bp, 0, o_padsz); in afs_fs_rename()
1009 bp = (void *) bp + o_padsz; 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()
1016 memcpy(bp, new_name->name, n_namesz); in afs_fs_rename()
1017 bp = (void *) bp + n_namesz; in afs_fs_rename()
1019 memset(bp, 0, n_padsz); in afs_fs_rename()
1020 bp = (void *) bp + n_padsz; in afs_fs_rename()
1035 const __be32 *bp; in afs_deliver_fs_store_data() local
1045 bp = call->buffer; in afs_deliver_fs_store_data()
1046 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_store_data()
1047 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_store_data()
1077 __be32 *bp; in afs_fs_store_data64() local
1091 bp = call->request; in afs_fs_store_data64()
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()
1099 *bp++ = 0; /* owner */ in afs_fs_store_data64()
1100 *bp++ = 0; /* group */ in afs_fs_store_data64()
1101 *bp++ = 0; /* unix mode */ in afs_fs_store_data64()
1102 *bp++ = 0; /* segment size */ 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()
1123 __be32 *bp; in afs_fs_store_data() local
1145 bp = call->request; in afs_fs_store_data()
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()
1153 *bp++ = 0; /* owner */ in afs_fs_store_data()
1154 *bp++ = 0; /* group */ in afs_fs_store_data()
1155 *bp++ = 0; /* unix mode */ in afs_fs_store_data()
1156 *bp++ = 0; /* segment size */ 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()
1200 __be32 *bp; in afs_fs_setattr_size64() local
1214 bp = call->request; in afs_fs_setattr_size64()
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()
1220 xdr_encode_AFS_StoreStatus(&bp, attr); 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()
1224 *bp++ = 0; /* size of write */ in afs_fs_setattr_size64()
1225 *bp++ = 0; 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()
1243 __be32 *bp; in afs_fs_setattr_size() local
1259 bp = call->request; in afs_fs_setattr_size()
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()
1265 xdr_encode_AFS_StoreStatus(&bp, attr); in afs_fs_setattr_size()
1267 *bp++ = htonl(attr->ia_size); /* position of start of write */ in afs_fs_setattr_size()
1268 *bp++ = 0; /* size of write */ in afs_fs_setattr_size()
1269 *bp++ = htonl(attr->ia_size); /* new file length */ in afs_fs_setattr_size()
1285 __be32 *bp; in afs_fs_setattr() local
1300 bp = call->request; in afs_fs_setattr()
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()
1306 xdr_encode_AFS_StoreStatus(&bp, op->setattr.attr); in afs_fs_setattr()
1319 const __be32 *bp; in afs_deliver_fs_get_volume_status() local
1339 bp = call->buffer; in afs_deliver_fs_get_volume_status()
1340 xdr_decode_AFSFetchVolumeStatus(&bp, &op->volstatus.vs); in afs_deliver_fs_get_volume_status()
1458 __be32 *bp; in afs_fs_get_volume_status() local
1468 bp = call->request; in afs_fs_get_volume_status()
1469 bp[0] = htonl(FSGETVOLUMESTATUS); in afs_fs_get_volume_status()
1470 bp[1] = htonl(vp->fid.vid); in afs_fs_get_volume_status()
1483 const __be32 *bp; in afs_deliver_fs_xxxx_lock() local
1493 bp = call->buffer; in afs_deliver_fs_xxxx_lock()
1494 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_xxxx_lock()
1539 __be32 *bp; in afs_fs_set_lock() local
1548 bp = call->request; in afs_fs_set_lock()
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()
1567 __be32 *bp; in afs_fs_extend_lock() local
1576 bp = call->request; in afs_fs_extend_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()
1594 __be32 *bp; in afs_fs_release_lock() local
1603 bp = call->request; in afs_fs_release_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()
1639 __be32 *bp; in afs_fs_give_up_all_callbacks() local
1653 bp = call->request; in afs_fs_give_up_all_callbacks()
1654 *bp++ = htonl(FSGIVEUPALLCALLBACKS); in afs_fs_give_up_all_callbacks()
1754 __be32 *bp; in afs_fs_get_capabilities() local
1773 bp = call->request; in afs_fs_get_capabilities()
1774 *bp++ = htonl(FSGETCAPABILITIES); in afs_fs_get_capabilities()
1789 const __be32 *bp; in afs_deliver_fs_inline_bulk_status() local
1837 bp = call->buffer; in afs_deliver_fs_inline_bulk_status()
1838 xdr_decode_AFSFetchStatus(&bp, call, scb); in afs_deliver_fs_inline_bulk_status()
1885 bp = call->buffer; in afs_deliver_fs_inline_bulk_status()
1886 xdr_decode_AFSCallBack(&bp, call, scb); in afs_deliver_fs_inline_bulk_status()
1900 bp = call->buffer; in afs_deliver_fs_inline_bulk_status()
1904 xdr_decode_AFSVolSync(&bp, NULL); in afs_deliver_fs_inline_bulk_status()
1946 __be32 *bp; in afs_fs_inline_bulk_status() local
1964 bp = call->request; in afs_fs_inline_bulk_status()
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()
1992 const __be32 *bp; in afs_deliver_fs_fetch_acl() local
2038 bp = call->buffer; in afs_deliver_fs_fetch_acl()
2039 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_fetch_acl()
2040 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_fetch_acl()
2069 __be32 *bp; in afs_fs_fetch_acl() local
2079 bp = call->request; in afs_fs_fetch_acl()
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()
2109 __be32 *bp; in afs_fs_store_acl() local
2121 bp = call->request; in afs_fs_store_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()
2127 memcpy(&bp[5], acl->data, acl->size); in afs_fs_store_acl()
2129 memset((void *)&bp[5] + acl->size, 0, size - acl->size); in afs_fs_store_acl()