Lines Matching refs:fid
20 static void xdr_decode_YFSFid(const __be32 **_bp, struct afs_fid *fid) in xdr_decode_YFSFid() argument
24 fid->vid = xdr_to_u64(x->volume); in xdr_decode_YFSFid()
25 fid->vnode = xdr_to_u64(x->vnode.lo); in xdr_decode_YFSFid()
26 fid->vnode_hi = ntohl(x->vnode.hi); in xdr_decode_YFSFid()
27 fid->unique = ntohl(x->vnode.unique); in xdr_decode_YFSFid()
45 static __be32 *xdr_encode_YFSFid(__be32 *bp, struct afs_fid *fid) in xdr_encode_YFSFid() argument
49 x->volume = u64_to_xdr(fid->vid); in xdr_encode_YFSFid()
50 x->vnode.lo = u64_to_xdr(fid->vnode); in xdr_encode_YFSFid()
51 x->vnode.hi = htonl(fid->vnode_hi); in xdr_encode_YFSFid()
52 x->vnode.unique = htonl(fid->unique); in xdr_encode_YFSFid()
505 key_serial(op->key), vp->fid.vid, vp->fid.vnode, in yfs_fs_fetch_data()
522 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_fetch_data()
527 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_fetch_data()
550 xdr_decode_YFSFid(&bp, &op->file[1].fid); in yfs_deliver_fs_create_vnode()
603 bp = xdr_encode_YFSFid(bp, &dvp->fid); in yfs_fs_create_file()
609 trace_afs_make_fs_call1(call, &dvp->fid, name); in yfs_fs_create_file()
652 bp = xdr_encode_YFSFid(bp, &dvp->fid); in yfs_fs_make_dir()
657 trace_afs_make_fs_call1(call, &dvp->fid, name); in yfs_fs_make_dir()
669 struct afs_fid fid; in yfs_deliver_fs_remove_file2() local
681 xdr_decode_YFSFid(&bp, &fid); in yfs_deliver_fs_remove_file2()
737 bp = xdr_encode_YFSFid(bp, &dvp->fid); in yfs_fs_remove_file2()
741 trace_afs_make_fs_call1(call, &dvp->fid, name); in yfs_fs_remove_file2()
806 bp = xdr_encode_YFSFid(bp, &dvp->fid); in yfs_fs_remove_file()
810 trace_afs_make_fs_call1(call, &dvp->fid, name); in yfs_fs_remove_file()
847 bp = xdr_encode_YFSFid(bp, &dvp->fid); in yfs_fs_remove_dir()
851 trace_afs_make_fs_call1(call, &dvp->fid, name); in yfs_fs_remove_dir()
919 bp = xdr_encode_YFSFid(bp, &dvp->fid); in yfs_fs_link()
921 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_link()
924 trace_afs_make_fs_call1(call, &vp->fid, name); in yfs_fs_link()
947 xdr_decode_YFSFid(&bp, &vp->fid); in yfs_deliver_fs_symlink()
998 bp = xdr_encode_YFSFid(bp, &dvp->fid); in yfs_fs_symlink()
1004 trace_afs_make_fs_call1(call, &dvp->fid, name); in yfs_fs_symlink()
1077 bp = xdr_encode_YFSFid(bp, &orig_dvp->fid); in yfs_fs_rename()
1079 bp = xdr_encode_YFSFid(bp, &new_dvp->fid); in yfs_fs_rename()
1083 trace_afs_make_fs_call2(call, &orig_dvp->fid, orig_name, new_name); in yfs_fs_rename()
1108 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in yfs_fs_store_data()
1142 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_store_data()
1149 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_store_data()
1182 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in yfs_fs_setattr_size()
1198 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_setattr_size()
1205 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_setattr_size()
1224 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in yfs_fs_setattr()
1239 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_setattr()
1243 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_setattr()
1410 bp = xdr_encode_u64(bp, vp->fid.vid); in yfs_fs_get_volume_status()
1413 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_get_volume_status()
1473 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_set_lock()
1477 trace_afs_make_fs_calli(call, &vp->fid, op->lock.type); in yfs_fs_set_lock()
1504 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_extend_lock()
1507 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_extend_lock()
1534 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_release_lock()
1537 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_release_lock()
1585 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in yfs_fs_fetch_status()
1600 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_fetch_status()
1603 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_fetch_status()
1761 key_serial(op->key), vp->fid.vid, vp->fid.vnode, op->nr_files); in yfs_fs_inline_bulk_status()
1777 bp = xdr_encode_YFSFid(bp, &dvp->fid); in yfs_fs_inline_bulk_status()
1778 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_inline_bulk_status()
1780 bp = xdr_encode_YFSFid(bp, &op->more_files[i].fid); in yfs_fs_inline_bulk_status()
1783 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_inline_bulk_status()
1927 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in yfs_fs_fetch_opaque_acl()
1942 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_fetch_opaque_acl()
1945 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_fetch_opaque_acl()
1971 key_serial(op->key), vp->fid.vid, vp->fid.vnode); in yfs_fs_store_opaque_acl2()
1987 bp = xdr_encode_YFSFid(bp, &vp->fid); in yfs_fs_store_opaque_acl2()
1995 trace_afs_make_fs_call(call, &vp->fid); in yfs_fs_store_opaque_acl2()