• Home
  • Raw
  • Download

Lines Matching refs:bp

22 	const __be32 *bp = *_bp;  in xdr_decode_AFSFid()  local
24 fid->vid = ntohl(*bp++); in xdr_decode_AFSFid()
25 fid->vnode = ntohl(*bp++); in xdr_decode_AFSFid()
26 fid->unique = ntohl(*bp++); in xdr_decode_AFSFid()
27 *_bp = bp; in xdr_decode_AFSFid()
33 static void xdr_dump_bad(const __be32 *bp) in xdr_dump_bad() argument
40 memcpy(x, bp, 16); in xdr_dump_bad()
41 bp += 4; in xdr_dump_bad()
46 memcpy(x, bp, 4); in xdr_dump_bad()
141 const __be32 *bp = *_bp; in xdr_decode_AFSCallBack() local
143 bp++; /* version */ in xdr_decode_AFSCallBack()
144 cb->expires_at = xdr_decode_expiry(call, ntohl(*bp++)); in xdr_decode_AFSCallBack()
145 bp++; /* type */ in xdr_decode_AFSCallBack()
147 *_bp = bp; in xdr_decode_AFSCallBack()
156 const __be32 *bp = *_bp; in xdr_decode_AFSVolSync() local
159 creation = ntohl(*bp++); in xdr_decode_AFSVolSync()
160 bp++; /* spare2 */ in xdr_decode_AFSVolSync()
161 bp++; /* spare3 */ in xdr_decode_AFSVolSync()
162 bp++; /* spare4 */ in xdr_decode_AFSVolSync()
163 bp++; /* spare5 */ in xdr_decode_AFSVolSync()
164 bp++; /* spare6 */ in xdr_decode_AFSVolSync()
165 *_bp = bp; in xdr_decode_AFSVolSync()
176 __be32 *bp = *_bp; in xdr_encode_AFS_StoreStatus() local
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()
205 *bp++ = 0; /* segment size */ in xdr_encode_AFS_StoreStatus()
206 *_bp = bp; in xdr_encode_AFS_StoreStatus()
215 const __be32 *bp = *_bp; in xdr_decode_AFSFetchVolumeStatus() local
217 vs->vid = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
218 vs->parent_id = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
219 vs->online = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
220 vs->in_service = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
221 vs->blessed = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
222 vs->needs_salvage = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
223 vs->type = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
224 vs->min_quota = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
225 vs->max_quota = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
226 vs->blocks_in_use = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
227 vs->part_blocks_avail = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
228 vs->part_max_blocks = ntohl(*bp++); in xdr_decode_AFSFetchVolumeStatus()
231 *_bp = bp; in xdr_decode_AFSFetchVolumeStatus()
241 const __be32 *bp; in afs_deliver_fs_fetch_status() local
249 bp = call->buffer; in afs_deliver_fs_fetch_status()
250 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_fetch_status()
251 xdr_decode_AFSCallBack(&bp, call, &vp->scb); in afs_deliver_fs_fetch_status()
252 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_fetch_status()
275 __be32 *bp; in afs_fs_fetch_status() local
286 bp = call->request; in afs_fs_fetch_status()
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()
304 const __be32 *bp; in afs_deliver_fs_fetch_data() local
399 bp = call->buffer; in afs_deliver_fs_fetch_data()
400 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_fetch_data()
401 xdr_decode_AFSCallBack(&bp, call, &vp->scb); in afs_deliver_fs_fetch_data()
402 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_fetch_data()
453 __be32 *bp; in afs_fs_fetch_data64() local
462 bp = call->request; in afs_fs_fetch_data64()
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()
469 bp[6] = 0; in afs_fs_fetch_data64()
470 bp[7] = htonl(lower_32_bits(req->len)); in afs_fs_fetch_data64()
484 __be32 *bp; in afs_fs_fetch_data() local
498 bp = call->request; in afs_fs_fetch_data()
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()
518 const __be32 *bp; in afs_deliver_fs_create_vnode() local
526 bp = call->buffer; in afs_deliver_fs_create_vnode()
527 xdr_decode_AFSFid(&bp, &op->file[1].fid); in afs_deliver_fs_create_vnode()
528 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_create_vnode()
529 xdr_decode_AFSFetchStatus(&bp, call, &dvp->scb); in afs_deliver_fs_create_vnode()
530 xdr_decode_AFSCallBack(&bp, call, &vp->scb); in afs_deliver_fs_create_vnode()
531 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_create_vnode()
556 __be32 *bp; in afs_fs_create_file() local
570 bp = call->request; in afs_fs_create_file()
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()
576 memcpy(bp, name->name, namesz); in afs_fs_create_file()
577 bp = (void *) bp + namesz; in afs_fs_create_file()
579 memset(bp, 0, padsz); in afs_fs_create_file()
580 bp = (void *) bp + padsz; 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()
584 *bp++ = 0; /* owner */ in afs_fs_create_file()
585 *bp++ = 0; /* group */ in afs_fs_create_file()
586 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_create_file()
587 *bp++ = 0; /* segment size */ in afs_fs_create_file()
609 __be32 *bp; in afs_fs_make_dir() local
623 bp = call->request; in afs_fs_make_dir()
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()
629 memcpy(bp, name->name, namesz); in afs_fs_make_dir()
630 bp = (void *) bp + namesz; in afs_fs_make_dir()
632 memset(bp, 0, padsz); in afs_fs_make_dir()
633 bp = (void *) bp + padsz; 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()
637 *bp++ = 0; /* owner */ in afs_fs_make_dir()
638 *bp++ = 0; /* group */ in afs_fs_make_dir()
639 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_make_dir()
640 *bp++ = 0; /* segment size */ in afs_fs_make_dir()
653 const __be32 *bp; in afs_deliver_fs_file_status_and_vol() local
661 bp = call->buffer; in afs_deliver_fs_file_status_and_vol()
662 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_file_status_and_vol()
663 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_file_status_and_vol()
688 __be32 *bp; in afs_fs_remove_file() local
702 bp = call->request; in afs_fs_remove_file()
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()
708 memcpy(bp, name->name, namesz); in afs_fs_remove_file()
709 bp = (void *) bp + namesz; in afs_fs_remove_file()
711 memset(bp, 0, padsz); in afs_fs_remove_file()
712 bp = (void *) bp + padsz; in afs_fs_remove_file()
735 __be32 *bp; in afs_fs_remove_dir() local
749 bp = call->request; in afs_fs_remove_dir()
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()
755 memcpy(bp, name->name, namesz); in afs_fs_remove_dir()
756 bp = (void *) bp + namesz; in afs_fs_remove_dir()
758 memset(bp, 0, padsz); in afs_fs_remove_dir()
759 bp = (void *) bp + padsz; in afs_fs_remove_dir()
774 const __be32 *bp; in afs_deliver_fs_link() local
784 bp = call->buffer; in afs_deliver_fs_link()
785 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_link()
786 xdr_decode_AFSFetchStatus(&bp, call, &dvp->scb); in afs_deliver_fs_link()
787 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_link()
813 __be32 *bp; in afs_fs_link() local
826 bp = call->request; in afs_fs_link()
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()
832 memcpy(bp, name->name, namesz); in afs_fs_link()
833 bp = (void *) bp + namesz; in afs_fs_link()
835 memset(bp, 0, padsz); in afs_fs_link()
836 bp = (void *) bp + padsz; 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()
854 const __be32 *bp; in afs_deliver_fs_symlink() local
864 bp = call->buffer; in afs_deliver_fs_symlink()
865 xdr_decode_AFSFid(&bp, &vp->fid); in afs_deliver_fs_symlink()
866 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_symlink()
867 xdr_decode_AFSFetchStatus(&bp, call, &dvp->scb); in afs_deliver_fs_symlink()
868 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_symlink()
893 __be32 *bp; in afs_fs_symlink() local
911 bp = call->request; in afs_fs_symlink()
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()
917 memcpy(bp, name->name, namesz); in afs_fs_symlink()
918 bp = (void *) bp + namesz; in afs_fs_symlink()
920 memset(bp, 0, padsz); in afs_fs_symlink()
921 bp = (void *) bp + padsz; in afs_fs_symlink()
923 *bp++ = htonl(c_namesz); in afs_fs_symlink()
924 memcpy(bp, op->create.symlink, c_namesz); in afs_fs_symlink()
925 bp = (void *) bp + c_namesz; in afs_fs_symlink()
927 memset(bp, 0, c_padsz); in afs_fs_symlink()
928 bp = (void *) bp + c_padsz; 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()
932 *bp++ = 0; /* owner */ in afs_fs_symlink()
933 *bp++ = 0; /* group */ in afs_fs_symlink()
934 *bp++ = htonl(S_IRWXUGO); /* unix mode */ in afs_fs_symlink()
935 *bp++ = 0; /* segment size */ in afs_fs_symlink()
949 const __be32 *bp; in afs_deliver_fs_rename() local
956 bp = call->buffer; in afs_deliver_fs_rename()
960 xdr_decode_AFSFetchStatus(&bp, call, &orig_dvp->scb); in afs_deliver_fs_rename()
961 xdr_decode_AFSFetchStatus(&bp, call, &new_dvp->scb); in afs_deliver_fs_rename()
962 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_rename()
989 __be32 *bp; in afs_fs_rename() local
1009 bp = call->request; in afs_fs_rename()
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()
1015 memcpy(bp, orig_name->name, o_namesz); in afs_fs_rename()
1016 bp = (void *) bp + o_namesz; in afs_fs_rename()
1018 memset(bp, 0, o_padsz); in afs_fs_rename()
1019 bp = (void *) bp + o_padsz; 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()
1026 memcpy(bp, new_name->name, n_namesz); in afs_fs_rename()
1027 bp = (void *) bp + n_namesz; in afs_fs_rename()
1029 memset(bp, 0, n_padsz); in afs_fs_rename()
1030 bp = (void *) bp + n_padsz; in afs_fs_rename()
1044 const __be32 *bp; in afs_deliver_fs_store_data() local
1054 bp = call->buffer; in afs_deliver_fs_store_data()
1055 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_store_data()
1056 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_store_data()
1087 __be32 *bp; in afs_fs_store_data64() local
1101 bp = call->request; in afs_fs_store_data64()
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()
1109 *bp++ = 0; /* owner */ in afs_fs_store_data64()
1110 *bp++ = 0; /* group */ in afs_fs_store_data64()
1111 *bp++ = 0; /* unix mode */ in afs_fs_store_data64()
1112 *bp++ = 0; /* segment size */ 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()
1133 __be32 *bp; in afs_fs_store_data() local
1165 bp = call->request; in afs_fs_store_data()
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()
1173 *bp++ = 0; /* owner */ in afs_fs_store_data()
1174 *bp++ = 0; /* group */ in afs_fs_store_data()
1175 *bp++ = 0; /* unix mode */ in afs_fs_store_data()
1176 *bp++ = 0; /* segment size */ 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()
1219 __be32 *bp; in afs_fs_setattr_size64() local
1233 bp = call->request; in afs_fs_setattr_size64()
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()
1239 xdr_encode_AFS_StoreStatus(&bp, attr); 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()
1243 *bp++ = 0; /* size of write */ in afs_fs_setattr_size64()
1244 *bp++ = 0; 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()
1261 __be32 *bp; in afs_fs_setattr_size() local
1277 bp = call->request; in afs_fs_setattr_size()
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()
1283 xdr_encode_AFS_StoreStatus(&bp, attr); in afs_fs_setattr_size()
1285 *bp++ = htonl(attr->ia_size); /* position of start of write */ in afs_fs_setattr_size()
1286 *bp++ = 0; /* size of write */ in afs_fs_setattr_size()
1287 *bp++ = htonl(attr->ia_size); /* new file length */ in afs_fs_setattr_size()
1302 __be32 *bp; in afs_fs_setattr() local
1317 bp = call->request; in afs_fs_setattr()
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()
1323 xdr_encode_AFS_StoreStatus(&bp, op->setattr.attr); in afs_fs_setattr()
1335 const __be32 *bp; in afs_deliver_fs_get_volume_status() local
1355 bp = call->buffer; in afs_deliver_fs_get_volume_status()
1356 xdr_decode_AFSFetchVolumeStatus(&bp, &op->volstatus.vs); in afs_deliver_fs_get_volume_status()
1473 __be32 *bp; in afs_fs_get_volume_status() local
1483 bp = call->request; in afs_fs_get_volume_status()
1484 bp[0] = htonl(FSGETVOLUMESTATUS); in afs_fs_get_volume_status()
1485 bp[1] = htonl(vp->fid.vid); in afs_fs_get_volume_status()
1497 const __be32 *bp; in afs_deliver_fs_xxxx_lock() local
1507 bp = call->buffer; in afs_deliver_fs_xxxx_lock()
1508 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_xxxx_lock()
1553 __be32 *bp; in afs_fs_set_lock() local
1562 bp = call->request; in afs_fs_set_lock()
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()
1580 __be32 *bp; in afs_fs_extend_lock() local
1589 bp = call->request; in afs_fs_extend_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()
1606 __be32 *bp; in afs_fs_release_lock() local
1615 bp = call->request; in afs_fs_release_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()
1652 __be32 *bp; in afs_fs_give_up_all_callbacks() local
1663 bp = call->request; in afs_fs_give_up_all_callbacks()
1664 *bp++ = htonl(FSGIVEUPALLCALLBACKS); in afs_fs_give_up_all_callbacks()
1738 __be32 *bp; in afs_fs_get_capabilities() local
1753 bp = call->request; in afs_fs_get_capabilities()
1754 *bp++ = htonl(FSGETCAPABILITIES); in afs_fs_get_capabilities()
1769 const __be32 *bp; in afs_deliver_fs_inline_bulk_status() local
1817 bp = call->buffer; in afs_deliver_fs_inline_bulk_status()
1818 xdr_decode_AFSFetchStatus(&bp, call, scb); in afs_deliver_fs_inline_bulk_status()
1865 bp = call->buffer; in afs_deliver_fs_inline_bulk_status()
1866 xdr_decode_AFSCallBack(&bp, call, scb); in afs_deliver_fs_inline_bulk_status()
1880 bp = call->buffer; in afs_deliver_fs_inline_bulk_status()
1881 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_inline_bulk_status()
1922 __be32 *bp; in afs_fs_inline_bulk_status() local
1940 bp = call->request; in afs_fs_inline_bulk_status()
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()
1967 const __be32 *bp; in afs_deliver_fs_fetch_acl() local
2013 bp = call->buffer; in afs_deliver_fs_fetch_acl()
2014 xdr_decode_AFSFetchStatus(&bp, call, &vp->scb); in afs_deliver_fs_fetch_acl()
2015 xdr_decode_AFSVolSync(&bp, &op->volsync); in afs_deliver_fs_fetch_acl()
2043 __be32 *bp; in afs_fs_fetch_acl() local
2053 bp = call->request; in afs_fs_fetch_acl()
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()
2082 __be32 *bp; in afs_fs_store_acl() local
2094 bp = call->request; in afs_fs_store_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()
2100 memcpy(&bp[5], acl->data, acl->size); in afs_fs_store_acl()
2102 memset((void *)&bp[5] + acl->size, 0, size - acl->size); in afs_fs_store_acl()