| /linux/include/scsi/ |
| H A D | fc_frame.h | 64 struct fc_frame { struct 101 static inline void fc_frame_init(struct fc_frame *fp) in fc_frame_init() 109 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *, size_t payload_len); 110 struct fc_frame *_fc_frame_alloc(size_t payload_len); 116 static inline struct fc_frame *fc_frame_alloc(struct fc_lport *dev, size_t len) in fc_frame_alloc() 118 struct fc_frame *fp; in fc_frame_alloc() 134 static inline void fc_frame_free(struct fc_frame *fp) in fc_frame_free() 139 static inline int fc_frame_is_linear(struct fc_frame *fp) in fc_frame_is_linear() 149 struct fc_frame_header *__fc_frame_header_get(const struct fc_frame *fp) in __fc_frame_header_get() 159 struct fc_frame_header *fc_frame_header_get(const struct fc_frame *fp) in fc_frame_header_get() [all …]
|
| H A D | libfc.h | 464 void (*resp)(struct fc_seq *, struct fc_frame *, void *); 478 int (*frame_send)(struct fc_lport *, struct fc_frame *); 486 struct fc_frame *, unsigned int op, 488 struct fc_frame *, void *arg), 548 struct fc_frame *); 568 void (*resp)(struct fc_seq *, struct fc_frame *, 590 void (*disc_recv_req)(struct fc_lport *, struct fc_frame *); 780 void (*recv)(struct fc_lport *, struct fc_frame *); 921 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp); 939 void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp); [all …]
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_frame.c | 22 u32 fc_frame_crc_check(struct fc_frame *fp) in fc_frame_crc_check() 43 struct fc_frame *_fc_frame_alloc(size_t len) in _fc_frame_alloc() 45 struct fc_frame *fp; in _fc_frame_alloc() 55 fp = (struct fc_frame *) skb; in _fc_frame_alloc() 62 struct fc_frame *fc_frame_alloc_fill(struct fc_lport *lp, size_t payload_len) in fc_frame_alloc_fill() 64 struct fc_frame *fp; in fc_frame_alloc_fill()
|
| H A D | fc_exch.c | 118 bool (*match)(struct fc_frame *); 122 static void fc_seq_ls_acc(struct fc_frame *); 123 static void fc_seq_ls_rjt(struct fc_frame *, enum fc_els_rjt_reason, 125 static void fc_exch_els_rec(struct fc_frame *); 126 static void fc_exch_els_rrq(struct fc_frame *); 262 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr() 464 struct fc_frame *fp) in fc_seq_send_locked() 525 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send() 595 void (*resp)(struct fc_seq *, struct fc_frame *, void *), in fc_seq_set_resp() argument 637 struct fc_frame *fp; in fc_exch_abort_locked() [all …]
|
| H A D | fc_rport.c | 75 static void fc_rport_recv_plogi_req(struct fc_lport *, struct fc_frame *); 76 static void fc_rport_recv_prli_req(struct fc_rport_priv *, struct fc_frame *); 77 static void fc_rport_recv_prlo_req(struct fc_rport_priv *, struct fc_frame *); 78 static void fc_rport_recv_logo_req(struct fc_lport *, struct fc_frame *); 699 struct fc_frame *fp) in fc_rport_login_complete() 738 static void fc_rport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_rport_flogi_resp() 823 struct fc_frame *fp; in fc_rport_enter_flogi() 856 struct fc_frame *rx_fp) in fc_rport_recv_flogi_req() 860 struct fc_frame *fp = rx_fp; in fc_rport_recv_flogi_req() 982 static void fc_rport_plogi_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_rport_plogi_resp() [all …]
|
| H A D | fc_elsct.c | 32 struct fc_frame *fp, unsigned int op, in fc_elsct_send() argument 34 struct fc_frame *, in fc_elsct_send() 79 const char *fc_els_resp_type(struct fc_frame *fp) in fc_els_resp_type()
|
| H A D | fc_fcp.c | 77 static void fc_fcp_recv_data(struct fc_fcp_pkt *, struct fc_frame *); 78 static void fc_fcp_recv(struct fc_seq *, struct fc_frame *, void *); 79 static void fc_fcp_resp(struct fc_fcp_pkt *, struct fc_frame *); 81 static void fc_tm_done(struct fc_seq *, struct fc_frame *, void *); 82 static void fc_fcp_error(struct fc_fcp_pkt *, struct fc_frame *); 86 static void fc_fcp_rec_error(struct fc_fcp_pkt *, struct fc_frame *); 87 static void fc_fcp_rec_resp(struct fc_seq *, struct fc_frame *, void *); 91 static void fc_fcp_srr_resp(struct fc_seq *, struct fc_frame *, void *); 92 static void fc_fcp_srr_error(struct fc_fcp_pkt *, struct fc_frame *); 433 static inline struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport, in fc_fcp_frame_alloc() [all …]
|
| H A D | fc_lport.c | 101 static void fc_lport_error(struct fc_lport *, struct fc_frame *); 156 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop() 403 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_rlir_req() 420 struct fc_frame *in_fp) in fc_lport_recv_echo_req() 422 struct fc_frame *fp; in fc_lport_recv_echo_req() 455 struct fc_frame *in_fp) in fc_lport_recv_rnid_req() 457 struct fc_frame *fp; in fc_lport_recv_rnid_req() 512 static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_logo_req() 741 struct fc_frame *fp) in fc_lport_set_port_id() 796 struct fc_frame *rx_fp) in fc_lport_recv_flogi_req() [all …]
|
| H A D | fc_disc.c | 41 static void fc_disc_gpn_ft_resp(struct fc_seq *, struct fc_frame *, void *); 70 static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp) in fc_disc_recv_rscn_req() 178 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) in fc_disc_recv_req() 296 static void fc_disc_error(struct fc_disc *disc, struct fc_frame *fp) in fc_disc_error() 341 struct fc_frame *fp; in fc_disc_gpn_ft_req() 493 static void fc_disc_gpn_ft_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_disc_gpn_ft_resp() 565 static void fc_disc_gpn_id_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_disc_gpn_id_resp() 646 struct fc_frame *fp; in fc_disc_gpn_id_req()
|
| H A D | fc_libfc.c | 154 void fc_fill_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, in fc_fill_hdr() 210 void fc_fill_reply_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, in fc_fill_reply_hdr()
|
| H A D | Makefile | 11 fc_frame.o \
|
| H A D | fc_libfc.h | 114 const char *fc_els_resp_type(struct fc_frame *);
|
| /linux/drivers/target/tcm_fc/ |
| H A D | tfc_cmd.c | 71 struct fc_frame *fp; in ft_free_cmd() 103 struct fc_frame *fp; in ft_queue_status() 180 struct fc_frame *fp; in ft_write_pending() 229 static void ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg) in ft_recv_seq() 266 const struct fc_frame *rx_fp, in ft_send_resp_status() 269 struct fc_frame *fp; in ft_send_resp_status() 420 static void ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp) in ft_recv_cmd() 460 void ft_recv_req(struct ft_sess *sess, struct fc_frame *fp) in ft_recv_req()
|
| H A D | tcm_fc.h | 110 struct fc_frame *req_frame; 155 void ft_recv_req(struct ft_sess *, struct fc_frame *); 158 void ft_recv_write_data(struct ft_cmd *, struct fc_frame *);
|
| H A D | tfc_io.c | 44 struct fc_frame *fp = NULL; in ft_queue_data_in() 195 void ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp) in ft_recv_write_data()
|
| H A D | tfc_sess.c | 478 static void ft_recv(struct fc_lport *lport, struct fc_frame *fp) in ft_recv()
|
| /linux/drivers/scsi/bnx2fc/ |
| H A 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() 860 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, in bnx2fc_flogi_resp() 912 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, in bnx2fc_logo_resp() 926 struct fc_frame *fp, unsigned int op, in bnx2fc_elsct_send() argument [all …]
|
| H A D | bnx2fc.h | 484 struct fc_frame *fp; 526 int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp); 527 int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp); 528 int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp); 575 struct fc_frame *fp, unsigned int op, 577 struct fc_frame *,
|
| H A D | bnx2fc_fcoe.c | 217 struct fc_frame *fp) in bnx2fc_xmit_l2_frame() 264 static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp) in bnx2fc_xmit() 511 struct fc_frame *fp; in bnx2fc_recv_frame() 542 fp = (struct fc_frame *)skb; in bnx2fc_recv_frame()
|
| /linux/drivers/scsi/fcoe/ |
| H A D | fcoe.c | 73 static int fcoe_xmit(struct fc_lport *, struct fc_frame *); 119 u32 did, struct fc_frame *, 122 struct fc_frame *, 144 static void fcoe_set_port_id(struct fc_lport *, u32, struct fc_frame *); 895 static bool fcoe_oem_match(struct fc_frame *fp) in fcoe_oem_match() 1450 static int fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp) in fcoe_xmit() 1583 struct fc_frame *fp) in fcoe_filter_frames() 1633 struct fc_frame *fp; in fcoe_recv_frame() 1679 fp = (struct fc_frame *)skb; in fcoe_recv_frame() 2539 static void fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) in fcoe_flogi_resp() [all …]
|
| H A D | fcoe_ctlr.c | 700 struct fc_frame *fp; in fcoe_ctlr_els_send() 706 fp = container_of(skb, struct fc_frame, skb); in fcoe_ctlr_els_send() 1138 struct fc_frame *fp = (struct fc_frame *)skb; in fcoe_ctlr_recv_els() 1279 fp = (struct fc_frame *)skb; in fcoe_ctlr_recv_els() 1898 struct fc_frame *fp) in fcoe_ctlr_recv_flogi() 3001 static void fcoe_ctlr_disc_recv(struct fc_lport *lport, struct fc_frame *fp) in fcoe_ctlr_disc_recv()
|
| /linux/drivers/scsi/qedf/ |
| H A D | qedf_els.c | 330 struct fc_frame *fp, in qedf_process_l2_frame_compl() 423 struct fc_frame *fp; in qedf_l2_els_compl() 500 int qedf_send_adisc(struct qedf_rport *fcport, struct fc_frame *fp) in qedf_send_adisc() 544 struct fc_frame *fp; in qedf_srr_compl() 839 struct fc_frame *fp; in qedf_rec_compl()
|
| H A D | qedf_main.c | 226 static void qedf_set_data_src_addr(struct qedf_ctx *qedf, struct fc_frame *fp) in qedf_set_data_src_addr() 267 static void qedf_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, in qedf_flogi_resp() 307 struct fc_frame *fp, unsigned int op, in qedf_elsct_send() argument 309 struct fc_frame *, in qedf_elsct_send() 343 struct fc_frame *fp; in qedf_send_flogi() 1048 static int qedf_xmit_l2_frame(struct qedf_rport *fcport, struct fc_frame *fp) in qedf_xmit_l2_frame() 1070 static int qedf_xmit(struct fc_lport *lport, struct fc_frame *fp) in qedf_xmit() 2477 struct fc_frame *fp; in qedf_recv_frame() 2503 fp = (struct fc_frame *)skb; in qedf_recv_frame()
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_fcbuild.c | 462 fc_logout_params_pages(struct fchs_s *fc_frame, u8 els_code) in fc_logout_params_pages() argument 469 prlo = (struct fc_prlo_s *) (fc_frame + 1); in fc_logout_params_pages() 472 tprlo = (struct fc_tprlo_s *) (fc_frame + 1); in fc_logout_params_pages()
|
| H A D | bfa_fcbuild.h | 231 int fc_logout_params_pages(struct fchs_s *fc_frame, u8 els_code);
|