Home
last modified time | relevance | path

Searched refs:pkt_cmd_dma (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_pkt.c119 (void) ddi_dma_unbind_handle(pkt->pkt_cmd_dma); in emlxs_pkt_free()
121 (void) ddi_dma_free_handle(&pkt->pkt_cmd_dma); in emlxs_pkt_free()
201 NULL, &pkt->pkt_cmd_dma) != DDI_SUCCESS) { in emlxs_pkt_alloc()
208 if (ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmdlen, in emlxs_pkt_alloc()
212 (void) ddi_dma_free_handle(&pkt->pkt_cmd_dma); in emlxs_pkt_alloc()
222 (void) ddi_dma_free_handle(&pkt->pkt_cmd_dma); in emlxs_pkt_alloc()
230 if (ddi_dma_addr_bind_handle(pkt->pkt_cmd_dma, NULL, in emlxs_pkt_alloc()
236 if (ddi_dma_addr_bind_handle(pkt->pkt_cmd_dma, NULL, in emlxs_pkt_alloc()
243 (void) ddi_dma_free_handle(&pkt->pkt_cmd_dma); in emlxs_pkt_alloc()
412 (void) ddi_dma_unbind_handle(pkt->pkt_cmd_dma); in emlxs_pkt_alloc()
[all …]
H A Demlxs_solaris.c8760 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_fcp_cmd()
9030 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_ip()
9318 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_els()
9852 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_els_rsp()
9948 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_menlo()
10060 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_ct()
10127 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_ct_rsp()
12268 if (emlxs_fm_check_dma_handle(hba, pkt->pkt_cmd_dma) in emlxs_check_dma()
12273 pkt->pkt_cmd_dma); in emlxs_check_dma()
H A Demlxs_sli3.c3705 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_sli3_prep_fct_iocb()
H A Demlxs_sli4.c4392 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_sli4_prep_fct_iocb()
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c1984 callback, NULL, &pkt->pkt_cmd_dma) != DDI_SUCCESS) { in fcsm_cmd_cache_constructor()
1991 ddi_dma_free_handle(&pkt->pkt_cmd_dma); in fcsm_cmd_cache_constructor()
1995 pkt->pkt_cmd_dma = NULL; in fcsm_cmd_cache_constructor()
2023 if (pkt->pkt_cmd_dma != NULL) { in fcsm_cmd_cache_destructor()
2024 ddi_dma_free_handle(&pkt->pkt_cmd_dma); in fcsm_cmd_cache_destructor()
2087 ASSERT(pkt->pkt_cmd_dma != NULL); in fcsm_alloc_cmd()
2089 rval = ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmd_len, in fcsm_alloc_cmd()
2112 rval = ddi_dma_addr_bind_handle(pkt->pkt_cmd_dma, NULL, in fcsm_alloc_cmd()
2152 ddi_dma_nextcookie(pkt->pkt_cmd_dma, &pkt_cookie); in fcsm_alloc_cmd()
2296 (void) ddi_dma_unbind_handle(pkt->pkt_cmd_dma); in fcsm_free_cmd_dma()
H A Dfcp.c5975 ASSERT(fpkt->pkt_cmd_dma == NULL && fpkt->pkt_data_dma == NULL && in fcp_alloc_dma()
5995 ASSERT(fpkt->pkt_cmd_dma == NULL && in fcp_alloc_dma()
6125 ASSERT(fpkt->pkt_resp_dma != NULL && fpkt->pkt_cmd_dma != NULL); in fcp_free_dma()
10595 ASSERT(fpkt->pkt_cmd_dma == NULL); in fcp_alloc_cmd_resp()
10599 cb, NULL, &fpkt->pkt_cmd_dma) != DDI_SUCCESS) { in fcp_alloc_cmd_resp()
10604 rval = ddi_dma_mem_alloc(fpkt->pkt_cmd_dma, cmd_len, in fcp_alloc_cmd_resp()
10609 ddi_dma_free_handle(&fpkt->pkt_cmd_dma); in fcp_alloc_cmd_resp()
10615 ddi_dma_free_handle(&fpkt->pkt_cmd_dma); in fcp_alloc_cmd_resp()
10620 rval = ddi_dma_addr_bind_handle(fpkt->pkt_cmd_dma, NULL, in fcp_alloc_cmd_resp()
10626 ddi_dma_free_handle(&fpkt->pkt_cmd_dma); in fcp_alloc_cmd_resp()
[all …]
H A Dfcip.c5692 &fc_pkt->pkt_cmd_dma) != DDI_SUCCESS) { in fcip_cache_constructor()
5727 if (fc_pkt->pkt_cmd_dma) { in fcip_cache_destructor()
5728 ddi_dma_free_handle(&fc_pkt->pkt_cmd_dma); in fcip_cache_destructor()
6375 if (ddi_dma_addr_bind_handle(fc_pkt->pkt_cmd_dma, NULL, in fcip_pkt_alloc()
6402 ddi_dma_nextcookie(fc_pkt->pkt_cmd_dma, &pkt_cookie); in fcip_pkt_alloc()
6496 &fc_pkt->pkt_cmd_dma) != DDI_SUCCESS) { in fcip_ipkt_alloc()
6500 if (ddi_dma_mem_alloc(fc_pkt->pkt_cmd_dma, cmdlen, in fcip_ipkt_alloc()
6514 if (ddi_dma_addr_bind_handle(fc_pkt->pkt_cmd_dma, NULL, in fcip_ipkt_alloc()
6542 ddi_dma_nextcookie(fc_pkt->pkt_cmd_dma, &pkt_cookie); in fcip_ipkt_alloc()
6796 (void) ddi_dma_unbind_handle(fc_pkt->pkt_cmd_dma); in fcip_free_pkt_dma()
[all …]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfctl.h161 ddi_dma_handle_t pkt_cmd_dma; /* command DMA */ member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_fm.c150 rval = qlc_fm_check_dma_handle(ha, pkt->pkt_cmd_dma); in qlc_fm_check_pkt_dma_handle()
H A Dql_api.c5179 QL_CLEAR_DMA_HANDLE(pkt->pkt_cmd_dma); in ql_cmd_setup()
5181 *rval = qlc_fm_check_dma_handle(ha, pkt->pkt_cmd_dma); in ql_cmd_setup()
5512 (void) ddi_dma_sync(pkt->pkt_cmd_dma, 0, 0, DDI_DMA_SYNC_FORDEV); in ql_p2p_plogi()
7572 (void) ddi_dma_sync(pkt->pkt_cmd_dma, in ql_fcp_ip_cmd()
7677 (void) ddi_dma_sync(pkt->pkt_cmd_dma, 0, 0, in ql_fc_services()
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c1887 &pkt->pkt_cmd_dma) != DDI_SUCCESS) { in fp_cache_constructor()
1894 ddi_dma_free_handle(&pkt->pkt_cmd_dma); in fp_cache_constructor()
1898 pkt->pkt_cmd_dma = 0; in fp_cache_constructor()
1925 if (pkt->pkt_cmd_dma) { in fp_cache_destructor()
1926 ddi_dma_free_handle(&pkt->pkt_cmd_dma); in fp_cache_destructor()
2015 ASSERT(pkt->pkt_cmd_dma != NULL); in fp_alloc_pkt()
2017 rval = ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmd_len, in fp_alloc_pkt()
2031 rval = ddi_dma_addr_bind_handle(pkt->pkt_cmd_dma, NULL, in fp_alloc_pkt()
2060 ddi_dma_nextcookie(pkt->pkt_cmd_dma, &pkt_cookie); in fp_alloc_pkt()
2224 (void) ddi_dma_unbind_handle(pkt->pkt_cmd_dma); in fp_free_dma()