Home
last modified time | relevance | path

Searched refs:fh_len (Results 1 - 25 of 76) sorted by relevance

1234

/kernel/linux/linux-5.10/fs/isofs/
H A Dexport.c163 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_dentry()
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()
179 if (fh_len < 2 || fh_type != 2) in isofs_fh_to_parent()
183 fh_len > 2 ? ifid->parent_block : 0, in isofs_fh_to_parent()
185 fh_len > 4 ? ifid->parent_generation : 0); in isofs_fh_to_parent()
162 isofs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) isofs_fh_to_dentry() argument
174 isofs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) isofs_fh_to_parent() argument
/kernel/linux/linux-6.6/fs/isofs/
H A Dexport.c163 struct fid *fid, int fh_len, int fh_type) in isofs_fh_to_dentry()
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()
179 if (fh_len < 2 || fh_type != 2) in isofs_fh_to_parent()
183 fh_len > 2 ? ifid->parent_block : 0, in isofs_fh_to_parent()
185 fh_len > 4 ? ifid->parent_generation : 0); in isofs_fh_to_parent()
162 isofs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) isofs_fh_to_dentry() argument
174 isofs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) isofs_fh_to_parent() argument
/kernel/linux/linux-6.6/include/linux/
H A Dexportfs.h167 * fragment (@fh, @fh_len). It should return a &struct dentry which refers
205 int fh_len, int fh_type);
207 int fh_len, int fh_type);
244 struct fid *fid, int fh_len,
249 int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *),
256 struct fid *fid, int fh_len, int fh_type,
259 struct fid *fid, int fh_len, int fh_type,
/kernel/linux/linux-5.10/fs/fat/
H A Dnfs.c149 int fh_len, int fh_type) in fat_fh_to_dentry()
151 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry()
156 struct fid *fh, int fh_len, in fat_fh_to_dentry_nostale()
165 if (fh_len < FAT_FID_SIZE_WITHOUT_PARENT) in fat_fh_to_dentry_nostale()
169 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_dentry_nostale()
187 int fh_len, int fh_type) in fat_fh_to_parent()
189 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent()
194 struct fid *fh, int fh_len, in fat_fh_to_parent_nostale()
201 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_parent_nostale()
148 fat_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) fat_fh_to_dentry() argument
155 fat_fh_to_dentry_nostale(struct super_block *sb, struct fid *fh, int fh_len, int fh_type) fat_fh_to_dentry_nostale() argument
186 fat_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) fat_fh_to_parent() argument
193 fat_fh_to_parent_nostale(struct super_block *sb, struct fid *fh, int fh_len, int fh_type) fat_fh_to_parent_nostale() argument
/kernel/linux/linux-6.6/fs/fat/
H A Dnfs.c149 int fh_len, int fh_type) in fat_fh_to_dentry()
151 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry()
156 struct fid *fh, int fh_len, in fat_fh_to_dentry_nostale()
165 if (fh_len < FAT_FID_SIZE_WITHOUT_PARENT) in fat_fh_to_dentry_nostale()
169 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_dentry_nostale()
187 int fh_len, int fh_type) in fat_fh_to_parent()
189 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent()
194 struct fid *fh, int fh_len, in fat_fh_to_parent_nostale()
201 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_parent_nostale()
148 fat_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) fat_fh_to_dentry() argument
155 fat_fh_to_dentry_nostale(struct super_block *sb, struct fid *fh, int fh_len, int fh_type) fat_fh_to_dentry_nostale() argument
186 fat_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) fat_fh_to_parent() argument
193 fat_fh_to_parent_nostale(struct super_block *sb, struct fid *fh, int fh_len, int fh_type) fat_fh_to_parent_nostale() argument
/kernel/linux/linux-5.10/include/linux/
H A Dexportfs.h164 * fragment (@fh, @fh_len). It should return a &struct dentry which refers
202 int fh_len, int fh_type);
204 int fh_len, int fh_type);
223 int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *),
230 struct fid *fid, int fh_len, int fh_type,
233 struct fid *fid, int fh_len, int fh_type,
/kernel/linux/linux-6.6/fs/notify/fanotify/
H A Dfanotify.c378 int fh_len; in fanotify_encode_fh_len() local
384 fh_len = dwords << 2; in fanotify_encode_fh_len()
391 if (WARN_ON_ONCE(fh_len > MAX_HANDLE_SZ)) in fanotify_encode_fh_len()
394 return fh_len; in fanotify_encode_fh_len()
404 unsigned int fh_len, unsigned int *hash, in fanotify_encode_fh()
425 * !gpf means preallocated variable size fh, but fh_len could in fanotify_encode_fh()
429 if (fh_len < 4 || WARN_ON_ONCE(fh_len % 4) || fh_len > MAX_HANDLE_SZ) in fanotify_encode_fh()
433 if (gfp && fh_len > FANOTIFY_INLINE_FH_LE in fanotify_encode_fh()
403 fanotify_encode_fh(struct fanotify_fh *fh, struct inode *inode, unsigned int fh_len, unsigned int *hash, gfp_t gfp) fanotify_encode_fh() argument
682 int fh_len; fanotify_alloc_error_event() local
[all...]
/kernel/linux/linux-5.10/fs/efs/
H A Dnamei.c97 int fh_len, int fh_type) in efs_fh_to_dentry()
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()
106 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in efs_fh_to_parent()
96 efs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) efs_fh_to_dentry() argument
103 efs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) efs_fh_to_parent() argument
/kernel/linux/linux-5.10/fs/squashfs/
H A Dexport.c83 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry()
86 || fh_len < 2) in squashfs_fh_to_dentry()
94 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_parent()
96 if (fh_type != FILEID_INO32_GEN_PARENT || fh_len < 4) in squashfs_fh_to_parent()
82 squashfs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) squashfs_fh_to_dentry() argument
93 squashfs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) squashfs_fh_to_parent() argument
/kernel/linux/linux-6.6/fs/efs/
H A Dnamei.c97 int fh_len, int fh_type) in efs_fh_to_dentry()
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()
106 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in efs_fh_to_parent()
96 efs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) efs_fh_to_dentry() argument
103 efs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) efs_fh_to_parent() argument
/kernel/linux/linux-6.6/fs/squashfs/
H A Dexport.c83 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry()
86 || fh_len < 2) in squashfs_fh_to_dentry()
94 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_parent()
96 if (fh_type != FILEID_INO32_GEN_PARENT || fh_len < 4) in squashfs_fh_to_parent()
82 squashfs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) squashfs_fh_to_dentry() argument
93 squashfs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) squashfs_fh_to_parent() argument
/kernel/linux/linux-5.10/fs/btrfs/
H A Dexport.c89 int fh_len, int fh_type) in btrfs_fh_to_parent()
96 if (fh_len < BTRFS_FID_SIZE_CONNECTABLE) in btrfs_fh_to_parent()
100 if (fh_len < BTRFS_FID_SIZE_CONNECTABLE_ROOT) in btrfs_fh_to_parent()
113 int fh_len, int fh_type) in btrfs_fh_to_dentry()
120 fh_len < BTRFS_FID_SIZE_CONNECTABLE) && in btrfs_fh_to_dentry()
122 fh_len < BTRFS_FID_SIZE_CONNECTABLE_ROOT) && in btrfs_fh_to_dentry()
124 fh_len < BTRFS_FID_SIZE_NON_CONNECTABLE)) in btrfs_fh_to_dentry()
88 btrfs_fh_to_parent(struct super_block *sb, struct fid *fh, int fh_len, int fh_type) btrfs_fh_to_parent() argument
112 btrfs_fh_to_dentry(struct super_block *sb, struct fid *fh, int fh_len, int fh_type) btrfs_fh_to_dentry() argument
/kernel/linux/linux-6.6/fs/btrfs/
H A Dexport.c102 int fh_len, int fh_type) in btrfs_fh_to_parent()
109 if (fh_len < BTRFS_FID_SIZE_CONNECTABLE) in btrfs_fh_to_parent()
113 if (fh_len < BTRFS_FID_SIZE_CONNECTABLE_ROOT) in btrfs_fh_to_parent()
126 int fh_len, int fh_type) in btrfs_fh_to_dentry()
133 fh_len < BTRFS_FID_SIZE_CONNECTABLE) && in btrfs_fh_to_dentry()
135 fh_len < BTRFS_FID_SIZE_CONNECTABLE_ROOT) && in btrfs_fh_to_dentry()
137 fh_len < BTRFS_FID_SIZE_NON_CONNECTABLE)) in btrfs_fh_to_dentry()
101 btrfs_fh_to_parent(struct super_block *sb, struct fid *fh, int fh_len, int fh_type) btrfs_fh_to_parent() argument
125 btrfs_fh_to_dentry(struct super_block *sb, struct fid *fh, int fh_len, int fh_type) btrfs_fh_to_dentry() argument
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_export.c159 int fh_len, int fileid_type) in xfs_fs_fh_to_dentry()
164 if (fh_len < xfs_fileid_length(fileid_type)) in xfs_fs_fh_to_dentry()
183 int fh_len, int fileid_type) in xfs_fs_fh_to_parent()
188 if (fh_len < xfs_fileid_length(fileid_type)) in xfs_fs_fh_to_parent()
158 xfs_fs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fileid_type) xfs_fs_fh_to_dentry() argument
182 xfs_fs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fileid_type) xfs_fs_fh_to_parent() argument
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_export.c173 int fh_len, int fileid_type) in xfs_fs_fh_to_dentry()
178 if (fh_len < xfs_fileid_length(fileid_type)) in xfs_fs_fh_to_dentry()
197 int fh_len, int fileid_type) in xfs_fs_fh_to_parent()
202 if (fh_len < xfs_fileid_length(fileid_type)) in xfs_fs_fh_to_parent()
172 xfs_fs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fileid_type) xfs_fs_fh_to_dentry() argument
196 xfs_fs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fileid_type) xfs_fs_fh_to_parent() argument
/kernel/linux/linux-5.10/fs/kernfs/
H A Dmount.c72 struct fid *fid, int fh_len, in __kernfs_fh_to_dentry()
80 if (fh_len < 2) in __kernfs_fh_to_dentry()
124 struct fid *fid, int fh_len, in kernfs_fh_to_dentry()
127 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
131 struct fid *fid, int fh_len, in kernfs_fh_to_parent()
134 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
71 __kernfs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type, bool get_parent) __kernfs_fh_to_dentry() argument
123 kernfs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) kernfs_fh_to_dentry() argument
130 kernfs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) kernfs_fh_to_parent() argument
/kernel/linux/linux-6.6/fs/kernfs/
H A Dmount.c82 struct fid *fid, int fh_len, in __kernfs_fh_to_dentry()
90 if (fh_len < 2) in __kernfs_fh_to_dentry()
134 struct fid *fid, int fh_len, in kernfs_fh_to_dentry()
137 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
141 struct fid *fid, int fh_len, in kernfs_fh_to_parent()
144 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
81 __kernfs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type, bool get_parent) __kernfs_fh_to_dentry() argument
133 kernfs_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) kernfs_fh_to_dentry() argument
140 kernfs_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) kernfs_fh_to_parent() argument
/kernel/linux/linux-5.10/fs/notify/fanotify/
H A Dfanotify.c338 unsigned int fh_len, gfp_t gfp) in fanotify_encode_fh()
352 * !gpf means preallocated variable size fh, but fh_len could in fanotify_encode_fh()
356 if (fh_len < 4 || WARN_ON_ONCE(fh_len % 4)) in fanotify_encode_fh()
360 if (gfp && fh_len > FANOTIFY_INLINE_FH_LEN) { in fanotify_encode_fh()
363 ext_buf = kmalloc(fh_len, gfp); in fanotify_encode_fh()
372 dwords = fh_len >> 2; in fanotify_encode_fh()
375 if (!type || type == FILEID_INVALID || fh_len != dwords << 2) in fanotify_encode_fh()
379 fh->len = fh_len; in fanotify_encode_fh()
381 return FANOTIFY_FH_HDR_LEN + fh_len; in fanotify_encode_fh()
337 fanotify_encode_fh(struct fanotify_fh *fh, struct inode *inode, unsigned int fh_len, gfp_t gfp) fanotify_encode_fh() argument
[all...]
/kernel/linux/linux-5.10/fs/jfs/
H A Djfs_inode.h24 int fh_len, int fh_type);
26 int fh_len, int fh_type);
/kernel/linux/linux-5.10/fs/nfsd/
H A Dflexfilelayoutxdr.c23 int len, mirror_len, ds_len, fh_len; in nfsd4_ff_encode_layoutget() local
33 fh_len = 4 + fl->fh.size; in nfsd4_ff_encode_layoutget()
39 ds_len = 20 + sizeof(stateid_opaque_t) + 4 + fh_len + in nfsd4_ff_encode_layoutget()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dflexfilelayoutxdr.c23 int len, mirror_len, ds_len, fh_len; in nfsd4_ff_encode_layoutget() local
33 fh_len = 4 + fl->fh.size; in nfsd4_ff_encode_layoutget()
39 ds_len = 20 + sizeof(stateid_opaque_t) + 4 + fh_len + in nfsd4_ff_encode_layoutget()
/kernel/linux/linux-5.10/fs/gfs2/
H A Dexport.c147 int fh_len, int fh_type) in gfs2_fh_to_dentry()
156 if (fh_len < GFS2_SMALL_FH_SIZE) in gfs2_fh_to_dentry()
169 int fh_len, int fh_type) in gfs2_fh_to_parent()
177 if (fh_len < GFS2_LARGE_FH_SIZE) in gfs2_fh_to_parent()
146 gfs2_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) gfs2_fh_to_dentry() argument
168 gfs2_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) gfs2_fh_to_parent() argument
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dexport.c253 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_dentry()
257 if (fh_len < 3 || fh_type > 2) in ocfs2_fh_to_dentry()
267 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_parent()
271 if (fh_type != 2 || fh_len < 6) in ocfs2_fh_to_parent()
252 ocfs2_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) ocfs2_fh_to_dentry() argument
266 ocfs2_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) ocfs2_fh_to_parent() argument
/kernel/linux/linux-6.6/fs/gfs2/
H A Dexport.c147 int fh_len, int fh_type) in gfs2_fh_to_dentry()
156 if (fh_len < GFS2_SMALL_FH_SIZE) in gfs2_fh_to_dentry()
169 int fh_len, int fh_type) in gfs2_fh_to_parent()
177 if (fh_len < GFS2_LARGE_FH_SIZE) in gfs2_fh_to_parent()
146 gfs2_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) gfs2_fh_to_dentry() argument
168 gfs2_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) gfs2_fh_to_parent() argument
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dexport.c251 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_dentry()
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()
269 if (fh_type != 2 || fh_len < 6) in ocfs2_fh_to_parent()
250 ocfs2_fh_to_dentry(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) ocfs2_fh_to_dentry() argument
264 ocfs2_fh_to_parent(struct super_block *sb, struct fid *fid, int fh_len, int fh_type) ocfs2_fh_to_parent() argument

Completed in 12 milliseconds

1234