Home
last modified time | relevance | path

Searched refs:real_len (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_pkt.c154 unsigned long real_len; in emlxs_pkt_alloc() local
210 (caddr_t *)&pkt->pkt_cmd, &real_len, in emlxs_pkt_alloc()
220 if (real_len < cmdlen) { in emlxs_pkt_alloc()
231 pkt->pkt_cmd, real_len, in emlxs_pkt_alloc()
237 pkt->pkt_cmd, real_len, in emlxs_pkt_alloc()
277 (caddr_t *)&pkt->pkt_resp, &real_len, in emlxs_pkt_alloc()
286 if (real_len < rsplen) { in emlxs_pkt_alloc()
296 pkt->pkt_resp, real_len, in emlxs_pkt_alloc()
302 pkt->pkt_resp, real_len, in emlxs_pkt_alloc()
339 (caddr_t *)&pkt->pkt_data, &real_len, in emlxs_pkt_alloc()
[all …]
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnx_mm.c334 size_t real_len; in mm_alloc_phys_mem() local
377 DDI_DMA_DONTWAIT, (void *)0, &pbuf, &real_len, acc_handle); in mm_alloc_phys_mem()
385 real_len, DDI_DMA_RDWR | DDI_DMA_CONSISTENT, DDI_DMA_DONTWAIT, in mm_alloc_phys_mem()
404 bzero(pbuf, real_len); in mm_alloc_phys_mem()
407 (void) ddi_dma_sync(*dma_handle, 0, real_len, DDI_DMA_SYNC_FORDEV); in mm_alloc_phys_mem()
/illumos-gate/usr/src/uts/common/io/cxgbe/shared/
H A Dshared.c104 size_t real_len; in rxbuf_ctor() local
121 DDI_DMA_STREAMING, callback, 0, &rxb->va, &real_len, &rxb->ahdl); in rxbuf_ctor()
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_mem.c513 size_t real_len; in cpqary3_alloc_phyctgs_mem() local
561 DDI_DMA_CONSISTENT, DDI_DMA_DONTWAIT, 0, &mempool, &real_len, in cpqary3_alloc_phyctgs_mem()
571 phyctgp->real_size = real_len; in cpqary3_alloc_phyctgs_mem()
576 NULL, mempool, real_len, in cpqary3_alloc_phyctgs_mem()
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_ring_buff.c108 &(buff_info_p->real_len), in ring_buff_create()
132 buff_info_p->real_len, in ring_buff_create()
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/
H A Ddcam.h80 size_t real_len; /* mem len */ member
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c2039 ulong_t real_len; in fcsm_alloc_cmd() local
2091 callback, NULL, (caddr_t *)&pkt->pkt_cmd, &real_len, in fcsm_alloc_cmd()
2104 if (real_len < cmd_len) { in fcsm_alloc_cmd()
2113 pkt->pkt_cmd, real_len, DDI_DMA_WRITE | DDI_DMA_CONSISTENT, in fcsm_alloc_cmd()
2164 callback, NULL, (caddr_t *)&pkt->pkt_resp, &real_len, in fcsm_alloc_cmd()
2177 if (real_len < resp_len) { in fcsm_alloc_cmd()
2186 pkt->pkt_resp, real_len, DDI_DMA_READ | DDI_DMA_CONSISTENT, in fcsm_alloc_cmd()
H A Dfcip.c6464 size_t real_len; in fcip_ipkt_alloc() local
6503 &real_len, &fc_pkt->pkt_cmd_acc) != DDI_SUCCESS) { in fcip_ipkt_alloc()
6510 if (real_len < cmdlen) { in fcip_ipkt_alloc()
6515 (caddr_t)fc_pkt->pkt_cmd, real_len, in fcip_ipkt_alloc()
6557 &real_len, &fc_pkt->pkt_resp_acc) != DDI_SUCCESS) { in fcip_ipkt_alloc()
6563 if (real_len < resplen) { in fcip_ipkt_alloc()
6568 (caddr_t)fc_pkt->pkt_resp, real_len, in fcip_ipkt_alloc()
H A Dfcp.c10584 ulong_t real_len; in fcp_alloc_cmd_resp() local
10606 (caddr_t *)&fpkt->pkt_cmd, &real_len, &fpkt->pkt_cmd_acc); in fcp_alloc_cmd_resp()
10613 if (real_len < cmd_len) { in fcp_alloc_cmd_resp()
10621 fpkt->pkt_cmd, real_len, DDI_DMA_WRITE | DDI_DMA_CONSISTENT, in fcp_alloc_cmd_resp()
10679 (caddr_t *)&fpkt->pkt_resp, &real_len, in fcp_alloc_cmd_resp()
10692 if (real_len < resp_len) { in fcp_alloc_cmd_resp()
10704 fpkt->pkt_resp, real_len, DDI_DMA_READ | DDI_DMA_CONSISTENT, in fcp_alloc_cmd_resp()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c2079 size_t real_len; in alloc_dma_memory() local
2099 DDI_DMA_SLEEP, 0, &va, &real_len, &ahdl); in alloc_dma_memory()
2108 if (len != real_len) { in alloc_dma_memory()
2110 "%s: len (%u) != real_len (%u)\n", len, real_len); in alloc_dma_memory()
2116 rc = ddi_dma_addr_bind_handle(dhdl, NULL, va, real_len, flags, NULL, in alloc_dma_memory()
2132 bzero(va, real_len); in alloc_dma_memory()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_rsrc.c1838 size_t real_len, temp_len; in hermon_rsrc_mbox_alloc() local
1859 NULL, &kaddr, &real_len, &hdl->hr_acchdl); in hermon_rsrc_mbox_alloc()
1867 hdl->hr_len = (uint32_t)real_len; in hermon_rsrc_mbox_alloc()
H A Dhermon.c880 uint64_t real_len; in hermon_dma_alloc() local
902 (caddr_t *)&kaddr, (size_t *)&real_len, &acc_hdl); in hermon_dma_alloc()
909 bzero((caddr_t)(uintptr_t)kaddr, real_len); in hermon_dma_alloc()
913 (caddr_t)(uintptr_t)kaddr, (size_t)real_len, DDI_DMA_RDWR | in hermon_dma_alloc()
H A Dhermon_ci.c2853 size_t real_len; in hermon_mem_alloc() local
2872 NULL, kaddrp, &real_len, &acc_hdl); in hermon_mem_alloc()
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_rsrc.c2082 size_t real_len, temp_len; in tavor_rsrc_mbox_alloc() local
2130 NULL, &kaddr, &real_len, &hdl->tr_acchdl); in tavor_rsrc_mbox_alloc()
2137 hdl->tr_len = real_len; in tavor_rsrc_mbox_alloc()
H A Dtavor_ci.c2934 size_t real_len; in tavor_mem_alloc() local
2953 kaddrp, &real_len, &acc_hdl); in tavor_mem_alloc()
/illumos-gate/usr/src/uts/common/io/hme/
H A Dhme.c2952 size_t real_len; in hmeallocthings() local
2971 &hmep->hme_rmd_kaddr, &real_len, &hmep->hme_rmd_acch); in hmeallocthings()
3003 &hmep->hme_tmd_kaddr, &real_len, &hmep->hme_tmd_acch); in hmeallocthings()
/illumos-gate/usr/src/uts/sun/io/eri/
H A Deri.c2596 size_t real_len; in eri_allocthings() local
2624 (caddr_t *)&erip->iopbkbase, &real_len, &erip->mdm_h); in eri_allocthings()
2714 &real_len, &erip->tbuf_acch) != DDI_SUCCESS) { in eri_allocthings()
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c1970 ulong_t real_len; in fp_alloc_pkt() local
2019 cb, NULL, (caddr_t *)&pkt->pkt_cmd, &real_len, in fp_alloc_pkt()
2027 if (real_len < cmd_len) { in fp_alloc_pkt()
2032 pkt->pkt_cmd, real_len, DDI_DMA_WRITE | in fp_alloc_pkt()
2074 (caddr_t *)&pkt->pkt_resp, &real_len, in fp_alloc_pkt()
2082 if (real_len < resp_len) { in fp_alloc_pkt()
2087 pkt->pkt_resp, real_len, DDI_DMA_READ | in fp_alloc_pkt()