Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/linux/
A Dexportfs.h202 int fh_len, int fh_type);
204 int fh_len, int fh_type);
231 struct fid *fid, int fh_len,
236 int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *),
243 struct fid *fid, int fh_len, int fh_type,
246 struct fid *fid, int fh_len, int fh_type,
/linux-6.3-rc2/fs/fat/
A 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()
/linux-6.3-rc2/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()
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()
/linux-6.3-rc2/fs/notify/fanotify/
A Dfanotify.c378 int fh_len; in fanotify_encode_fh_len() local
384 fh_len = dwords << 2; in fanotify_encode_fh_len()
394 return fh_len; in fanotify_encode_fh_len()
429 if (fh_len < 4 || WARN_ON_ONCE(fh_len % 4) || fh_len > MAX_HANDLE_SZ) in fanotify_encode_fh()
436 ext_buf = kmalloc(fh_len, gfp); in fanotify_encode_fh()
445 dwords = fh_len >> 2; in fanotify_encode_fh()
452 fh->len = fh_len; in fanotify_encode_fh()
462 return FANOTIFY_FH_HDR_LEN + fh_len; in fanotify_encode_fh()
466 type, fh_len, err); in fanotify_encode_fh()
682 int fh_len; in fanotify_alloc_error_event() local
[all …]
A Dfanotify_user.c130 int info_len = fh_len; in fanotify_fid_info_len()
161 int fh_len; in fanotify_event_len() local
421 size_t fh_len = fh ? fh->len : 0; in copy_fid_info_to_user() local
463 handle.handle_bytes = fh_len; in copy_fid_info_to_user()
466 if (!fh_len) in copy_fid_info_to_user()
474 if (WARN_ON_ONCE(len < fh_len)) in copy_fid_info_to_user()
482 if (fh_len <= FANOTIFY_INLINE_FH_LEN) { in copy_fid_info_to_user()
483 memcpy(bounce, fh_buf, fh_len); in copy_fid_info_to_user()
486 if (copy_to_user(buf, fh_buf, fh_len)) in copy_fid_info_to_user()
489 buf += fh_len; in copy_fid_info_to_user()
[all …]
/linux-6.3-rc2/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.h141 int fh_len, int fh_type);
143 int fh_len, int fh_type);
/linux-6.3-rc2/fs/btrfs/
A Dexport.c102 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
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() argument
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()
/linux-6.3-rc2/fs/squashfs/
A 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()
/linux-6.3-rc2/fs/xfs/
A 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()
/linux-6.3-rc2/fs/kernfs/
A Dmount.c73 struct fid *fid, int fh_len, in __kernfs_fh_to_dentry() argument
81 if (fh_len < 2) in __kernfs_fh_to_dentry()
125 struct fid *fid, int fh_len, in kernfs_fh_to_dentry() argument
128 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
132 struct fid *fid, int fh_len, in kernfs_fh_to_parent() argument
135 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
/linux-6.3-rc2/fs/gfs2/
A 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()
/linux-6.3-rc2/fs/nfsd/
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()
/linux-6.3-rc2/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()
/linux-6.3-rc2/fs/jfs/
A Djfs_inode.h26 int fh_len, int fh_type);
28 int fh_len, int fh_type);
/linux-6.3-rc2/fs/ntfs/
A 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()
/linux-6.3-rc2/fs/jffs2/
A 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()
/linux-6.3-rc2/fs/exportfs/
A Dexpfs.c420 exportfs_decode_fh_raw(struct vfsmount *mnt, struct fid *fid, int fh_len, in exportfs_decode_fh_raw() argument
435 result = nop->fh_to_dentry(mnt->mnt_sb, fid, fh_len, fileid_type); in exportfs_decode_fh_raw()
497 fh_len, fileid_type); in exportfs_decode_fh_raw()
569 int fh_len, int fileid_type, in exportfs_decode_fh() argument
575 ret = exportfs_decode_fh_raw(mnt, fid, fh_len, fileid_type, in exportfs_decode_fh()
/linux-6.3-rc2/fs/nfs/
A Dexport.c65 int fh_len, int fh_type) in nfs_fh_to_dentry() argument
78 if (fh_len < len || fh_type != len) in nfs_fh_to_dentry()
/linux-6.3-rc2/fs/befs/
A Dlinuxvfs.c62 struct fid *fid, int fh_len, int fh_type);
64 struct fid *fid, int fh_len, int fh_type);
650 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_dentry() argument
652 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in befs_fh_to_dentry()
660 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_parent() argument
662 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in befs_fh_to_parent()
/linux-6.3-rc2/fs/nilfs2/
A Dnamei.c484 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument
488 if (fh_len < NILFS_FID_SIZE_NON_CONNECTABLE || in nilfs_fh_to_dentry()
497 int fh_len, int fh_type) in nilfs_fh_to_parent() argument
501 if (fh_len < NILFS_FID_SIZE_CONNECTABLE || in nilfs_fh_to_parent()
/linux-6.3-rc2/fs/affs/
A Dnamei.c557 int fh_len, int fh_type) in affs_fh_to_dentry() argument
559 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in affs_fh_to_dentry()
564 int fh_len, int fh_type) in affs_fh_to_parent() argument
566 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in affs_fh_to_parent()
/linux-6.3-rc2/fs/ceph/
A Dexport.c297 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
309 if (fh_len < sizeof(*fh) / 4) in ceph_fh_to_dentry()
414 int fh_len, int fh_type) in ceph_fh_to_parent() argument
426 if (fh_len < sizeof(*cfh) / 4) in ceph_fh_to_parent()
/linux-6.3-rc2/fs/overlayfs/
A Dexport.c804 int fh_len, int fh_type) in ovl_fh_to_dentry() argument
808 int len = fh_len << 2; in ovl_fh_to_dentry()
838 fh_len, fh_type, flags, err); in ovl_fh_to_dentry()
844 int fh_len, int fh_type) in ovl_fh_to_parent() argument
/linux-6.3-rc2/fs/
A Dlibfs.c1061 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_dentry() argument
1066 if (fh_len < 2) in generic_fh_to_dentry()
1094 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_parent() argument
1099 if (fh_len <= 2) in generic_fh_to_parent()
1105 (fh_len > 3 ? fid->i32.parent_gen : 0)); in generic_fh_to_parent()

Completed in 40 milliseconds

12