Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/fat/
Dnfs.c143 int fh_len, int fh_type) in fat_fh_to_dentry() argument
145 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry()
150 struct fid *fh, int fh_len, in fat_fh_to_dentry_nostale() argument
159 if (fh_len < FAT_FID_SIZE_WITHOUT_PARENT) in fat_fh_to_dentry_nostale()
163 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_dentry_nostale()
181 int fh_len, int fh_type) in fat_fh_to_parent() argument
183 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent()
188 struct fid *fh, int fh_len, in fat_fh_to_parent_nostale() argument
195 if (fh_len < FAT_FID_SIZE_WITH_PARENT) in fat_fh_to_parent_nostale()
/kernel/linux/linux-5.10/include/linux/
Dexportfs.h202 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-5.10/fs/isofs/
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()
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()
/kernel/linux/linux-5.10/fs/efs/
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()
Defs.h141 int fh_len, int fh_type);
143 int fh_len, int fh_type);
/kernel/linux/linux-5.10/fs/btrfs/
Dexport.c89 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
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() argument
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()
/kernel/linux/linux-5.10/fs/squashfs/
Dexport.c83 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry() argument
86 || fh_len < 2) 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()
/kernel/linux/linux-5.10/fs/kernfs/
Dmount.c72 struct fid *fid, int fh_len, in __kernfs_fh_to_dentry() argument
80 if (fh_len < 2) in __kernfs_fh_to_dentry()
124 struct fid *fid, int fh_len, in kernfs_fh_to_dentry() argument
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() argument
134 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_export.c159 int fh_len, int fileid_type) in xfs_fs_fh_to_dentry() argument
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() argument
188 if (fh_len < xfs_fileid_length(fileid_type)) in xfs_fs_fh_to_parent()
/kernel/linux/linux-5.10/fs/notify/fanotify/
Dfanotify.c338 unsigned int fh_len, gfp_t gfp) in fanotify_encode_fh() argument
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()
385 type, fh_len, err); in fanotify_encode_fh()
Dfanotify_user.c57 static int fanotify_fid_info_len(int fh_len, int name_len) in fanotify_fid_info_len() argument
59 int info_len = fh_len; in fanotify_fid_info_len()
72 int fh_len = fanotify_event_object_fh_len(event); in fanotify_event_info_len() local
86 if (fh_len) in fanotify_event_info_len()
87 info_len += fanotify_fid_info_len(fh_len, dot_len); in fanotify_event_info_len()
235 size_t fh_len = fh ? fh->len : 0; in copy_info_to_user() local
236 size_t info_len = fanotify_fid_info_len(fh_len, name_len); in copy_info_to_user()
240 __func__, fh_len, name_len, info_len, count); in copy_info_to_user()
242 if (!fh_len) in copy_info_to_user()
278 handle.handle_bytes = fh_len; in copy_info_to_user()
[all …]
/kernel/linux/linux-5.10/fs/gfs2/
Dexport.c147 int fh_len, int fh_type) in gfs2_fh_to_dentry() argument
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() argument
177 if (fh_len < GFS2_LARGE_FH_SIZE) in gfs2_fh_to_parent()
/kernel/linux/linux-5.10/fs/nfsd/
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/jfs/
Djfs_inode.h24 int fh_len, int fh_type);
26 int fh_len, int fh_type);
/kernel/linux/linux-5.10/fs/ocfs2/
Dexport.c253 struct fid *fid, int fh_len, int fh_type) in ocfs2_fh_to_dentry() argument
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() argument
271 if (fh_type != 2 || fh_len < 6) in ocfs2_fh_to_parent()
/kernel/linux/linux-5.10/fs/ntfs/
Dnamei.c354 int fh_len, int fh_type) in ntfs_fh_to_dentry() argument
356 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in ntfs_fh_to_dentry()
361 int fh_len, int fh_type) in ntfs_fh_to_parent() argument
363 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in ntfs_fh_to_parent()
/kernel/linux/linux-5.10/fs/jffs2/
Dsuper.c122 int fh_len, int fh_type) in jffs2_fh_to_dentry() argument
124 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in jffs2_fh_to_dentry()
129 int fh_len, int fh_type) in jffs2_fh_to_parent() argument
131 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in jffs2_fh_to_parent()
/kernel/linux/linux-5.10/fs/nfs/
Dexport.c65 int fh_len, int fh_type) in nfs_fh_to_dentry() argument
79 if (fh_len < len || fh_type != len) in nfs_fh_to_dentry()
/kernel/linux/linux-5.10/fs/nilfs2/
Dnamei.c482 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument
486 if (fh_len < NILFS_FID_SIZE_NON_CONNECTABLE || in nilfs_fh_to_dentry()
495 int fh_len, int fh_type) in nilfs_fh_to_parent() argument
499 if (fh_len < NILFS_FID_SIZE_CONNECTABLE || in nilfs_fh_to_parent()
/kernel/linux/linux-5.10/fs/befs/
Dlinuxvfs.c62 struct fid *fid, int fh_len, int fh_type);
64 struct fid *fid, int fh_len, int fh_type);
651 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_dentry() argument
653 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in befs_fh_to_dentry()
661 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_parent() argument
663 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in befs_fh_to_parent()
/kernel/linux/linux-5.10/fs/affs/
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()
/kernel/linux/linux-5.10/fs/ceph/
Dexport.c285 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
297 if (fh_len < sizeof(*fh) / 4) in ceph_fh_to_dentry()
402 int fh_len, int fh_type) in ceph_fh_to_parent() argument
414 if (fh_len < sizeof(*cfh) / 4) in ceph_fh_to_parent()
/kernel/linux/linux-5.10/fs/exportfs/
Dexpfs.c421 int fh_len, int fileid_type, in exportfs_decode_fh() argument
434 result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type); in exportfs_decode_fh()
498 fh_len, fileid_type); in exportfs_decode_fh()
/kernel/linux/linux-5.10/fs/overlayfs/
Dexport.c797 int fh_len, int fh_type) in ovl_fh_to_dentry() argument
801 int len = fh_len << 2; in ovl_fh_to_dentry()
831 fh_len, fh_type, flags, err); in ovl_fh_to_dentry()
837 int fh_len, int fh_type) in ovl_fh_to_parent() argument
Doverlayfs.h391 static inline int ovl_check_fh_len(struct ovl_fh *fh, int fh_len) in ovl_check_fh_len() argument
393 if (fh_len < sizeof(struct ovl_fh)) in ovl_check_fh_len()
396 return ovl_check_fb_len(&fh->fb, fh_len - OVL_FH_WIRE_OFFSET); in ovl_check_fh_len()

12