Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
Dfc_exch.c471 u8 fh_type = fh->fh_type; in fc_seq_send_locked() local
502 if (fh_type == FC_TYPE_BLS) in fc_seq_send_locked()
1259 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument
1266 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
1298 fh->fh_type = FC_TYPE_BLS; in fc_seq_send_ack()
1377 fh->fh_type = FC_TYPE_BLS; in fc_exch_send_ba_rjt()
1620 if (fh->fh_type != FC_TYPE_FCP && fr_eof(fp) == FC_EOF_T && in fc_exch_recv_seq_resp()
1743 if (ep->fh_type != FC_TYPE_FCP && in fc_exch_abts_resp()
2206 ep->fh_type = fh->fh_type; /* save for possbile timeout handling */ in fc_exch_seq_send()
2640 if (fh->fh_type == FC_TYPE_BLS) in fc_exch_recv()
/kernel/linux/linux-5.10/fs/squashfs/
Dexport.c83 struct fid *fid, int fh_len, int fh_type) in squashfs_fh_to_dentry() argument
85 if ((fh_type != FILEID_INO32_GEN && fh_type != FILEID_INO32_GEN_PARENT) 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/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()
/kernel/linux/linux-5.10/include/linux/
Dexportfs.h202 int fh_len, int fh_type);
204 int fh_len, int fh_type);
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/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
95 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent()
99 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent()
113 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
119 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry()
121 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry()
123 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
/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()
/kernel/linux/linux-5.10/fs/kernfs/
Dmount.c73 int fh_type, bool get_parent) in __kernfs_fh_to_dentry() argument
83 switch (fh_type) { in __kernfs_fh_to_dentry()
125 int fh_type) in kernfs_fh_to_dentry() argument
127 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
132 int fh_type) 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/gfs2/
Dexport.c147 int fh_len, int fh_type) in gfs2_fh_to_dentry() argument
152 switch (fh_type) { in gfs2_fh_to_dentry()
169 int fh_len, int fh_type) in gfs2_fh_to_parent() argument
174 switch (fh_type) { in gfs2_fh_to_parent()
/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/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()
/kernel/linux/linux-5.10/fs/ceph/
Dexport.c285 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
289 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_dentry()
294 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
295 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
402 int fh_len, int fh_type) in ceph_fh_to_parent() argument
407 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_parent()
412 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_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/overlayfs/
Dexport.c773 static struct ovl_fh *ovl_fid_to_fh(struct fid *fid, int buflen, int fh_type) in ovl_fid_to_fh() argument
778 if (fh_type == OVL_FILEID_V1) in ovl_fid_to_fh()
781 if (fh_type != OVL_FILEID_V0) in ovl_fid_to_fh()
797 int fh_len, int fh_type) in ovl_fh_to_dentry() argument
805 fh = ovl_fid_to_fh(fid, len, fh_type); 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
Dcopy_up.c282 int fh_type, dwords; in ovl_encode_real_fh() local
301 fh_type = exportfs_encode_fh(real, (void *)fh->fb.fid, &dwords, 0); in ovl_encode_real_fh()
305 if (WARN_ON(fh_type < 0) || in ovl_encode_real_fh()
307 WARN_ON(fh_type == FILEID_INVALID)) in ovl_encode_real_fh()
312 fh->fb.type = fh_type; in ovl_encode_real_fh()
/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/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()
/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/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/reiserfs/
Dinode.c1687 int fh_len, int fh_type) in reiserfs_fh_to_dentry() argument
1702 if (fh_type > fh_len) { in reiserfs_fh_to_dentry()
1703 if (fh_type != 6 || fh_len != 5) in reiserfs_fh_to_dentry()
1706 fh_type, fh_len); in reiserfs_fh_to_dentry()
1707 fh_type = fh_len; in reiserfs_fh_to_dentry()
1713 (fh_type == 3 || fh_type >= 5) ? fid->raw[2] : 0); in reiserfs_fh_to_dentry()
1717 int fh_len, int fh_type) in reiserfs_fh_to_parent() argument
1719 if (fh_type > fh_len) in reiserfs_fh_to_parent()
1720 fh_type = fh_len; in reiserfs_fh_to_parent()
1721 if (fh_type < 4) in reiserfs_fh_to_parent()
[all …]

123