Home
last modified time | relevance | path

Searched refs:pkt_datalen (Results 1 – 14 of 14) sorted by relevance

/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c118 if (pkt->pkt_datalen && (pkt->pkt_tran_type == FC_PKT_FCP_READ)) { in emlxs_handle_fcp_event()
119 EMLXS_MPDATA_SYNC(pkt->pkt_data_dma, 0, pkt->pkt_datalen, in emlxs_handle_fcp_event()
124 (pkt->pkt_datalen >= 512)) { in emlxs_handle_fcp_event()
129 cmd->un.fcpi.fcpi_parm = pkt->pkt_datalen - 512; in emlxs_handle_fcp_event()
214 pkt->pkt_data_resid = pkt->pkt_datalen; in emlxs_handle_fcp_event()
246 did, sbp, scsi_opcode, pkt->pkt_datalen); in emlxs_handle_fcp_event()
254 if (pkt->pkt_datalen) { in emlxs_handle_fcp_event()
257 LE_SWAP32(pkt->pkt_datalen); in emlxs_handle_fcp_event()
303 if (pkt->pkt_datalen == 0) { in emlxs_handle_fcp_event()
331 data_rx = pkt->pkt_datalen - pkt->pkt_data_resid; in emlxs_handle_fcp_event()
[all …]
H A Demlxs_pkt.c106 if (pkt->pkt_datalen) { in emlxs_pkt_free()
187 pkt->pkt_datalen = datalen; in emlxs_pkt_alloc()
H A Demlxs_sli3.c2283 size = (int32_t)pkt->pkt_datalen; in emlxs_pkt_to_bpl()
2312 size = (int32_t)pkt->pkt_datalen; in emlxs_pkt_to_bpl()
2402 if ((pkt->pkt_datalen == 0) || in emlxs_sli2_bde_setup()
2546 if ((pkt->pkt_datalen == 0) || in emlxs_sli3_bde_setup()
3849 if (pkt->pkt_datalen == 0) { in emlxs_sli3_prep_fcp_iocb()
3854 iocb->un.fcpi64.fcpi_parm = pkt->pkt_datalen; in emlxs_sli3_prep_fcp_iocb()
H A Demlxs_els.c175 pkt->pkt_data_resid = pkt->pkt_datalen; in emlxs_els_handle_event()
2898 pkt->pkt_data_resid = pkt->pkt_datalen; in emlxs_menlo_handle_event()
3077 pkt->pkt_data_resid = pkt->pkt_datalen; in emlxs_ct_handle_event()
H A Demlxs_sli4.c2451 size = (int32_t)pkt->pkt_datalen; in emlxs_pkt_to_sgl()
2476 size = (int32_t)pkt->pkt_datalen; in emlxs_pkt_to_sgl()
2582 if (pkt->pkt_datalen != 0) { in emlxs_sli4_bde_setup()
4246 xrip->SGList.phys, pkt->pkt_datalen); in emlxs_sli4_prep_fcp_iocb()
4250 pkt->pkt_cmd, pkt->pkt_cmdlen, pkt->pkt_rsplen, pkt->pkt_datalen); in emlxs_sli4_prep_fcp_iocb()
4268 if (pkt->pkt_datalen == 0) { in emlxs_sli4_prep_fcp_iocb()
4282 wqe->un.FcpCmd.TotalTransferCount = pkt->pkt_datalen; in emlxs_sli4_prep_fcp_iocb()
H A Demlxs_solaris.c8741 if (pkt->pkt_datalen && pkt->pkt_tran_type == FC_PKT_FCP_WRITE) { in emlxs_send_fcp_cmd()
8742 EMLXS_MPDATA_SYNC(pkt->pkt_data_dma, 0, pkt->pkt_datalen, in emlxs_send_fcp_cmd()
10723 pkt->pkt_data_resid = pkt->pkt_datalen; in emlxs_set_pkt_state()
12278 if (pkt->pkt_datalen) { in emlxs_check_dma()
/titanic_50/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfctl.h149 uint32_t pkt_datalen; /* data length */ member
/titanic_50/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c2876 report_lun = kmem_zalloc(fpkt->pkt_datalen, KM_SLEEP); in fcp_is_reconfig_needed()
2879 fpkt->pkt_datalen); in fcp_is_reconfig_needed()
2888 lun_buflen = (fpkt->pkt_datalen - in fcp_is_reconfig_needed()
2932 kmem_free(report_lun, fpkt->pkt_datalen); in fcp_is_reconfig_needed()
2977 kmem_free(report_lun, fpkt->pkt_datalen); in fcp_is_reconfig_needed()
5188 fpkt->pkt_datalen = 0; in fcp_send_els()
5631 fpkt->pkt_datalen = 0; in fcp_unsol_prli()
5791 fpkt->pkt_datalen = data_len; in fcp_icmd_alloc()
5997 if ((fpkt->pkt_datalen != 0) && in fcp_alloc_dma()
6008 if (ddi_dma_mem_alloc(fpkt->pkt_data_dma, fpkt->pkt_datalen, in fcp_alloc_dma()
[all …]
H A Dfcip.c4178 fc_pkt->pkt_cmdlen, fc_pkt->pkt_rsplen, fc_pkt->pkt_datalen)); in fcip_start()
6668 fc_pkt->pkt_datalen = 0; in fcip_ipkt_alloc()
6891 fc_pkt->pkt_datalen = 0; in fcip_init_unicast_pkt()
H A Dfcsm.c2070 pkt->pkt_datalen = 0; in fcsm_alloc_cmd()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_eth.c630 ((xch->xch_fpkt->pkt_datalen % 0x200) == 0) && in fcoei_process_sol_fcp_resp()
633 xch->xch_resid, xch->xch_fpkt->pkt_datalen); in fcoei_process_sol_fcp_resp()
H A Dfcoei_lv.c1064 xch->xch_resid = (int)fpkt->pkt_datalen; in fcoei_initiate_fcp_cmd()
/titanic_50/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c1991 pkt->pkt_datalen = 0; in fp_alloc_pkt()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c4856 (pkt->pkt_datalen != 0)) != 0) { in ql_cmd_setup()