Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/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.c275 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_exch_setup_hdr()
470 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_seq_send_locked()
960 struct fc_frame_header *fh; in fc_exch_resp()
1007 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_seq_lookup_recip()
1136 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_seq_lookup_orig()
1242 struct fc_frame_header *rx_fh; in fc_seq_send_ack()
1243 struct fc_frame_header *fh; in fc_seq_send_ack()
1304 struct fc_frame_header *rx_fh; in fc_exch_send_ba_rjt()
1305 struct fc_frame_header *fh; in fc_exch_send_ba_rjt()
1372 struct fc_frame_header *fh; in fc_exch_recv_abts()
[all …]
Dfc_libfc.c169 struct fc_frame_header *fh; in fc_fill_hdr()
170 struct fc_frame_header *in_fh; in fc_fill_hdr()
Dfc_lport.c438 len = fr_len(in_fp) - sizeof(struct fc_frame_header); in fc_lport_recv_echo_req()
682 mfs -= sizeof(struct fc_frame_header); in fc_set_mfs()
812 struct fc_frame_header *fh; in fc_lport_recv_flogi_req()
957 struct fc_frame_header *fh = fc_frame_header_get(fp); in fc_lport_recv_req()
1129 struct fc_frame_header *fh; in fc_lport_ns_resp()
1205 struct fc_frame_header *fh; in fc_lport_ms_resp()
1708 struct fc_frame_header *fh; in fc_lport_flogi_resp()
1908 struct fc_frame_header *fh; in fc_lport_bsg_resp()
1974 struct fc_frame_header *fh; in fc_lport_els_request()
2034 struct fc_frame_header *fh; in fc_lport_ct_request()
Dfc_elsct.c94 struct fc_frame_header *fh; in fc_els_resp_type()
Dfc_fcp.c446 struct fc_frame_header *fh; in fc_fcp_recv_data()
710 struct fc_frame_header *fh; in fc_fcp_abts_resp()
754 struct fc_frame_header *fh; in fc_fcp_recv()
822 struct fc_frame_header *fh; in fc_fcp_resp()
833 fh = (struct fc_frame_header *)fr_hdr(fp); in fc_fcp_resp()
1333 struct fc_frame_header *fh; in fc_tm_done()
1721 struct fc_frame_header *fh; in fc_fcp_srr_resp()
Dfc_disc.c514 struct fc_frame_header *fh; in fc_disc_gpn_ft_resp()
605 if (fr_len(fp) < sizeof(struct fc_frame_header) + in fc_disc_gpn_id_resp()
Dfc_rport.c1732 len = fr_len(rx_fp) - sizeof(struct fc_frame_header); in fc_rport_recv_prli_req()
1848 len = fr_len(rx_fp) - sizeof(struct fc_frame_header); in fc_rport_recv_prlo_req()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_els.c119 struct fc_frame_header *fc_hdr; in bnx2fc_l2_els_compl()
177 struct fc_frame_header *fh; in bnx2fc_send_adisc()
205 struct fc_frame_header *fh; in bnx2fc_send_logo()
233 struct fc_frame_header *fh; in bnx2fc_send_rls()
260 struct fc_frame_header *fc_hdr, *fh; in bnx2fc_srr_compl()
336 fh = (struct fc_frame_header *) fc_frame_header_get(fp); in bnx2fc_srr_compl()
372 struct fc_frame_header *fc_hdr, *fh; in bnx2fc_rec_compl()
461 fh = (struct fc_frame_header *) fc_frame_header_get(fp); in bnx2fc_rec_compl()
673 struct fc_frame_header *fc_hdr; in bnx2fc_initiate_els()
801 struct fc_frame_header *fc_hdr; in bnx2fc_process_els_compl()
[all …]
Dbnx2fc.h97 (BNX2FC_MAX_PAYLOAD + sizeof(struct fc_frame_header))
393 struct fc_frame_header req_fc_hdr;
400 struct fc_frame_header resp_fc_hdr;
Dbnx2fc_fcoe.c199 struct fc_frame_header *fh; in bnx2fc_xmit_l2_frame()
248 struct fc_frame_header *fh; in bnx2fc_xmit()
412 struct fc_frame_header *fh; in bnx2fc_rcv()
448 fh = (struct fc_frame_header *) skb_transport_header(skb); in bnx2fc_rcv()
499 struct fc_frame_header *fh; in bnx2fc_recv_frame()
523 fh = (struct fc_frame_header *) skb_transport_header(skb); in bnx2fc_recv_frame()
Dbnx2fc_hwi.c555 struct fc_frame_header *fh; in bnx2fc_process_l2_frame_compl()
572 payload_len = frame_len - sizeof(struct fc_frame_header); in bnx2fc_process_l2_frame_compl()
581 fh = (struct fc_frame_header *) fc_frame_header_get(fp); in bnx2fc_process_l2_frame_compl()
1592 struct fc_frame_header *fc_hdr; in bnx2fc_init_mp_task()
Dbnx2fc_io.c661 struct fc_frame_header *fc_hdr; in bnx2fc_initiate_tmf()
818 struct fc_frame_header *fc_hdr; in bnx2fc_initiate_abts()
1461 struct fc_frame_header *fc_hdr; in bnx2fc_process_tm_compl()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c214 static inline u16 i40e_fcoe_fc_get_xid(struct fc_frame_header *fh) in i40e_fcoe_fc_get_xid()
232 static inline struct fc_frame_header *i40e_fcoe_fc_frame_header( in i40e_fcoe_fc_frame_header()
240 return (struct fc_frame_header *)fh; in i40e_fcoe_fc_frame_header()
695 struct fc_frame_header *fh = NULL; in i40e_fcoe_handle_offload()
1014 struct fc_frame_header *fh; in i40e_fcoe_program_ddp()
1072 fh = (struct fc_frame_header *)skb_transport_header(skb); in i40e_fcoe_program_ddp()
1148 struct fc_frame_header *fh; in i40e_fcoe_handle_ddp()
1154 fh = (struct fc_frame_header *)skb_transport_header(skb); in i40e_fcoe_handle_ddp()
1210 struct fc_frame_header *fh; in i40e_fcoe_tso()
1226 *hdr_len = skb_transport_offset(skb) + sizeof(struct fc_frame_header) + in i40e_fcoe_tso()
[all …]
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_cmd.c202 struct fc_frame_header *fh; in ft_write_pending()
255 struct fc_frame_header *fh; in ft_recv_seq()
294 const struct fc_frame_header *fh; in ft_send_resp_status()
478 struct fc_frame_header *fh = fc_frame_header_get(fp); in ft_recv_req()
504 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-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c413 struct fc_frame_header *fh; in ixgbe_fcoe_ddp()
427 fh = (struct fc_frame_header *)(skb->data + in ixgbe_fcoe_ddp()
430 fh = (struct fc_frame_header *)(skb->data + in ixgbe_fcoe_ddp()
516 struct fc_frame_header *fh; in ixgbe_fso()
580 fh = (struct fc_frame_header *)skb_transport_header(skb); in ixgbe_fso()
590 sizeof(struct fc_frame_header); in ixgbe_fso()
606 sizeof(struct fc_frame_header); in ixgbe_fso()
Dixgbe_main.c2110 sizeof(struct fc_frame_header) - in ixgbe_clean_rx_irq()
/linux-4.4.14/include/uapi/scsi/fc/
Dfc_fs.h33 struct fc_frame_header { struct
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe_ctlr.c375 return fip->lp->mfs + sizeof(struct fc_frame_header) + in fcoe_ctlr_fcoe_size()
616 struct fc_frame_header *fh; in fcoe_ctlr_encaps()
623 fh = (struct fc_frame_header *)skb->data; in fcoe_ctlr_encaps()
706 struct fc_frame_header *fh; in fcoe_ctlr_els_send()
712 fh = (struct fc_frame_header *)skb->data; in fcoe_ctlr_els_send()
1143 struct fc_frame_header *fh = NULL; in fcoe_ctlr_recv_els()
1227 fh = (struct fc_frame_header *)(els + 1); in fcoe_ctlr_recv_els()
1645 struct fc_frame_header *fh; in fcoe_ctlr_flogi_send_locked()
1660 fh = (struct fc_frame_header *)skb->data; in fcoe_ctlr_flogi_send_locked()
1873 struct fc_frame_header *fh; in fcoe_ctlr_recv_flogi()
Dfcoe.c866 struct fc_frame_header *fh = fc_frame_header_get(fp); in fcoe_oem_match()
1435 struct fc_frame_header *fh; in fcoe_rcv()
1480 fh = (struct fc_frame_header *) skb_transport_header(skb); in fcoe_rcv()
1593 struct fc_frame_header *fh; in fcoe_xmit()
1736 struct fc_frame_header *fh; in fcoe_filter_frames()
1750 fh = (struct fc_frame_header *) skb_transport_header(skb); in fcoe_filter_frames()
2789 struct fc_frame_header *fh = fc_frame_header_get(fp); in fcoe_elsct_send()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_fcs.c269 struct fc_frame_header *fh = NULL; in is_fnic_fip_flogi_reject()
311 fh = (struct fc_frame_header *)(els + 1); in is_fnic_fip_flogi_reject()
1053 struct fc_frame_header *fh; in fnic_send_frame()
Dfnic_trace.c736 int fchdr_len = sizeof(struct fc_frame_header); in copy_and_format_trace_data()
Dfnic_main.c858 sizeof(struct fc_frame_header))) { in fnic_probe()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_sli.c14590 lpfc_fc_frame_check(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr) in lpfc_fc_frame_check()
14629 fc_hdr = &((struct fc_frame_header *)fc_vft_hdr)[1]; in lpfc_fc_frame_check()
14673 lpfc_fc_hdr_get_vfi(struct fc_frame_header *fc_hdr) in lpfc_fc_hdr_get_vfi()
14695 lpfc_fc_frame_to_vport(struct lpfc_hba *phba, struct fc_frame_header *fc_hdr, in lpfc_fc_frame_to_vport()
14839 struct fc_frame_header *new_hdr; in lpfc_fc_frame_add()
14840 struct fc_frame_header *temp_hdr; in lpfc_fc_frame_add()
14848 new_hdr = (struct fc_frame_header *)dmabuf->hbuf.virt; in lpfc_fc_frame_add()
14851 temp_hdr = (struct fc_frame_header *)h_buf->virt; in lpfc_fc_frame_add()
14890 temp_hdr = (struct fc_frame_header *)temp_dmabuf->hbuf.virt; in lpfc_fc_frame_add()
14924 struct fc_frame_header *new_hdr; in lpfc_sli4_abort_partial_seq()
[all …]
Dlpfc_bsg.c1159 struct fc_frame_header fc_hdr; in lpfc_bsg_ct_unsol_abort()
1160 struct fc_frame_header *fc_hdr_ptr = &fc_hdr; in lpfc_bsg_ct_unsol_abort()
1165 memcpy(fc_hdr_ptr, dmabuf->hbuf.virt, sizeof(struct fc_frame_header)); in lpfc_bsg_ct_unsol_abort()