Home
last modified time | relevance | path

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

12

/linux/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_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()
H A Dfc_libfc.c181 fh->fh_type = in_fh->fh_type; in fc_fill_hdr()
H A Dfc_lport.c960 if (fh->fh_type >= FC_FC4_PROV_SIZE) in fc_lport_recv()
962 prov = rcu_dereference(fc_passive_prov[fh->fh_type]); in fc_lport_recv()
971 FC_LPORT_DBG(lport, "dropping unexpected frame type %x\n", fh->fh_type); in fc_lport_recv()
1145 if (fh && ct && fh->fh_type == FC_TYPE_CT && in fc_lport_ns_resp()
1221 if (fh && ct && fh->fh_type == FC_TYPE_CT && in fc_lport_ms_resp()
2046 fh->fh_type = FC_TYPE_ELS; in fc_lport_els_request()
2106 fh->fh_type = FC_TYPE_CT; in fc_lport_ct_request()
/linux/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/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/fs/btrfs/
H A Dexport.c107 int fh_len, int fh_type) in btrfs_fh_to_parent() argument
113 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in btrfs_fh_to_parent()
117 } else if (fh_type == FILEID_BTRFS_WITH_PARENT_ROOT) { in btrfs_fh_to_parent()
131 int fh_len, int fh_type) in btrfs_fh_to_dentry() argument
137 if ((fh_type != FILEID_BTRFS_WITH_PARENT || in btrfs_fh_to_dentry()
139 (fh_type != FILEID_BTRFS_WITH_PARENT_ROOT || in btrfs_fh_to_dentry()
141 (fh_type != FILEID_BTRFS_WITHOUT_PARENT || in btrfs_fh_to_dentry()
/linux/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/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/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)
H A Dfdls_disc.c468 .fh_type = FC_TYPE_ELS, .fh_f_ctl = {FNIC_ELS_REQ_FCTL, 0, 0}, in fdls_init_plogi_frame()
503 .fh_type = FC_TYPE_ELS, .fh_f_ctl = {FNIC_ELS_REP_FCTL, 0, 0}}, in fdls_init_els_acc_frame()
519 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REP, .fh_type = FC_TYPE_ELS, in fdls_init_els_rjt_frame()
535 .fchdr = {.fh_r_ctl = FC_RCTL_ELS_REQ, .fh_type = FC_TYPE_ELS, in fdls_init_logo_frame()
557 .fh_cs_ctl = 0x00, .fh_type = FC_TYPE_BLS, in fdls_init_fabric_abts_frame()
653 .fh_cs_ctl = 0x00, .fh_type = FC_TYPE_BLS, in fdls_send_tport_abts()
868 .fh_type = FC_TYPE_ELS, .fh_f_ctl = {FNIC_ELS_REQ_FCTL, 0, 0}, in fdls_send_fabric_flogi()
1021 .fh_d_id = {0xFF, 0xFF, 0xFC}, .fh_type = FC_TYPE_CT, in fdls_send_rpn_id()
1080 .fh_d_id = {0xFF, 0xFF, 0xFD}, .fh_type = FC_TYPE_ELS, in fdls_send_scr()
1135 .fh_d_id = {0xFF, 0xFF, 0xFC}, .fh_type = FC_TYPE_CT, in fdls_send_gpn_ft()
[all …]
/linux/include/linux/
H A Dexportfs.h264 int fh_len, int fh_type);
266 int fh_len, int fh_type);
371 struct fid *fid, int fh_len, int fh_type,
374 struct fid *fid, int fh_len, int fh_type,
/linux/fs/kernfs/
H A Dmount.c99 int fh_type, bool get_parent) in __kernfs_fh_to_dentry() argument
109 switch (fh_type) { in __kernfs_fh_to_dentry()
148 int fh_type) in kernfs_fh_to_dentry() argument
150 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, false); in kernfs_fh_to_dentry()
155 int fh_type) in kernfs_fh_to_parent() argument
157 return __kernfs_fh_to_dentry(sb, fid, fh_len, fh_type, true); in kernfs_fh_to_parent()
/linux/fs/jfs/
H A Djfs_inode.h26 int fh_len, int fh_type);
28 int fh_len, int fh_type);
/linux/fs/ceph/
H A Dexport.c303 int fh_len, int fh_type) in ceph_fh_to_dentry() argument
308 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_dentry()
313 if (fh_type != FILEID_INO32_GEN && in ceph_fh_to_dentry()
314 fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_dentry()
422 int fh_len, int fh_type) in ceph_fh_to_parent() argument
428 if (fh_type == FILEID_BTRFS_WITH_PARENT) { in ceph_fh_to_parent()
433 if (fh_type != FILEID_INO32_GEN_PARENT) in ceph_fh_to_parent()
/linux/fs/overlayfs/
H A Dsuper.c414 int fh_type; in ovl_lower_dir() local
427 fh_type = ovl_can_decode_fh(path->dentry->d_sb); in ovl_lower_dir()
429 (ofs->config.index && ofs->config.upperdir)) && !fh_type) { in ovl_lower_dir()
435 ofs->nofh |= !fh_type; in ovl_lower_dir()
441 ofs->config.upperdir && !fh_type) { in ovl_lower_dir()
448 if (fh_type != FILEID_INO32_GEN) in ovl_lower_dir()
675 int fh_type; in ovl_make_workdir() local
788 fh_type = ovl_can_decode_fh(ofs->workdir->d_sb); in ovl_make_workdir()
789 if (ofs->config.index && !fh_type) { in ovl_make_workdir()
793 ofs->nofh |= !fh_type; in ovl_make_workdir()
[all …]
H A Dcopy_up.c422 int fh_type, dwords; in ovl_encode_real_fh() local
441 fh_type = exportfs_encode_inode_fh(realinode, (void *)fh->fb.fid, in ovl_encode_real_fh()
446 if (fh_type < 0 || fh_type == FILEID_INVALID || in ovl_encode_real_fh()
452 fh->fb.type = fh_type; in ovl_encode_real_fh()
/linux/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/fs/nfs/
H A Dexport.c65 int fh_len, int fh_type) in nfs_fh_to_dentry() argument
85 if (fh_len < len || fh_type != len) in nfs_fh_to_dentry()
/linux/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/include/uapi/scsi/fc/
H A Dfc_fs.h28 __u8 fh_type; /* see enum fc_fh_type below */ member
/linux/include/scsi/
H A Dfc_frame.h258 fh->fh_type = type; in __fc_fill_fc_hdr()
/linux/fs/orangefs/
H A Dsuper.c317 int fh_type) in orangefs_fh_to_dentry() argument
321 if (fh_len < 5 || fh_type > 2) in orangefs_fh_to_dentry()
/linux/fs/
H A Dnsfs.c493 int fh_len, int fh_type) in nsfs_fh_to_dentry() argument
510 switch (fh_type) { in nsfs_fh_to_dentry()

12