Home
last modified time | relevance | path

Searched refs:fh_type (Results 1 – 25 of 32) sorted by relevance

12

/fs/fat/
A Dnfs.c149 int fh_len, int fh_type) in fat_fh_to_dentry() argument
151 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry()
157 int fh_type) in fat_fh_to_dentry_nostale() argument
163 switch (fh_type) { in fat_fh_to_dentry_nostale()
187 int fh_len, int fh_type) in fat_fh_to_parent() argument
189 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent()
195 int fh_type) in fat_fh_to_parent_nostale() argument
204 switch (fh_type) { in fat_fh_to_parent_nostale()
/fs/squashfs/
A Dexport.c83 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry() argument
85 if ((fh_type != FILEID_INO32_GEN && fh_type != FILEID_INO32_GEN_PARENT) in squashfs_fh_to_dentry()
94 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_parent() argument
96 if (fh_type != FILEID_INO32_GEN_PARENT || fh_len < 4) in squashfs_fh_to_parent()
/fs/btrfs/
A Dexport.c101 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
107 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent()
111 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent()
125 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
131 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry()
133 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry()
135 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
/fs/efs/
A Dnamei.c97 int fh_len, int fh_type) in efs_fh_to_dentry() argument
99 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in efs_fh_to_dentry()
104 int fh_len, int fh_type) in efs_fh_to_parent() argument
106 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in efs_fh_to_parent()
A Defs.h138 int fh_len, int fh_type);
140 int fh_len, int fh_type);
/fs/isofs/
A Dexport.c163 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_dentry() argument
167 if (fh_len < 3 || fh_type > 2) in isofs_fh_to_dentry()
175 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_parent() argument
179 if (fh_len < 2 || fh_type != 2) in isofs_fh_to_parent()
/fs/kernfs/
A Dmount.c99 int fh_type, bool get_parent) in __kernfs_fh_to_dentry() argument
109 switch (fh_type) { in __kernfs_fh_to_dentry()
148 int fh_type) in kernfs_fh_to_dentry() argument
150 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
155 int fh_type) in kernfs_fh_to_parent() argument
157 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
/fs/gfs2/
A Dexport.c145 int fh_len, int fh_type) in gfs2_fh_to_dentry() argument
150 switch (fh_type) { in gfs2_fh_to_dentry()
167 int fh_len, int fh_type) in gfs2_fh_to_parent() argument
172 switch (fh_type) { in gfs2_fh_to_parent()
/fs/ocfs2/
A Dexport.c251 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_dentry() argument
255 if (fh_len < 3 || fh_type > 2) in ocfs2_fh_to_dentry()
265 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_parent() argument
269 if (fh_type != 2 || fh_len < 6) in ocfs2_fh_to_parent()
/fs/overlayfs/
A Dexport.c771 static struct ovl_fh *ovl_fid_to_fh(struct fid *fid, int buflen, int fh_type) in ovl_fid_to_fh() argument
776 if (fh_type == OVL_FILEID_V1) in ovl_fid_to_fh()
779 if (fh_type != OVL_FILEID_V0) in ovl_fid_to_fh()
795 int fh_len, int fh_type) in ovl_fh_to_dentry() argument
803 fh = ovl_fid_to_fh(fid, len, fh_type); in ovl_fh_to_dentry()
829 fh_len, fh_type, flags, err); in ovl_fh_to_dentry()
835 int fh_len, int fh_type) in ovl_fh_to_parent() argument
A Dsuper.c400 int fh_type; in ovl_lower_dir() local
413 fh_type = ovl_can_decode_fh(path->dentry->d_sb); in ovl_lower_dir()
415 (ofs->config.index && ofs->config.upperdir)) && !fh_type) { in ovl_lower_dir()
421 ofs->nofh |= !fh_type; in ovl_lower_dir()
427 ofs->config.upperdir && !fh_type) { in ovl_lower_dir()
434 if (fh_type != FILEID_INO32_GEN) in ovl_lower_dir()
662 int fh_type; in ovl_make_workdir() local
775 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir()
776 if (ofs->config.index && !fh_type) { in ovl_make_workdir()
780 ofs->nofh |= !fh_type; in ovl_make_workdir()
[all …]
A Dcopy_up.c422 int fh_type, dwords; in ovl_encode_real_fh() local
441 fh_type = exportfs_encode_inode_fh(realinode, (void *)fh->fb.fid, in ovl_encode_real_fh()
446 if (fh_type < 0 || fh_type == FILEID_INVALID || in ovl_encode_real_fh()
452 fh->fb.type = fh_type; in ovl_encode_real_fh()
/fs/ceph/
A Dexport.c303 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
308 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_dentry()
313 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
314 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
422 int fh_len, int fh_type) in ceph_fh_to_parent() argument
428 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_parent()
433 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
/fs/jfs/
A Djfs_inode.h26 int fh_len, int fh_type);
28 int fh_len, int fh_type);
A Dnamei.c1497 int fh_len, int fh_type) in jfs_fh_to_dentry() argument
1499 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in jfs_fh_to_dentry()
1504 int fh_len, int fh_type) in jfs_fh_to_parent() argument
1506 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in jfs_fh_to_parent()
/fs/jffs2/
A Dsuper.c123 int fh_len, int fh_type) in jffs2_fh_to_dentry() argument
125 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in jffs2_fh_to_dentry()
130 int fh_len, int fh_type) in jffs2_fh_to_parent() argument
132 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in jffs2_fh_to_parent()
/fs/nilfs2/
A Dnamei.c505 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument
510 (fh_type != FILEID_NILFS_WITH_PARENT && in nilfs_fh_to_dentry()
511 fh_type != FILEID_NILFS_WITHOUT_PARENT)) in nilfs_fh_to_dentry()
518 int fh_len, int fh_type) in nilfs_fh_to_parent() argument
523 fh_type != FILEID_NILFS_WITH_PARENT) in nilfs_fh_to_parent()
/fs/befs/
A Dlinuxvfs.c61 struct fid *fid, int fh_len, int fh_type);
63 struct fid *fid, int fh_len, int fh_type);
647 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_dentry() argument
649 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in befs_fh_to_dentry()
657 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_parent() argument
659 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in befs_fh_to_parent()
/fs/nfs/
A Dexport.c65 int fh_len, int fh_type) in nfs_fh_to_dentry() argument
85 if (fh_len < len || fh_type != len) in nfs_fh_to_dentry()
/fs/affs/
A Dnamei.c554 int fh_len, int fh_type) in affs_fh_to_dentry() argument
556 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in affs_fh_to_dentry()
561 int fh_len, int fh_type) in affs_fh_to_parent() argument
563 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in affs_fh_to_parent()
/fs/erofs/
A Dsuper.c567 struct fid *fid, int fh_len, int fh_type) in erofs_fh_to_dentry() argument
569 if ((fh_type != FILEID_INO64_GEN && in erofs_fh_to_dentry()
570 fh_type != FILEID_INO64_GEN_PARENT) || fh_len < 3) in erofs_fh_to_dentry()
578 struct fid *fid, int fh_len, int fh_type) in erofs_fh_to_parent() argument
580 if (fh_type != FILEID_INO64_GEN_PARENT || fh_len < 6) in erofs_fh_to_parent()
/fs/udf/
A Dnamei.c955 struct fid *fid, int fh_len, int fh_type) in udf_fh_to_dentry() argument
958 (fh_type != FILEID_UDF_WITH_PARENT && in udf_fh_to_dentry()
959 fh_type != FILEID_UDF_WITHOUT_PARENT)) in udf_fh_to_dentry()
967 struct fid *fid, int fh_len, int fh_type) in udf_fh_to_parent() argument
969 if (fh_len < 5 || fh_type != FILEID_UDF_WITH_PARENT) in udf_fh_to_parent()
/fs/orangefs/
A Dsuper.c317 int fh_type) in orangefs_fh_to_dentry() argument
321 if (fh_len < 5 || fh_type > 2) in orangefs_fh_to_dentry()
/fs/bcachefs/
A Dfs.c1852 static int bcachefs_fid_valid(int fh_len, int fh_type) in bcachefs_fid_valid() argument
1854 switch (fh_type) { in bcachefs_fid_valid()
1925 int fh_len, int fh_type) in bch2_fh_to_dentry() argument
1929 if (!bcachefs_fid_valid(fh_len, fh_type)) in bch2_fh_to_dentry()
1936 int fh_len, int fh_type) in bch2_fh_to_parent() argument
1940 if (!bcachefs_fid_valid(fh_len, fh_type) || in bch2_fh_to_parent()
1941 fh_type != FILEID_BCACHEFS_WITH_PARENT) in bch2_fh_to_parent()
/fs/fuse/
A Dinode.c1135 struct fid *fid, int fh_len, int fh_type) in fuse_fh_to_dentry() argument
1139 if ((fh_type != FILEID_INO64_GEN && in fuse_fh_to_dentry()
1140 fh_type != FILEID_INO64_GEN_PARENT) || fh_len < 3) in fuse_fh_to_dentry()
1150 struct fid *fid, int fh_len, int fh_type) in fuse_fh_to_parent() argument
1154 if (fh_type != FILEID_INO64_GEN_PARENT || fh_len < 6) in fuse_fh_to_parent()

Completed in 47 milliseconds

12