/Linux-v4.19/include/scsi/ |
D | fc_frame.h | 76 struct fc_frame { struct 113 static inline void fc_frame_init(struct fc_frame *fp) in fc_frame_init() 121 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *, size_t payload_len); 122 struct fc_frame *_fc_frame_alloc(size_t payload_len); 128 static inline struct fc_frame *fc_frame_alloc(struct fc_lport *dev, size_t len) in fc_frame_alloc() 130 struct fc_frame *fp; in fc_frame_alloc() 146 static inline void fc_frame_free(struct fc_frame *fp) in fc_frame_free() 151 static inline int fc_frame_is_linear(struct fc_frame *fp) in fc_frame_is_linear() 161 struct fc_frame_header *__fc_frame_header_get(const struct fc_frame *fp) in __fc_frame_header_get() 171 struct fc_frame_header *fc_frame_header_get(const struct fc_frame *fp) in fc_frame_header_get() [all …]
|
D | libfc.h | 461 void (*resp)(struct fc_seq *, struct fc_frame *, void *); 475 int (*frame_send)(struct fc_lport *, struct fc_frame *); 483 struct fc_frame *, unsigned int op, 485 struct fc_frame *, void *arg), 545 struct fc_frame *); 565 void (*resp)(struct fc_seq *, struct fc_frame *, 587 void (*disc_recv_req)(struct fc_lport *, struct fc_frame *); 777 void (*recv)(struct fc_lport *, struct fc_frame *); 912 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp); 930 void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp); [all …]
|
D | fc_encode.h | 73 static inline void fc_fill_fc_hdr(struct fc_frame *fp, enum fc_rctl r_ctl, in fc_fill_fc_hdr() 88 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill() 104 static inline struct fc_ct_req *fc_ct_hdr_fill(const struct fc_frame *fp, in fc_ct_hdr_fill() 132 u32 fc_id, struct fc_frame *fp, in fc_ct_ns_fill() 216 u32 fc_id, struct fc_frame *fp, in fc_ct_ms_fill() 510 u32 fc_id, struct fc_frame *fp, in fc_ct_fill() 533 static inline void fc_plogi_fill(struct fc_lport *lport, struct fc_frame *fp, in fc_plogi_fill() 566 static inline void fc_flogi_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_flogi_fill() 591 static inline void fc_fdisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_fdisc_fill() 614 static inline void fc_logo_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_logo_fill() [all …]
|
D | libfcoe.h | 260 struct fc_frame *); 266 u32 fcoe_fc_crc(struct fc_frame *fp);
|
/Linux-v4.19/drivers/scsi/libfc/ |
D | fc_frame.c | 34 u32 fc_frame_crc_check(struct fc_frame *fp) in fc_frame_crc_check() 55 struct fc_frame *_fc_frame_alloc(size_t len) in _fc_frame_alloc() 57 struct fc_frame *fp; in _fc_frame_alloc() 67 fp = (struct fc_frame *) skb; in _fc_frame_alloc() 74 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp, size_t payload_len) in fc_frame_alloc_fill() 76 struct fc_frame *fp; in fc_frame_alloc_fill()
|
D | fc_exch.c | 129 bool (*match)(struct fc_frame *); 133 static void fc_seq_ls_acc(struct fc_frame *); 134 static void fc_seq_ls_rjt(struct fc_frame *, enum fc_els_rjt_reason, 136 static void fc_exch_els_rec(struct fc_frame *); 137 static void fc_exch_els_rrq(struct fc_frame *); 273 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr() 475 struct fc_frame *fp) in fc_seq_send_locked() 536 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send() 606 void (*resp)(struct fc_seq *, struct fc_frame *, void *), in fc_seq_set_resp() argument 648 struct fc_frame *fp; in fc_exch_abort_locked() [all …]
|
D | fc_rport.c | 87 static void fc_rport_recv_plogi_req(struct fc_lport *, struct fc_frame *); 88 static void fc_rport_recv_prli_req(struct fc_rport_priv *, struct fc_frame *); 89 static void fc_rport_recv_prlo_req(struct fc_rport_priv *, struct fc_frame *); 90 static void fc_rport_recv_logo_req(struct fc_lport *, struct fc_frame *); 704 struct fc_frame *fp) in fc_rport_login_complete() 743 static void fc_rport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_rport_flogi_resp() 828 struct fc_frame *fp; in fc_rport_enter_flogi() 861 struct fc_frame *rx_fp) in fc_rport_recv_flogi_req() 866 struct fc_frame *fp = rx_fp; in fc_rport_recv_flogi_req() 989 static void fc_rport_plogi_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_rport_plogi_resp() [all …]
|
D | fc_elsct.c | 44 struct fc_frame *fp, unsigned int op, in fc_elsct_send() argument 46 struct fc_frame *, in fc_elsct_send() 91 const char *fc_els_resp_type(struct fc_frame *fp) in fc_els_resp_type()
|
D | fc_lport.c | 110 static void fc_lport_error(struct fc_lport *, struct fc_frame *); 165 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop() 406 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_rlir_req() 423 struct fc_frame *in_fp) in fc_lport_recv_echo_req() 425 struct fc_frame *fp; in fc_lport_recv_echo_req() 458 struct fc_frame *in_fp) in fc_lport_recv_rnid_req() 460 struct fc_frame *fp; in fc_lport_recv_rnid_req() 515 static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_logo_req() 744 struct fc_frame *fp) in fc_lport_set_port_id() 799 struct fc_frame *rx_fp) in fc_lport_recv_flogi_req() [all …]
|
D | fc_fcp.c | 93 static void fc_fcp_recv_data(struct fc_fcp_pkt *, struct fc_frame *); 94 static void fc_fcp_recv(struct fc_seq *, struct fc_frame *, void *); 95 static void fc_fcp_resp(struct fc_fcp_pkt *, struct fc_frame *); 97 static void fc_tm_done(struct fc_seq *, struct fc_frame *, void *); 98 static void fc_fcp_error(struct fc_fcp_pkt *, struct fc_frame *); 102 static void fc_fcp_rec_error(struct fc_fcp_pkt *, struct fc_frame *); 103 static void fc_fcp_rec_resp(struct fc_seq *, struct fc_frame *, void *); 107 static void fc_fcp_srr_resp(struct fc_seq *, struct fc_frame *, void *); 108 static void fc_fcp_srr_error(struct fc_fcp_pkt *, struct fc_frame *); 445 static inline struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport, in fc_fcp_frame_alloc() [all …]
|
D | fc_disc.c | 53 static void fc_disc_gpn_ft_resp(struct fc_seq *, struct fc_frame *, void *); 82 static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp) in fc_disc_recv_rscn_req() 193 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req() 311 static void fc_disc_error(struct fc_disc *disc, struct fc_frame *fp) in fc_disc_error() 356 struct fc_frame *fp; in fc_disc_gpn_ft_req() 508 static void fc_disc_gpn_ft_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_disc_gpn_ft_resp() 580 static void fc_disc_gpn_id_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_disc_gpn_id_resp() 655 struct fc_frame *fp; in fc_disc_gpn_id_req()
|
D | fc_libfc.c | 166 void fc_fill_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, in fc_fill_hdr() 222 void fc_fill_reply_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, in fc_fill_reply_hdr()
|
D | Makefile | 11 fc_frame.o \
|
D | fc_libfc.h | 126 const char *fc_els_resp_type(struct fc_frame *);
|
/Linux-v4.19/drivers/target/tcm_fc/ |
D | tfc_cmd.c | 84 struct fc_frame *fp; in ft_free_cmd() 116 struct fc_frame *fp; in ft_queue_status() 200 struct fc_frame *fp; in ft_write_pending() 254 static void ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg) in ft_recv_seq() 291 const struct fc_frame *rx_fp, in ft_send_resp_status() 294 struct fc_frame *fp; in ft_send_resp_status() 445 static void ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp) in ft_recv_cmd() 485 void ft_recv_req(struct ft_sess *sess, struct fc_frame *fp) in ft_recv_req()
|
D | tcm_fc.h | 122 struct fc_frame *req_frame; 169 void ft_recv_req(struct ft_sess *, struct fc_frame *); 172 void ft_recv_write_data(struct ft_cmd *, struct fc_frame *);
|
D | tfc_io.c | 57 struct fc_frame *fp = NULL; in ft_queue_data_in() 209 void ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp) in ft_recv_write_data()
|
/Linux-v4.19/drivers/scsi/bnx2fc/ |
D | bnx2fc.h | 485 struct fc_frame *fp; 520 int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp); 521 int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp); 522 int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp); 569 struct fc_frame *fp, unsigned int op, 571 struct fc_frame *,
|
D | bnx2fc_els.c | 19 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, 21 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, 182 int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_adisc() 210 int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_logo() 238 int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_rls() 271 struct fc_frame *fp; in bnx2fc_srr_compl() 389 struct fc_frame *fp; in bnx2fc_rec_compl() 857 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, in bnx2fc_flogi_resp() 888 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, in bnx2fc_logo_resp() 902 struct fc_frame *fp, unsigned int op, in bnx2fc_elsct_send() argument [all …]
|
/Linux-v4.19/drivers/scsi/fnic/ |
D | fnic_fcs.c | 181 struct fc_frame *fp; in fnic_handle_frame() 191 fp = (struct fc_frame *)skb; in fnic_handle_frame() 654 struct fc_frame *fp; in fnic_import_rq_eth_pkt() 692 fp = (struct fc_frame *)skb; in fnic_import_rq_eth_pkt() 759 void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) in fnic_set_port_id() 822 struct fc_frame *fp; in fnic_rq_cmpl_frame_recv() 842 fp = (struct fc_frame *)skb; in fnic_rq_cmpl_frame_recv() 998 struct fc_frame *fp = buf->os_buf; in fnic_free_rq_buf() 1069 static int fnic_send_frame(struct fnic *fnic, struct fc_frame *fp) in fnic_send_frame() 1158 int fnic_send(struct fc_lport *lp, struct fc_frame *fp) in fnic_send() [all …]
|
D | fnic.h | 329 int fnic_send(struct fc_lport *, struct fc_frame *); 339 void fnic_set_port_id(struct fc_lport *, u32, struct fc_frame *);
|
/Linux-v4.19/drivers/scsi/fcoe/ |
D | fcoe.c | 85 static int fcoe_xmit(struct fc_lport *, struct fc_frame *); 131 u32 did, struct fc_frame *, 134 struct fc_frame *, 156 static void fcoe_set_port_id(struct fc_lport *, u32, struct fc_frame *); 909 static bool fcoe_oem_match(struct fc_frame *fp) in fcoe_oem_match() 1478 static int fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp) in fcoe_xmit() 1616 struct fc_frame *fp) in fcoe_filter_frames() 1672 struct fc_frame *fp; in fcoe_recv_frame() 1718 fp = (struct fc_frame *)skb; in fcoe_recv_frame() 2586 static void fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) in fcoe_flogi_resp() [all …]
|
/Linux-v4.19/drivers/scsi/qedf/ |
D | qedf_els.c | 295 struct fc_frame *fp, in qedf_process_l2_frame_compl() 373 struct fc_frame *fp; in qedf_l2_els_compl() 447 int qedf_send_adisc(struct qedf_rport *fcport, struct fc_frame *fp) in qedf_send_adisc() 491 struct fc_frame *fp; in qedf_srr_compl() 779 struct fc_frame *fp; in qedf_rec_compl()
|
D | qedf.h | 233 struct fc_frame *fp; 482 extern int qedf_send_adisc(struct qedf_rport *fcport, struct fc_frame *fp);
|
D | qedf_main.c | 197 static void qedf_set_data_src_addr(struct qedf_ctx *qedf, struct fc_frame *fp) in qedf_set_data_src_addr() 238 static void qedf_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, in qedf_flogi_resp() 277 struct fc_frame *fp, unsigned int op, in qedf_elsct_send() argument 279 struct fc_frame *, in qedf_elsct_send() 301 struct fc_frame *fp; in qedf_send_flogi() 836 static int qedf_xmit_l2_frame(struct qedf_rport *fcport, struct fc_frame *fp) in qedf_xmit_l2_frame() 859 static int qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) in qedf_xmit() 2170 struct fc_frame *fp; in qedf_recv_frame() 2196 fp = (struct fc_frame *)skb; in qedf_recv_frame()
|