Home
last modified time | relevance | path

Searched refs:fc_frame (Results 1 – 29 of 29) sorted by relevance

/linux-4.4.14/include/scsi/
Dfc_frame.h76 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 …]
Dlibfc.h453 void (*resp)(struct fc_seq *, struct fc_frame *, void *);
467 int (*frame_send)(struct fc_lport *, struct fc_frame *);
475 struct fc_frame *, unsigned int op,
477 struct fc_frame *, void *arg),
503 struct fc_seq *(*exch_seq_send)(struct fc_lport *, struct fc_frame *,
505 struct fc_frame *,
546 struct fc_frame *);
553 void (*seq_els_rsp_send)(struct fc_frame *, enum fc_els_cmd,
590 void (*resp)(struct fc_seq *, struct fc_frame *,
599 struct fc_seq *(*seq_assign)(struct fc_lport *, struct fc_frame *);
[all …]
Dfc_encode.h73 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 …]
Dlibfcoe.h255 struct fc_frame *);
261 u32 fcoe_fc_crc(struct fc_frame *fp);
/linux-4.4.14/drivers/scsi/libfc/
Dfc_frame.c34 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()
Dfc_exch.c128 bool (*match)(struct fc_frame *);
132 static void fc_seq_ls_acc(struct fc_frame *);
133 static void fc_seq_ls_rjt(struct fc_frame *, enum fc_els_rjt_reason,
135 static void fc_exch_els_rec(struct fc_frame *);
136 static void fc_exch_els_rrq(struct fc_frame *);
272 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr()
467 struct fc_frame *fp) in fc_seq_send_locked()
529 struct fc_frame *fp) in fc_seq_send()
597 void (*resp)(struct fc_seq *, struct fc_frame *, in fc_seq_set_resp() argument
632 struct fc_frame *fp; in fc_exch_abort_locked()
[all …]
Dfc_rport.c72 static void fc_rport_recv_plogi_req(struct fc_lport *, struct fc_frame *);
73 static void fc_rport_recv_prli_req(struct fc_rport_priv *, struct fc_frame *);
74 static void fc_rport_recv_prlo_req(struct fc_rport_priv *, struct fc_frame *);
75 static void fc_rport_recv_logo_req(struct fc_lport *, struct fc_frame *);
77 static void fc_rport_error(struct fc_rport_priv *, struct fc_frame *);
78 static void fc_rport_error_retry(struct fc_rport_priv *, struct fc_frame *);
544 static void fc_rport_error(struct fc_rport_priv *rdata, struct fc_frame *fp) in fc_rport_error()
583 struct fc_frame *fp) in fc_rport_error_retry()
617 struct fc_frame *fp) in fc_rport_login_complete()
656 static void fc_rport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_rport_flogi_resp()
[all …]
Dfc_elsct.c44 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()
Dfc_lport.c110 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()
410 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_rlir_req()
428 struct fc_frame *in_fp) in fc_lport_recv_echo_req()
430 struct fc_frame *fp; in fc_lport_recv_echo_req()
464 struct fc_frame *in_fp) in fc_lport_recv_rnid_req()
466 struct fc_frame *fp; in fc_lport_recv_rnid_req()
522 static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_logo_req()
753 struct fc_frame *fp) in fc_lport_set_port_id()
809 struct fc_frame *rx_fp) in fc_lport_recv_flogi_req()
[all …]
Dfc_fcp.c93 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 *);
420 static inline struct fc_frame *fc_fcp_frame_alloc(struct fc_lport *lport, in fc_fcp_frame_alloc()
[all …]
Dfc_disc.c51 static void fc_disc_gpn_ft_resp(struct fc_seq *, struct fc_frame *, void *);
85 static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp) in fc_disc_recv_rscn_req()
194 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()
359 struct fc_frame *fp; in fc_disc_gpn_ft_req()
509 static void fc_disc_gpn_ft_resp(struct fc_seq *sp, struct fc_frame *fp, in fc_disc_gpn_ft_resp()
581 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()
Dfc_libfc.c166 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()
DMakefile10 fc_frame.o \
Dfc_libfc.h126 const char *fc_els_resp_type(struct fc_frame *);
/linux-4.4.14/drivers/target/tcm_fc/
Dtcm_fc.h119 struct fc_frame *req_frame;
167 void ft_recv_req(struct ft_sess *, struct fc_frame *);
171 void ft_recv_write_data(struct ft_cmd *, struct fc_frame *);
Dtfc_cmd.c85 struct fc_frame *fp; in ft_free_cmd()
120 struct fc_frame *fp; in ft_queue_status()
198 struct fc_frame *fp; in ft_write_pending()
252 static void ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg) in ft_recv_seq()
289 const struct fc_frame *rx_fp, in ft_send_resp_status()
292 struct fc_frame *fp; in ft_send_resp_status()
437 static void ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp) in ft_recv_cmd()
476 void ft_recv_req(struct ft_sess *sess, struct fc_frame *fp) in ft_recv_req()
Dtfc_io.c57 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()
Dtfc_sess.c473 static void ft_recv(struct fc_lport *lport, struct fc_frame *fp) in ft_recv()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc.h482 struct fc_frame *fp;
517 int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp);
518 int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp);
519 int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp);
567 struct fc_frame *fp, unsigned int op,
569 struct fc_frame *,
Dbnx2fc_els.c18 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp,
20 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp,
174 int bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_adisc()
202 int bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_logo()
230 int bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp) in bnx2fc_send_rls()
263 struct fc_frame *fp; in bnx2fc_srr_compl()
381 struct fc_frame *fp; in bnx2fc_rec_compl()
849 static void bnx2fc_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, in bnx2fc_flogi_resp()
880 static void bnx2fc_logo_resp(struct fc_seq *seq, struct fc_frame *fp, in bnx2fc_logo_resp()
894 struct fc_frame *fp, unsigned int op, in bnx2fc_elsct_send() argument
[all …]
Dbnx2fc_fcoe.c196 struct fc_frame *fp) in bnx2fc_xmit_l2_frame()
243 static int bnx2fc_xmit(struct fc_lport *lport, struct fc_frame *fp) in bnx2fc_xmit()
501 struct fc_frame *fp; in bnx2fc_recv_frame()
527 fp = (struct fc_frame *)skb; in bnx2fc_recv_frame()
Dbnx2fc_hwi.c536 struct fc_frame *fp; in bnx2fc_unsol_els_work()
556 struct fc_frame *fp; in bnx2fc_process_l2_frame_compl()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_fcs.c157 struct fc_frame *fp; in fnic_handle_frame()
167 fp = (struct fc_frame *)skb; in fnic_handle_frame()
629 struct fc_frame *fp; in fnic_import_rq_eth_pkt()
667 fp = (struct fc_frame *)skb; in fnic_import_rq_eth_pkt()
734 void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) in fnic_set_port_id()
797 struct fc_frame *fp; in fnic_rq_cmpl_frame_recv()
817 fp = (struct fc_frame *)skb; in fnic_rq_cmpl_frame_recv()
973 struct fc_frame *fp = buf->os_buf; in fnic_free_rq_buf()
1045 static int fnic_send_frame(struct fnic *fnic, struct fc_frame *fp) in fnic_send_frame()
1134 int fnic_send(struct fc_lport *lp, struct fc_frame *fp) in fnic_send()
[all …]
Dfnic.h329 int fnic_send(struct fc_lport *, struct fc_frame *);
339 void fnic_set_port_id(struct fc_lport *, u32, struct fc_frame *);
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe.c80 static int fcoe_xmit(struct fc_lport *, struct fc_frame *);
126 u32 did, struct fc_frame *,
129 struct fc_frame *,
156 static void fcoe_set_port_id(struct fc_lport *, u32, struct fc_frame *);
864 static bool fcoe_oem_match(struct fc_frame *fp) in fcoe_oem_match()
1585 static int fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp) in fcoe_xmit()
1732 struct fc_frame *fp) in fcoe_filter_frames()
1788 struct fc_frame *fp; in fcoe_recv_frame()
1835 fp = (struct fc_frame *)skb; in fcoe_recv_frame()
2731 static void fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) in fcoe_flogi_resp()
[all …]
Dfcoe_ctlr.c705 struct fc_frame *fp; in fcoe_ctlr_els_send()
711 fp = container_of(skb, struct fc_frame, skb); in fcoe_ctlr_els_send()
1142 struct fc_frame *fp = (struct fc_frame *)skb; in fcoe_ctlr_recv_els()
1284 fp = (struct fc_frame *)skb; in fcoe_ctlr_recv_els()
1871 struct fc_frame *fp) in fcoe_ctlr_recv_flogi()
2718 static void fcoe_ctlr_disc_recv(struct fc_lport *lport, struct fc_frame *fp) in fcoe_ctlr_disc_recv()
Dfcoe_transport.c297 u32 fcoe_fc_crc(struct fc_frame *fp) in fcoe_fc_crc()
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_fcbuild.h291 int fc_logout_params_pages(struct fchs_s *fc_frame, u8 els_code);
Dbfa_fcbuild.c673 fc_logout_params_pages(struct fchs_s *fc_frame, u8 els_code) in fc_logout_params_pages() argument
680 prlo = (struct fc_prlo_s *) (fc_frame + 1); in fc_logout_params_pages()
683 tprlo = (struct fc_tprlo_s *) (fc_frame + 1); in fc_logout_params_pages()