Home
last modified time | relevance | path

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

12

/fs/squashfs/
Dexport.c78 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry() argument
80 if ((fh_type != FILEID_INO32_GEN && fh_type != FILEID_INO32_GEN_PARENT) in squashfs_fh_to_dentry()
89 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_parent() argument
91 if (fh_type != FILEID_INO32_GEN_PARENT || fh_len < 4) in squashfs_fh_to_parent()
/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()
151 int fh_type) in fat_fh_to_dentry_nostale() argument
157 switch (fh_type) { 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()
189 int fh_type) in fat_fh_to_parent_nostale() argument
198 switch (fh_type) { in fat_fh_to_parent_nostale()
/fs/notify/fanotify/
Dfanotify.h70 u8 fh_type; member
91 return event->fh_type == FILEID_ROOT; in fanotify_event_has_path()
96 return event->fh_type != FILEID_ROOT && in fanotify_event_has_fid()
97 event->fh_type != FILEID_INVALID; in fanotify_event_has_fid()
Dfanotify.c30 old->fh_type != new->fh_type || old->fh_len != new->fh_len) in should_merge()
326 event->fh_type = fanotify_encode_fid(event, id, gfp, fsid); in fanotify_alloc_event()
328 event->fh_type = FILEID_ROOT; in fanotify_alloc_event()
332 event->fh_type = FILEID_INVALID; in fanotify_alloc_event()
/fs/btrfs/
Dexport.c110 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
116 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent()
120 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent()
134 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
140 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry()
142 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry()
144 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
/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);
/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()
/fs/gfs2/
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/
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()
/fs/ceph/
Dexport.c268 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
272 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_dentry()
277 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
278 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
380 int fh_len, int fh_type) in ceph_fh_to_parent() argument
385 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_parent()
390 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
/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()
/fs/jfs/
Djfs_inode.h24 int fh_len, int fh_type);
26 int fh_len, int fh_type);
/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()
/fs/kernfs/
Dmount.c102 int fh_len, int fh_type) in kernfs_fh_to_dentry() argument
104 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in kernfs_fh_to_dentry()
109 int fh_len, int fh_type) in kernfs_fh_to_parent() argument
111 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in kernfs_fh_to_parent()
/fs/nilfs2/
Dnamei.c482 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument
487 (fh_type != FILEID_NILFS_WITH_PARENT && in nilfs_fh_to_dentry()
488 fh_type != FILEID_NILFS_WITHOUT_PARENT)) in nilfs_fh_to_dentry()
495 int fh_len, int fh_type) in nilfs_fh_to_parent() argument
500 fh_type != FILEID_NILFS_WITH_PARENT) in nilfs_fh_to_parent()
/fs/befs/
Dlinuxvfs.c61 struct fid *fid, int fh_len, int fh_type);
63 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()
/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()
/fs/affs/
Dnamei.c552 int fh_len, int fh_type) in affs_fh_to_dentry() argument
554 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in affs_fh_to_dentry()
559 int fh_len, int fh_type) in affs_fh_to_parent() argument
561 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in affs_fh_to_parent()
/fs/overlayfs/
Dexport.c781 int fh_len, int fh_type) in ovl_fh_to_dentry() argument
790 if (fh_type != OVL_FILEID) in ovl_fh_to_dentry()
809 len, fh_type, flags, err); in ovl_fh_to_dentry()
814 int fh_len, int fh_type) in ovl_fh_to_parent() argument
Dcopy_up.c230 int fh_type, fh_len, dwords; in ovl_encode_real_fh() local
245 fh_type = exportfs_encode_fh(real, buf, &dwords, 0); in ovl_encode_real_fh()
249 if (WARN_ON(fh_type < 0) || in ovl_encode_real_fh()
251 WARN_ON(fh_type == FILEID_INVALID)) in ovl_encode_real_fh()
264 fh->type = fh_type; in ovl_encode_real_fh()
Dsuper.c803 int fh_type; in ovl_lower_dir() local
823 fh_type = ovl_can_decode_fh(path->dentry->d_sb); in ovl_lower_dir()
825 (ofs->config.index && ofs->config.upperdir)) && !fh_type) { in ovl_lower_dir()
833 if (fh_type != FILEID_INO32_GEN) in ovl_lower_dir()
1104 int fh_type; in ovl_make_workdir() local
1159 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir()
1160 if (ofs->config.index && !fh_type) { in ovl_make_workdir()
1166 if (fh_type != FILEID_INO32_GEN) in ovl_make_workdir()
/fs/reiserfs/
Dinode.c1693 int fh_len, int fh_type) in reiserfs_fh_to_dentry() argument
1708 if (fh_type > fh_len) { in reiserfs_fh_to_dentry()
1709 if (fh_type != 6 || fh_len != 5) in reiserfs_fh_to_dentry()
1712 fh_type, fh_len); in reiserfs_fh_to_dentry()
1713 fh_type = fh_len; in reiserfs_fh_to_dentry()
1719 (fh_type == 3 || fh_type >= 5) ? fid->raw[2] : 0); in reiserfs_fh_to_dentry()
1723 int fh_len, int fh_type) in reiserfs_fh_to_parent() argument
1725 if (fh_type > fh_len) in reiserfs_fh_to_parent()
1726 fh_type = fh_len; in reiserfs_fh_to_parent()
1727 if (fh_type < 4) in reiserfs_fh_to_parent()
[all …]
/fs/fuse/
Dinode.c750 struct fid *fid, int fh_len, int fh_type) in fuse_fh_to_dentry() argument
754 if ((fh_type != 0x81 && fh_type != 0x82) || fh_len < 3) in fuse_fh_to_dentry()
764 struct fid *fid, int fh_len, int fh_type) in fuse_fh_to_parent() argument
768 if (fh_type != 0x82 || fh_len < 6) in fuse_fh_to_parent()
/fs/
Dlibfs.c929 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_dentry() argument
937 switch (fh_type) { in generic_fh_to_dentry()
962 int fh_len, int fh_type, struct inode *(*get_inode) in generic_fh_to_parent() argument
970 switch (fh_type) { in generic_fh_to_parent()

12