Home
last modified time | relevance | path

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

123

/linux-6.15/drivers/scsi/libfc/
H A 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()
H A Dfc_encode.h94 enum fc_fh_type *fh_type) in fc_ct_ns_fill() argument
164 *fh_type = FC_TYPE_CT; in fc_ct_ns_fill()
190 enum fc_fh_type *fh_type) in fc_ct_ms_fill() argument
710 *fh_type = FC_TYPE_CT; in fc_ct_ms_fill()
726 enum fc_fh_type *fh_type, u32 *did) in fc_ct_fill() argument
732 rc = fc_ct_ms_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
737 rc = fc_ct_ns_fill(lport, fc_id, fp, op, r_ctl, fh_type); in fc_ct_fill()
906 enum fc_rctl *r_ctl, enum fc_fh_type *fh_type) in fc_els_fill() argument
950 *fh_type = FC_TYPE_ELS; in fc_els_fill()
H A Dfc_libfc.c181 fh->fh_type = in_fh->fh_type; in fc_fill_hdr()
H A Dfc_exch.c470 u8 fh_type = fh->fh_type; in fc_seq_send_locked() local
501 if (fh_type == FC_TYPE_BLS) in fc_seq_send_locked()
1257 enum fc_rctl rctl, enum fc_fh_type fh_type) in fc_seq_send_last() argument
1264 fc_fill_fc_hdr(fp, rctl, ep->did, ep->sid, fh_type, f_ctl, 0); in fc_seq_send_last()
1296 fh->fh_type = FC_TYPE_BLS; in fc_seq_send_ack()
1375 fh->fh_type = FC_TYPE_BLS; in fc_exch_send_ba_rjt()
1618 if (fh->fh_type != FC_TYPE_FCP && fr_eof(fp) == FC_EOF_T && in fc_exch_recv_seq_resp()
1741 if (ep->fh_type != FC_TYPE_FCP && in fc_exch_abts_resp()
2204 ep->fh_type = fh->fh_type; /* save for possbile timeout handling */ in fc_exch_seq_send()
2638 if (fh->fh_type == FC_TYPE_BLS) in fc_exch_recv()
/linux-6.15/fs/squashfs/
H A 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()
/linux-6.15/fs/fat/
H A Dnfs.c149 int fh_len, int fh_type) in fat_fh_to_dentry() argument
151 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in fat_fh_to_dentry()
157 int fh_type) in fat_fh_to_dentry_nostale() argument
163 switch (fh_type) { in fat_fh_to_dentry_nostale()
187 int fh_len, int fh_type) in fat_fh_to_parent() argument
189 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in fat_fh_to_parent()
195 int fh_type) in fat_fh_to_parent_nostale() argument
204 switch (fh_type) { in fat_fh_to_parent_nostale()
/linux-6.15/fs/efs/
H 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()
H A Defs.h138 int fh_len, int fh_type);
140 int fh_len, int fh_type);
/linux-6.15/fs/btrfs/
H A Dexport.c101 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
107 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent()
111 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent()
125 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
131 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry()
133 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry()
135 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
/linux-6.15/fs/isofs/
H 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()
/linux-6.15/include/linux/
H A Dexportfs.h258 int fh_len, int fh_type);
260 int fh_len, int fh_type);
354 struct fid *fid, int fh_len, int fh_type,
357 struct fid *fid, int fh_len, int fh_type,
/linux-6.15/drivers/scsi/fnic/
H A Dfdls_fc.h80 #define FNIC_STD_SET_TYPE(_fchdr, _type) ((_fchdr).fh_type = _type)
95 #define FNIC_STD_GET_TYPE(_fchdr) ((_fchdr)->fh_type)
131 #define FNIC_FC_FRAME_TYPE_BLS(_fchdr) (_fchdr->fh_type == FC_TYPE_BLS)
132 #define FNIC_FC_FRAME_TYPE_ELS(_fchdr) (_fchdr->fh_type == FC_TYPE_ELS)
133 #define FNIC_FC_FRAME_TYPE_FC_GS(_fchdr) (_fchdr->fh_type == FC_TYPE_CT)
/linux-6.15/fs/gfs2/
H A 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-6.15/fs/kernfs/
H A Dmount.c84 int fh_type, bool get_parent) in __kernfs_fh_to_dentry() argument
94 switch (fh_type) { in __kernfs_fh_to_dentry()
133 int fh_type) in kernfs_fh_to_dentry() argument
135 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
140 int fh_type) in kernfs_fh_to_parent() argument
142 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
/linux-6.15/fs/jfs/
H A Djfs_inode.h26 int fh_len, int fh_type);
28 int fh_len, int fh_type);
/linux-6.15/fs/ocfs2/
H 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.15/fs/overlayfs/
H A 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
H A Dsuper.c401 int fh_type; in ovl_lower_dir() local
414 fh_type = ovl_can_decode_fh(path->dentry->d_sb); in ovl_lower_dir()
416 (ofs->config.index && ofs->config.upperdir)) && !fh_type) { in ovl_lower_dir()
422 ofs->nofh |= !fh_type; in ovl_lower_dir()
428 ofs->config.upperdir && !fh_type) { in ovl_lower_dir()
435 if (fh_type != FILEID_INO32_GEN) in ovl_lower_dir()
662 int fh_type; in ovl_make_workdir() local
775 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir()
776 if (ofs->config.index && !fh_type) { in ovl_make_workdir()
780 ofs->nofh |= !fh_type; in ovl_make_workdir()
[all …]
/linux-6.15/fs/ceph/
H A Dexport.c298 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
303 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_dentry()
308 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
309 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
417 int fh_len, int fh_type) in ceph_fh_to_parent() argument
423 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_parent()
428 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
/linux-6.15/fs/jffs2/
H A Dsuper.c123 int fh_len, int fh_type) in jffs2_fh_to_dentry() argument
125 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in jffs2_fh_to_dentry()
130 int fh_len, int fh_type) in jffs2_fh_to_parent() argument
132 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in jffs2_fh_to_parent()
/linux-6.15/fs/nilfs2/
H A Dnamei.c505 int fh_len, int fh_type) in nilfs_fh_to_dentry() argument
510 (fh_type != FILEID_NILFS_WITH_PARENT && in nilfs_fh_to_dentry()
511 fh_type != FILEID_NILFS_WITHOUT_PARENT)) in nilfs_fh_to_dentry()
518 int fh_len, int fh_type) in nilfs_fh_to_parent() argument
523 fh_type != FILEID_NILFS_WITH_PARENT) in nilfs_fh_to_parent()
/linux-6.15/fs/nfs/
H 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.15/drivers/scsi/elx/efct/
H A Defct_unsol.c52 if (!(hdr->fh_type == FC_TYPE_FCP || hdr->fh_type == FC_TYPE_BLS)) in efct_dispatch_frame()
55 if (hdr->fh_type == FC_TYPE_FCP) { in efct_dispatch_frame()
244 hdr.fh_type = type; in efct_sframe_common_send()
/linux-6.15/fs/befs/
H A Dlinuxvfs.c61 struct fid *fid, int fh_len, int fh_type);
63 struct fid *fid, int fh_len, int fh_type);
647 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_dentry() argument
649 return generic_fh_to_dentry(sb, fid, fh_len, fh_type, in befs_fh_to_dentry()
657 struct fid *fid, int fh_len, int fh_type) in befs_fh_to_parent() argument
659 return generic_fh_to_parent(sb, fid, fh_len, fh_type, in befs_fh_to_parent()
/linux-6.15/fs/affs/
H A 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()

123