Home
last modified time | relevance | path

Searched refs:cookie_cnt (Results 1 – 13 of 13) sorted by relevance

/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ci.c2064 uint_t cookie_cnt; in hermon_map_mem_area_fmr() local
2107 callback, NULL, &dmacookie, &cookie_cnt); in hermon_map_mem_area_fmr()
2124 while (cookie_cnt-- > 0) { in hermon_map_mem_area_fmr()
2149 if (cookie_cnt != 0) in hermon_map_mem_area_fmr()
2201 uint_t cookie_cnt; in hermon_ci_map_mem_area() local
2274 &kcookie, &cookie_cnt); in hermon_ci_map_mem_area()
2289 callback, NULL, &dmacookie, &cookie_cnt); in hermon_ci_map_mem_area()
2294 callback, NULL, &dmacookie, &cookie_cnt); in hermon_ci_map_mem_area()
2308 while (cookie_cnt-- > 0) { in hermon_ci_map_mem_area()
2345 if (cookie_cnt != 0) in hermon_ci_map_mem_area()
[all …]
H A Dhermon_mr.c3247 uint_t cookie_cnt; in hermon_mr_fast_mtt_write() local
3272 cookie_cnt = bind->bi_cookiecnt; in hermon_mr_fast_mtt_write()
3284 while (cookie_cnt-- > 0) { in hermon_mr_fast_mtt_write()
3308 (cookie_cnt == 0)) in hermon_mr_fast_mtt_write()
3341 if (cookie_cnt != 0) { in hermon_mr_fast_mtt_write()
H A Dhermon_misc.c272 uint_t cookie_cnt; in hermon_dbr_page_alloc() local
315 DDI_DMA_CONSISTENT, DDI_DMA_SLEEP, NULL, &cookie, &cookie_cnt); in hermon_dbr_page_alloc()
/titanic_50/usr/src/uts/common/io/drm/
H A Ddrm_gem.c262 uint_t cookie_cnt; in drm_gem_object_alloc() local
301 DDI_DMA_DONTWAIT, NULL, &cookie, &cookie_cnt) in drm_gem_object_alloc()
323 if (i >= cookie_cnt) in drm_gem_object_alloc()
/titanic_50/usr/src/uts/i86pc/io/ioat/
H A Dioat_chan.c547 uint_t cookie_cnt; in ioat_completion_alloc() local
575 &channel->ic_cmpl_cookie, &cookie_cnt); in ioat_completion_alloc()
579 ASSERT(cookie_cnt == 1); in ioat_completion_alloc()
634 uint_t cookie_cnt; in ioat_ring_alloc() local
679 &channel->ic_desc_cookies, &cookie_cnt); in ioat_ring_alloc()
683 ASSERT(cookie_cnt == 1); in ioat_ring_alloc()
/titanic_50/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.h128 uint8_t qlt_get_iocb_count(uint32_t cookie_cnt);
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_ci.c3098 uint_t cookie_cnt; in tavor_ci_map_mem_iov() local
3156 &dmacookie, &cookie_cnt); in tavor_ci_map_mem_iov()
3162 while (cookie_cnt-- > 0) { in tavor_ci_map_mem_iov()
3172 if (cookie_cnt != 0) in tavor_ci_map_mem_iov()
3211 &dmacookie, &cookie_cnt); in tavor_ci_map_mem_iov()
3216 if (nds + cookie_cnt > max_nds) { in tavor_ci_map_mem_iov()
3220 while (cookie_cnt-- > 0) { in tavor_ci_map_mem_iov()
3225 if (cookie_cnt != 0) in tavor_ci_map_mem_iov()
H A Dtavor_mr.c2683 uint_t cookie_cnt; in tavor_mr_fast_mtt_write() local
2701 cookie_cnt = bind->bi_cookiecnt; in tavor_mr_fast_mtt_write()
2702 while (cookie_cnt-- > 0) { in tavor_mr_fast_mtt_write()
2733 if (cookie_cnt != 0) { in tavor_mr_fast_mtt_write()
/titanic_50/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.c1836 int cookie_cnt; in create_mfi_frame_pool() local
1866 cookie_cnt = mega_alloc_dma_obj(instance, &cmd->frame_dma_obj); in create_mfi_frame_pool()
1868 if (cookie_cnt == -1 || cookie_cnt > 1) { in create_mfi_frame_pool()
2996 uint_t cookie_cnt; in mega_alloc_dma_obj() local
3037 NULL, &obj->dma_cookie[0], &cookie_cnt) != DDI_SUCCESS) { in mega_alloc_dma_obj()
3057 return (cookie_cnt); in mega_alloc_dma_obj()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli3.c2260 uint_t cookie_cnt; in emlxs_pkt_to_bpl() local
2267 cookie_cnt = pkt->pkt_cmd_cookie_cnt; in emlxs_pkt_to_bpl()
2274 cookie_cnt = pkt->pkt_resp_cookie_cnt; in emlxs_pkt_to_bpl()
2282 cookie_cnt = pkt->pkt_data_cookie_cnt; in emlxs_pkt_to_bpl()
2296 cookie_cnt = 1; in emlxs_pkt_to_bpl()
2303 cookie_cnt = 1; in emlxs_pkt_to_bpl()
2311 cookie_cnt = 1; in emlxs_pkt_to_bpl()
2322 for (i = 0; i < cookie_cnt && size > 0; i++, cp++) { in emlxs_pkt_to_bpl()
H A Demlxs_sli4.c2427 uint_t cookie_cnt; in emlxs_pkt_to_sgl() local
2437 cookie_cnt = pkt->pkt_cmd_cookie_cnt; in emlxs_pkt_to_sgl()
2443 cookie_cnt = pkt->pkt_resp_cookie_cnt; in emlxs_pkt_to_sgl()
2450 cookie_cnt = pkt->pkt_data_cookie_cnt; in emlxs_pkt_to_sgl()
2462 cookie_cnt = 1; in emlxs_pkt_to_sgl()
2468 cookie_cnt = 1; in emlxs_pkt_to_sgl()
2475 cookie_cnt = 1; in emlxs_pkt_to_sgl()
2488 for (i = 0; i < cookie_cnt && size > 0; i++, cp++) { in emlxs_pkt_to_sgl()
/titanic_50/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.c2892 int cookie_cnt; in create_mfi_frame_pool() local
2919 cookie_cnt = mrsas_alloc_dma_obj(instance, &cmd->frame_dma_obj, in create_mfi_frame_pool()
2922 if (cookie_cnt == -1 || cookie_cnt > 1) { in create_mfi_frame_pool()
4747 uint_t cookie_cnt; in mrsas_alloc_dma_obj() local
4791 NULL, &obj->dma_cookie[0], &cookie_cnt) != DDI_SUCCESS) { in mrsas_alloc_dma_obj()
4811 return (cookie_cnt); in mrsas_alloc_dma_obj()
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_subr.c6916 uint_t cookie_cnt; in pmcs_dma_setup() local
6944 ddabh_flag, DDI_DMA_SLEEP, NULL, &cookie, &cookie_cnt) in pmcs_dma_setup()
6954 if (cookie_cnt != 1) { in pmcs_dma_setup()