Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/scsi/libfc/
Dfc_elsct.c39 enum fc_fh_type fh_type; in fc_elsct_send() local
44 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send()
47 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send()
55 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type, in fc_elsct_send()
102 switch (fh->fh_type) { in fc_els_resp_type()
Dfc_libfc.c181 fh->fh_type = in_fh->fh_type; in fc_fill_hdr()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/include/linux/
Dexportfs.h197 int fh_len, int fh_type);
199 int fh_len, int fh_type);
225 struct fid *fid, int fh_len, int fh_type,
228 struct fid *fid, int fh_len, int fh_type,
/Linux-v5.4/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);
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/fs/jfs/
Djfs_inode.h24 int fh_len, int fh_type);
26 int fh_len, int fh_type);
/Linux-v5.4/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()
/Linux-v5.4/include/scsi/
Dfc_encode.h51 fh->fh_type = type; in __fc_fill_fc_hdr()
122 enum fc_fh_type *fh_type) in fc_ct_ns_fill() argument
190 *fh_type = FC_TYPE_CT; in fc_ct_ns_fill()
206 enum fc_fh_type *fh_type) in fc_ct_ms_fill() argument
484 *fh_type = FC_TYPE_CT; in fc_ct_ms_fill()
500 enum fc_fh_type *fh_type, u32 *did) in fc_ct_fill() argument
506 rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
511 rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
680 enum fc_rctl *r_ctl, enum fc_fh_type *fh_type) in fc_els_fill() argument
724 *fh_type = FC_TYPE_ELS; in fc_els_fill()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/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
Dsuper.c782 int fh_type; in ovl_lower_dir() local
802 fh_type = ovl_can_decode_fh(path->dentry->d_sb); in ovl_lower_dir()
804 (ofs->config.index && ofs->config.upperdir)) && !fh_type) { in ovl_lower_dir()
812 if (fh_type != FILEID_INO32_GEN) in ovl_lower_dir()
1081 int fh_type; in ovl_make_workdir() local
1136 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir()
1137 if (ofs->config.index && !fh_type) { in ovl_make_workdir()
1143 if (fh_type != FILEID_INO32_GEN) in ovl_make_workdir()

123