Home
last modified time | relevance | path

Searched refs:fc_frame (Results 1 - 25 of 72) sorted by relevance

123

/kernel/linux/linux-5.10/include/scsi/
H A Dfc_frame.h39 * The fc_frame interface is used to pass frame data between functions.
64 struct fc_frame { struct
83 * Get fc_frame pointer for an skb that's already been imported.
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);
113 * Allocate fc_frame structure and buffer. Set the initial length to
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()
132 * Free the fc_frame structur
[all...]
H A Dlibfc.h26 #include <scsi/fc_frame.h>
449 void (*resp)(struct fc_seq *, struct fc_frame *, void *);
463 int (*frame_send)(struct fc_lport *, struct fc_frame *);
471 struct fc_frame *, unsigned int op,
473 struct fc_frame *, void *arg),
533 struct fc_frame *);
553 void (*resp)(struct fc_seq *, struct fc_frame *,
575 void (*disc_recv_req)(struct fc_lport *, struct fc_frame *);
765 void (*recv)(struct fc_lport *, struct fc_frame *);
900 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *f
[all...]
H A Dfc_encode.h59 * fill FC header fields in specified fc_frame
61 static inline void fc_fill_fc_hdr(struct fc_frame *fp, enum fc_rctl r_ctl, in fc_fill_fc_hdr()
76 static inline void fc_adisc_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_adisc_fill()
92 static inline struct fc_ct_req *fc_ct_hdr_fill(const struct fc_frame *fp, in fc_ct_hdr_fill()
120 u32 fc_id, struct fc_frame *fp, in fc_ct_ns_fill()
204 u32 fc_id, struct fc_frame *fp, in fc_ct_ms_fill()
498 u32 fc_id, struct fc_frame *fp, in fc_ct_fill()
521 static inline void fc_plogi_fill(struct fc_lport *lport, struct fc_frame *fp, in fc_plogi_fill()
554 static inline void fc_flogi_fill(struct fc_lport *lport, struct fc_frame *fp) in fc_flogi_fill()
579 static inline void fc_fdisc_fill(struct fc_lport *lport, struct fc_frame *f
[all...]
/kernel/linux/linux-6.6/include/scsi/
H A Dfc_frame.h39 * The fc_frame interface is used to pass frame data between functions.
64 struct fc_frame { struct
83 * Get fc_frame pointer for an skb that's already been imported.
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);
113 * Allocate fc_frame structure and buffer. Set the initial length to
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()
132 * Free the fc_frame structur
[all...]
H A Dlibfc.h26 #include <scsi/fc_frame.h>
458 void (*resp)(struct fc_seq *, struct fc_frame *, void *);
472 int (*frame_send)(struct fc_lport *, struct fc_frame *);
480 struct fc_frame *, unsigned int op,
482 struct fc_frame *, void *arg),
542 struct fc_frame *);
562 void (*resp)(struct fc_seq *, struct fc_frame *,
584 void (*disc_recv_req)(struct fc_lport *, struct fc_frame *);
774 void (*recv)(struct fc_lport *, struct fc_frame *);
909 void fc_lport_recv(struct fc_lport *lport, struct fc_frame *f
[all...]
/kernel/linux/linux-5.10/drivers/scsi/libfc/
H A Dfc_frame.c17 #include <scsi/fc_frame.h>
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 Dfc_exch.c119 bool (*match)(struct fc_frame *);
123 static void fc_seq_ls_acc(struct fc_frame *);
124 static void fc_seq_ls_rjt(struct fc_frame *, enum fc_els_rjt_reason,
126 static void fc_exch_els_rec(struct fc_frame *);
127 static void fc_exch_els_rrq(struct fc_frame *);
263 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, in fc_exch_setup_hdr()
465 struct fc_frame *fp) in fc_seq_send_locked()
526 int fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) in fc_seq_send()
596 void (*resp)(struct fc_seq *, struct fc_frame *, void *), in fc_seq_set_resp()
638 struct fc_frame *f in fc_exch_abort_locked()
[all...]
H A Dfc_rport.c75 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 *f
[all...]
H A Dfc_elsct.c32 struct fc_frame *fp, unsigned int op, in fc_elsct_send()
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 Dfc_fcp.c81 static void fc_fcp_recv_data(struct fc_fcp_pkt *, struct fc_frame *);
82 static void fc_fcp_recv(struct fc_seq *, struct fc_frame *, void *);
83 static void fc_fcp_resp(struct fc_fcp_pkt *, struct fc_frame *);
85 static void fc_tm_done(struct fc_seq *, struct fc_frame *, void *);
86 static void fc_fcp_error(struct fc_fcp_pkt *, struct fc_frame *);
90 static void fc_fcp_rec_error(struct fc_fcp_pkt *, struct fc_frame *);
91 static void fc_fcp_rec_resp(struct fc_seq *, struct fc_frame *, void *);
95 static void fc_fcp_srr_resp(struct fc_seq *, struct fc_frame *, void *);
96 static void fc_fcp_srr_error(struct fc_fcp_pkt *, struct fc_frame *);
432 * fc_fcp_frame_alloc() - Allocates fc_frame structur
[all...]
H A Dfc_lport.c98 static void fc_lport_error(struct fc_lport *, struct fc_frame *);
153 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) in fc_frame_drop()
400 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_rlir_req()
417 struct fc_frame *in_fp) in fc_lport_recv_echo_req()
419 struct fc_frame *fp; in fc_lport_recv_echo_req()
452 struct fc_frame *in_fp) in fc_lport_recv_rnid_req()
454 struct fc_frame *fp; in fc_lport_recv_rnid_req()
509 static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) in fc_lport_recv_logo_req()
738 struct fc_frame *fp) in fc_lport_set_port_id()
793 struct fc_frame *rx_f in fc_lport_recv_flogi_req()
[all...]
H A Dfc_libfc.c154 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()
/kernel/linux/linux-6.6/drivers/scsi/libfc/
H A Dfc_frame.c17 #include <scsi/fc_frame.h>
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 Dfc_exch.c118 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()
637 struct fc_frame *f in fc_exch_abort_locked()
[all...]
H A Dfc_rport.c75 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 *f
[all...]
H A Dfc_elsct.c32 struct fc_frame *fp, unsigned int op, in fc_elsct_send()
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 Dfc_fcp.c77 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 *);
426 * fc_fcp_frame_alloc() - Allocates fc_frame structur
[all...]
H A Dfc_lport.c101 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_f in fc_lport_recv_flogi_req()
[all...]
H A Dfc_libfc.c154 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()
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
H A Dtfc_cmd.c72 struct fc_frame *fp; in ft_free_cmd()
104 struct fc_frame *fp; in ft_queue_status()
181 struct fc_frame *fp; in ft_write_pending()
235 static void ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg) in ft_recv_seq()
272 const struct fc_frame *rx_fp, in ft_send_resp_status()
275 struct fc_frame *fp; in ft_send_resp_status()
426 static void ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp) in ft_recv_cmd()
466 void ft_recv_req(struct ft_sess *sess, struct fc_frame *fp) in ft_recv_req()
H A Dtcm_fc.h110 struct fc_frame *req_frame;
156 void ft_recv_req(struct ft_sess *, struct fc_frame *);
159 void ft_recv_write_data(struct ft_cmd *, struct fc_frame *);
/kernel/linux/linux-6.6/drivers/target/tcm_fc/
H A Dtfc_cmd.c71 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 Dtcm_fc.h110 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 *);
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfnic_fcs.c30 #include <scsi/fc_frame.h>
197 struct fc_frame *fp; in fnic_handle_frame()
207 fp = (struct fc_frame *)skb; in fnic_handle_frame()
664 struct fc_frame *fp; in fnic_import_rq_eth_pkt()
702 fp = (struct fc_frame *)skb; in fnic_import_rq_eth_pkt()
769 void fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) in fnic_set_port_id()
832 struct fc_frame *fp; in fnic_rq_cmpl_frame_recv()
851 fp = (struct fc_frame *)skb; in fnic_rq_cmpl_frame_recv()
1004 struct fc_frame *fp = buf->os_buf; in fnic_free_rq_buf()
1073 static int fnic_send_frame(struct fnic *fnic, struct fc_frame *f
[all...]
/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/
H A Dbnx2fc_els.c19 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 *f in bnx2fc_elsct_send()
[all...]

Completed in 24 milliseconds

123