Home
last modified time | relevance | path

Searched refs:sfh (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/fs/ceph/
Dexport.c40 struct ceph_nfs_snapfh *sfh = (void *)rawfh; in ceph_encode_snapfh() local
61 sfh->parent_ino = ceph_ino(dir); in ceph_encode_snapfh()
62 sfh->hash = ceph_dentry_hash(dir, dentry); in ceph_encode_snapfh()
72 sfh->parent_ino = sfh->ino; in ceph_encode_snapfh()
73 sfh->hash = 0; in ceph_encode_snapfh()
75 sfh->ino = ceph_ino(inode); in ceph_encode_snapfh()
76 sfh->snapid = snapid; in ceph_encode_snapfh()
192 struct ceph_nfs_snapfh *sfh, in __snapfh_to_dentry() argument
204 vino.ino = sfh->parent_ino; in __snapfh_to_dentry()
205 if (sfh->snapid == CEPH_SNAPDIR) in __snapfh_to_dentry()
[all …]
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_dir2_block.c791 xfs_dir2_sf_hdr_t sfh; /* shortform header */ in xfs_dir2_block_removename() local
844 size = xfs_dir2_block_sfsize(dp, hdr, &sfh); in xfs_dir2_block_removename()
851 return xfs_dir2_block_to_sf(args, bp, size, &sfh); in xfs_dir2_block_removename()
940 xfs_dir2_sf_hdr_t sfh; /* shortform header */ in xfs_dir2_leaf_to_block() local
1057 size = xfs_dir2_block_sfsize(dp, hdr, &sfh); in xfs_dir2_leaf_to_block()
1061 return xfs_dir2_block_to_sf(args, dbp, size, &sfh); in xfs_dir2_leaf_to_block()