Home
last modified time | relevance | path

Searched refs:fh_len (Results 1 – 25 of 27) sorted by relevance

12

/fs/ceph/
Dexport.c106 struct ceph_nfs_fh *fh, int fh_len) in __fh_to_dentry() argument
114 if (fh_len < sizeof(*fh) / 4) in __fh_to_dentry()
160 struct ceph_nfs_confh *cfh, int fh_len) in __cfh_to_dentry() argument
168 if (fh_len < sizeof(*cfh) / 4) in __cfh_to_dentry()
217 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
221 fh_len); in ceph_fh_to_dentry()
224 fh_len); in ceph_fh_to_dentry()
235 int fh_len, int fh_type) in ceph_fh_to_parent() argument
245 if (fh_len < sizeof(*cfh) / 4) in ceph_fh_to_parent()
/fs/fat/
Dnfs.c152 int fh_len, int fh_type) in fat_fh_to_dentry() argument
154 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry()
159 struct fid *fh, int fh_len, in fat_fh_to_dentry_nostale() argument
168 if (fh_len < FAT_FID_SIZE_WITHOUT_PARENT) in fat_fh_to_dentry_nostale()
172 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_dentry_nostale()
190 int fh_len, int fh_type) in fat_fh_to_parent() argument
192 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent()
197 struct fid *fh, int fh_len, in fat_fh_to_parent_nostale() argument
204 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_parent_nostale()
/fs/isofs/
Dexport.c162 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_dentry() argument
166 if (fh_len < 3 || fh_type > 2) in isofs_fh_to_dentry()
174 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_parent() argument
178 if (fh_len < 2 || fh_type != 2) in isofs_fh_to_parent()
182 fh_len > 2 ? ifid->parent_block : 0, in isofs_fh_to_parent()
184 fh_len > 4 ? ifid->parent_generation : 0); in isofs_fh_to_parent()
/fs/squashfs/
Dexport.c91 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry() argument
94 || fh_len < 2) in squashfs_fh_to_dentry()
102 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_parent() argument
104 if (fh_type != FILEID_INO32_GEN_PARENT || fh_len < 4) in squashfs_fh_to_parent()
/fs/btrfs/
Dexport.c114 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
121 if (fh_len != BTRFS_FID_SIZE_CONNECTABLE) in btrfs_fh_to_parent()
125 if (fh_len != BTRFS_FID_SIZE_CONNECTABLE_ROOT) in btrfs_fh_to_parent()
138 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
145 fh_len != BTRFS_FID_SIZE_CONNECTABLE) && in btrfs_fh_to_dentry()
147 fh_len != BTRFS_FID_SIZE_CONNECTABLE_ROOT) && in btrfs_fh_to_dentry()
149 fh_len != BTRFS_FID_SIZE_NON_CONNECTABLE)) in btrfs_fh_to_dentry()
/fs/efs/
Dnamei.c93 int fh_len, int fh_type) in efs_fh_to_dentry() argument
95 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in efs_fh_to_dentry()
100 int fh_len, int fh_type) in efs_fh_to_parent() argument
102 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in efs_fh_to_parent()
Defs.h134 int fh_len, int fh_type);
136 int fh_len, int fh_type);
/fs/xfs/
Dxfs_export.c164 int fh_len, int fileid_type) in xfs_fs_fh_to_dentry() argument
169 if (fh_len < xfs_fileid_length(fileid_type)) in xfs_fs_fh_to_dentry()
188 int fh_len, int fileid_type) in xfs_fs_fh_to_parent() argument
193 if (fh_len < xfs_fileid_length(fileid_type)) in xfs_fs_fh_to_parent()
/fs/gfs2/
Dexport.c157 int fh_len, int fh_type) in gfs2_fh_to_dentry() argument
166 if (fh_len < GFS2_SMALL_FH_SIZE) in gfs2_fh_to_dentry()
179 int fh_len, int fh_type) in gfs2_fh_to_parent() argument
187 if (fh_len < GFS2_LARGE_FH_SIZE) in gfs2_fh_to_parent()
/fs/ocfs2/
Dexport.c239 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_dentry() argument
243 if (fh_len < 3 || fh_type > 2) in ocfs2_fh_to_dentry()
253 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_parent() argument
257 if (fh_type != 2 || fh_len < 6) in ocfs2_fh_to_parent()
/fs/jfs/
Djfs_inode.h38 int fh_len, int fh_type);
40 int fh_len, int fh_type);
Dnamei.c1487 int fh_len, int fh_type) in jfs_fh_to_dentry() argument
1489 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in jfs_fh_to_dentry()
1494 int fh_len, int fh_type) in jfs_fh_to_parent() argument
1496 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in jfs_fh_to_parent()
/fs/ntfs/
Dnamei.c368 int fh_len, int fh_type) in ntfs_fh_to_dentry() argument
370 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ntfs_fh_to_dentry()
375 int fh_len, int fh_type) in ntfs_fh_to_parent() argument
377 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ntfs_fh_to_parent()
/fs/jffs2/
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/
Dnamei.c486 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument
490 if ((fh_len != NILFS_FID_SIZE_NON_CONNECTABLE && in nilfs_fh_to_dentry()
491 fh_len != NILFS_FID_SIZE_CONNECTABLE) || in nilfs_fh_to_dentry()
500 int fh_len, int fh_type) in nilfs_fh_to_parent() argument
504 if (fh_len != NILFS_FID_SIZE_CONNECTABLE || in nilfs_fh_to_parent()
/fs/exportfs/
Dexpfs.c381 int fh_len, int fileid_type, in exportfs_decode_fh() argument
394 result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type); in exportfs_decode_fh()
449 fh_len, fileid_type); in exportfs_decode_fh()
/fs/
Dlibfs.c855 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_dentry() argument
860 if (fh_len < 2) in generic_fh_to_dentry()
888 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_parent() argument
893 if (fh_len <= 2) in generic_fh_to_parent()
899 (fh_len > 3 ? fid->i32.parent_gen : 0)); in generic_fh_to_parent()
/fs/f2fs/
Dsuper.c286 int fh_len, int fh_type) in f2fs_fh_to_dentry() argument
288 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in f2fs_fh_to_dentry()
293 int fh_len, int fh_type) in f2fs_fh_to_parent() argument
295 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in f2fs_fh_to_parent()
/fs/exofs/
Dsuper.c981 struct fid *fid, int fh_len, int fh_type) in exofs_fh_to_dentry() argument
983 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in exofs_fh_to_dentry()
988 struct fid *fid, int fh_len, int fh_type) in exofs_fh_to_parent() argument
990 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in exofs_fh_to_parent()
/fs/reiserfs/
Dinode.c1558 int fh_len, int fh_type) in reiserfs_fh_to_dentry() argument
1572 if (fh_type > fh_len) { in reiserfs_fh_to_dentry()
1573 if (fh_type != 6 || fh_len != 5) in reiserfs_fh_to_dentry()
1576 fh_type, fh_len); in reiserfs_fh_to_dentry()
1577 fh_type = fh_len; in reiserfs_fh_to_dentry()
1579 if (fh_len < 2) in reiserfs_fh_to_dentry()
1587 int fh_len, int fh_type) in reiserfs_fh_to_parent() argument
1589 if (fh_type > fh_len) in reiserfs_fh_to_parent()
1590 fh_type = fh_len; in reiserfs_fh_to_parent()
/fs/udf/
Dnamei.c1243 struct fid *fid, int fh_len, int fh_type) in udf_fh_to_dentry() argument
1245 if ((fh_len != 3 && fh_len != 5) || in udf_fh_to_dentry()
1255 struct fid *fid, int fh_len, int fh_type) in udf_fh_to_parent() argument
1257 if (fh_len != 5 || fh_type != FILEID_UDF_WITH_PARENT) in udf_fh_to_parent()
/fs/fuse/
Dinode.c710 struct fid *fid, int fh_len, int fh_type) in fuse_fh_to_dentry() argument
714 if ((fh_type != 0x81 && fh_type != 0x82) || fh_len < 3) in fuse_fh_to_dentry()
724 struct fid *fid, int fh_len, int fh_type) in fuse_fh_to_parent() argument
728 if (fh_type != 0x82 || fh_len < 6) in fuse_fh_to_parent()
/fs/ext2/
Dsuper.c353 int fh_len, int fh_type) in ext2_fh_to_dentry() argument
355 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ext2_fh_to_dentry()
360 int fh_len, int fh_type) in ext2_fh_to_parent() argument
362 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ext2_fh_to_parent()
/fs/ufs/
Dsuper.c136 int fh_len, int fh_type) in ufs_fh_to_dentry() argument
138 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, ufs_nfs_get_inode); in ufs_fh_to_dentry()
142 int fh_len, int fh_type) in ufs_fh_to_parent() argument
144 return generic_fh_to_parent(sb, fid, fh_len, fh_type, ufs_nfs_get_inode); in ufs_fh_to_parent()
/fs/ext3/
Dsuper.c706 int fh_len, int fh_type) in ext3_fh_to_dentry() argument
708 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ext3_fh_to_dentry()
713 int fh_len, int fh_type) in ext3_fh_to_parent() argument
715 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ext3_fh_to_parent()

12