Home
last modified time | relevance | path

Searched refs:fc_frame_header (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v4.19/include/scsi/
Dfc_frame.h161 struct fc_frame_header *__fc_frame_header_get(const struct fc_frame *fp) in __fc_frame_header_get()
163 return (struct fc_frame_header *)fr_hdr(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()
173 WARN_ON(fr_len(fp) < sizeof(struct fc_frame_header)); in fc_frame_header_get()
208 if (fr_len(fp) >= sizeof(struct fc_frame_header) + len) in fc_frame_payload_get()
Dfc_encode.h54 static inline void __fc_fill_fc_hdr(struct fc_frame_header *fh, in __fc_fill_fc_hdr()
77 struct fc_frame_header *fh; in fc_fill_fc_hdr()
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_els.c21 struct fc_frame_header *fc_hdr; in qedf_initiate_els()
299 struct fc_frame_header *fh; in qedf_process_l2_frame_compl()
302 fh = (struct fc_frame_header *)fc_frame_header_get(fp); in qedf_process_l2_frame_compl()
374 struct fc_frame_header *fh, *mp_fc_hdr; in qedf_l2_els_compl()
418 if (sizeof(struct fc_frame_header) + resp_len > QEDF_PAGE_SIZE) { in qedf_l2_els_compl()
432 fh = (struct fc_frame_header *)fc_frame_header_get(fp); in qedf_l2_els_compl()
433 memcpy(fh, mp_fc_hdr, sizeof(struct fc_frame_header)); in qedf_l2_els_compl()
450 struct fc_frame_header *fh; in qedf_send_adisc()
490 struct fc_frame_header *mp_fc_hdr, *fh; in qedf_srr_compl()
537 fh = (struct fc_frame_header *)fc_frame_header_get(fp); in qedf_srr_compl()
[all …]
Dqedf.h52 sizeof(struct fc_frame_header))
68 struct fc_frame_header req_fc_hdr;
75 struct fc_frame_header resp_fc_hdr;
Dqedf_io.c700 struct fc_frame_header *fc_hdr; in qedf_init_mp_task()
2089 struct fc_frame_header *fh; in qedf_process_unsol_compl()
2127 payload_len = pktlen - sizeof(struct fc_frame_header); in qedf_process_unsol_compl()
2135 fh = (struct fc_frame_header *)fc_frame_header_get(fp); in qedf_process_unsol_compl()
/Linux-v4.19/drivers/scsi/libfc/
Dfc_frame.c61 len += sizeof(struct fc_frame_header); in _fc_frame_alloc()
87 payload_len + sizeof(struct fc_frame_header)); in fc_frame_alloc_fill()
Dfc_exch.c276 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_exch_setup_hdr()
478 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_seq_send_locked()
1004 struct fc_frame_header *fh; in fc_exch_resp()
1051 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_seq_lookup_recip()
1180 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_seq_lookup_orig()
1287 struct fc_frame_header *rx_fh; in fc_seq_send_ack()
1288 struct fc_frame_header *fh; in fc_seq_send_ack()
1351 struct fc_frame_header *rx_fh; in fc_exch_send_ba_rjt()
1352 struct fc_frame_header *fh; in fc_exch_send_ba_rjt()
1424 struct fc_frame_header *fh; in fc_exch_recv_abts()
[all …]
Dfc_lport.c435 len = fr_len(in_fp) - sizeof(struct fc_frame_header); in fc_lport_recv_echo_req()
677 mfs -= sizeof(struct fc_frame_header); in fc_set_mfs()
802 struct fc_frame_header *fh; in fc_lport_recv_flogi_req()
950 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_lport_recv()
1122 struct fc_frame_header *fh; in fc_lport_ns_resp()
1198 struct fc_frame_header *fh; in fc_lport_ms_resp()
1695 struct fc_frame_header *fh; in fc_lport_flogi_resp()
1891 struct fc_frame_header *fh; in fc_lport_bsg_resp()
1954 struct fc_frame_header *fh; in fc_lport_els_request()
2013 struct fc_frame_header *fh; in fc_lport_ct_request()
Dfc_libfc.c169 struct fc_frame_header *fh; in fc_fill_hdr()
170 struct fc_frame_header *in_fh; in fc_fill_hdr()
Dfc_elsct.c94 struct fc_frame_header *fh; in fc_els_resp_type()
Dfc_fcp.c490 struct fc_frame_header *fh; in fc_fcp_recv_data()
756 struct fc_frame_header *fh; in fc_fcp_abts_resp()
793 struct fc_frame_header *fh; in fc_fcp_recv()
866 struct fc_frame_header *fh; in fc_fcp_resp()
877 fh = (struct fc_frame_header *)fr_hdr(fp); in fc_fcp_resp()
1381 struct fc_frame_header *fh; in fc_tm_done()
1784 struct fc_frame_header *fh; in fc_fcp_srr_resp()
Dfc_disc.c513 struct fc_frame_header *fh; in fc_disc_gpn_ft_resp()
603 if (fr_len(fp) < sizeof(struct fc_frame_header) + in fc_disc_gpn_id_resp()
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_els.c127 struct fc_frame_header *fc_hdr; in bnx2fc_l2_els_compl()
185 struct fc_frame_header *fh; in bnx2fc_send_adisc()
213 struct fc_frame_header *fh; in bnx2fc_send_logo()
241 struct fc_frame_header *fh; in bnx2fc_send_rls()
268 struct fc_frame_header *fc_hdr, *fh; in bnx2fc_srr_compl()
344 fh = (struct fc_frame_header *) fc_frame_header_get(fp); in bnx2fc_srr_compl()
380 struct fc_frame_header *fc_hdr, *fh; in bnx2fc_rec_compl()
469 fh = (struct fc_frame_header *) fc_frame_header_get(fp); in bnx2fc_rec_compl()
681 struct fc_frame_header *fc_hdr; in bnx2fc_initiate_els()
809 struct fc_frame_header *fc_hdr; in bnx2fc_process_els_compl()
[all …]
Dbnx2fc.h98 (BNX2FC_MAX_PAYLOAD + sizeof(struct fc_frame_header))
396 struct fc_frame_header req_fc_hdr;
403 struct fc_frame_header resp_fc_hdr;
Dbnx2fc_fcoe.c222 struct fc_frame_header *fh; in bnx2fc_xmit_l2_frame()
271 struct fc_frame_header *fh; in bnx2fc_xmit()
435 struct fc_frame_header *fh; in bnx2fc_rcv()
471 fh = (struct fc_frame_header *) skb_transport_header(skb); in bnx2fc_rcv()
522 struct fc_frame_header *fh; in bnx2fc_recv_frame()
548 fh = (struct fc_frame_header *) skb_transport_header(skb); in bnx2fc_recv_frame()
/Linux-v4.19/drivers/target/tcm_fc/
Dtfc_cmd.c204 struct fc_frame_header *fh; in ft_write_pending()
257 struct fc_frame_header *fh; in ft_recv_seq()
296 const struct fc_frame_header *fh; in ft_send_resp_status()
487 struct fc_frame_header *fh = fc_frame_header_get(fp); in ft_recv_req()
513 struct fc_frame_header *fh = fc_frame_header_get(cmd->req_frame); in ft_send_work()
Dtfc_io.c215 struct fc_frame_header *fh; in ft_recv_write_data()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c389 struct fc_frame_header *fh; in ixgbe_fcoe_ddp()
403 fh = (struct fc_frame_header *)(skb->data + in ixgbe_fcoe_ddp()
406 fh = (struct fc_frame_header *)(skb->data + in ixgbe_fcoe_ddp()
492 struct fc_frame_header *fh; in ixgbe_fso()
557 fh = (struct fc_frame_header *)skb_transport_header(skb); in ixgbe_fso()
567 sizeof(struct fc_frame_header); in ixgbe_fso()
585 sizeof(struct fc_frame_header); in ixgbe_fso()
/Linux-v4.19/include/uapi/scsi/fc/
Dfc_fs.h34 struct fc_frame_header { struct
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_crtn.h26 struct fc_frame_header;
256 struct fc_frame_header *fc_hdr);
318 struct fc_frame_header *fc_hdr, bool aborted);
Dlpfc_nvmet.c324 struct fc_frame_header *fc_hdr; in lpfc_nvmet_ctxbuf_post()
355 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_ctxbuf_post()
1559 struct fc_frame_header *fc_hdr) in lpfc_nvmet_rcv_unsol_abort()
1740 struct fc_frame_header *fc_hdr; in lpfc_nvmet_unsol_ls_buffer()
1745 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_unsol_ls_buffer()
1901 struct fc_frame_header *fc_hdr; in lpfc_nvmet_unsol_fcp_buffer()
1945 fc_hdr = (struct fc_frame_header *)(nvmebuf->hbuf.virt); in lpfc_nvmet_unsol_fcp_buffer()
Dlpfc_sli.c13139 struct fc_frame_header *fc_hdr; in lpfc_sli4_sp_handle_rcqe()
13177 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_sp_handle_rcqe()
13533 struct fc_frame_header *fc_hdr; in lpfc_sli4_nvmet_handle_rcqe()
13578 fc_hdr = (struct fc_frame_header *)dma_buf->hbuf.virt; in lpfc_sli4_nvmet_handle_rcqe()
16577 lpfc_fc_frame_check(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr) in lpfc_fc_frame_check()
16617 fc_hdr = &((struct fc_frame_header *)fc_vft_hdr)[1]; in lpfc_fc_frame_check()
16664 lpfc_fc_hdr_get_vfi(struct fc_frame_header *fc_hdr) in lpfc_fc_hdr_get_vfi()
16686 lpfc_fc_frame_to_vport(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr, in lpfc_fc_frame_to_vport()
16828 struct fc_frame_header *new_hdr; in lpfc_fc_frame_add()
16829 struct fc_frame_header *temp_hdr; in lpfc_fc_frame_add()
[all …]
/Linux-v4.19/drivers/scsi/fcoe/
Dfcoe_ctlr.c378 return fip->lp->mfs + sizeof(struct fc_frame_header) + in fcoe_ctlr_fcoe_size()
619 struct fc_frame_header *fh; in fcoe_ctlr_encaps()
626 fh = (struct fc_frame_header *)skb->data; in fcoe_ctlr_encaps()
708 struct fc_frame_header *fh; in fcoe_ctlr_els_send()
714 fh = (struct fc_frame_header *)skb->data; in fcoe_ctlr_els_send()
1148 struct fc_frame_header *fh = NULL; in fcoe_ctlr_recv_els()
1232 fh = (struct fc_frame_header *)(els + 1); in fcoe_ctlr_recv_els()
1686 struct fc_frame_header *fh; in fcoe_ctlr_flogi_send_locked()
1701 fh = (struct fc_frame_header *)skb->data; in fcoe_ctlr_flogi_send_locked()
1914 struct fc_frame_header *fh; in fcoe_ctlr_recv_flogi()
Dfcoe.c911 struct fc_frame_header *fh = fc_frame_header_get(fp); in fcoe_oem_match()
1349 struct fc_frame_header *fh; in fcoe_rcv()
1394 fh = (struct fc_frame_header *) skb_transport_header(skb); in fcoe_rcv()
1486 struct fc_frame_header *fh; in fcoe_xmit()
1620 struct fc_frame_header *fh; in fcoe_filter_frames()
1634 fh = (struct fc_frame_header *) skb_transport_header(skb); in fcoe_filter_frames()
2644 struct fc_frame_header *fh = fc_frame_header_get(fp); in fcoe_elsct_send()
/Linux-v4.19/drivers/scsi/fnic/
Dfnic_fcs.c293 struct fc_frame_header *fh = NULL; in is_fnic_fip_flogi_reject()
335 fh = (struct fc_frame_header *)(els + 1); in is_fnic_fip_flogi_reject()
1077 struct fc_frame_header *fh; in fnic_send_frame()

12