Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.c594 return (qsgl->cookie_count); in qlt_get_cookie_count()
621 ASSERT(qsgl->cookie_next_fetch < qsgl->cookie_count); in qlt_ddi_dma_nextcookie()
665 uint16_t cookie_count; in qlt_dma_setup_dbuf() local
691 cookie_count = 0; in qlt_dma_setup_dbuf()
715 cookie_count += th->num_cookies; in qlt_dma_setup_dbuf()
716 if (cookie_count > QLT_DMA_SG_LIST_LENGTH) { in qlt_dma_setup_dbuf()
734 qsize += cookie_count * sizeof (ddi_dma_cookie_t); in qlt_dma_setup_dbuf()
744 qsgl->cookie_count = cookie_count; in qlt_dma_setup_dbuf()
790 qlt_get_iocb_count(uint32_t cookie_count) in qlt_get_iocb_count() argument
799 if (cookie_count > cnt) { in qlt_get_iocb_count()
[all …]
H A Dqlt_dma.h68 uint16_t cookie_count; member
H A Dqlt.c5438 uint16_t cookie_count; in qlt_xfer_scsi_data() local
5461 cookie_count = qlt_get_cookie_count(dbuf); in qlt_xfer_scsi_data()
5462 rcnt = qlt_get_iocb_count(cookie_count); in qlt_xfer_scsi_data()
5464 cookie_count = 1; in qlt_xfer_scsi_data()
5480 QMEM_WR16_REQ(qlt, qi, req+12, cookie_count); in qlt_xfer_scsi_data()
5511 cookie_resid = cookie_count-1; in qlt_xfer_scsi_data()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_alloc.c273 uint_t cookie_count; in e1000g_alloc_tx_descriptors() local
435 DDI_DMA_DONTWAIT, 0, &cookie, &cookie_count); in e1000g_alloc_tx_descriptors()
452 ASSERT(cookie_count == 1); /* 1 cookie */ in e1000g_alloc_tx_descriptors()
454 if (cookie_count != 1) { in e1000g_alloc_tx_descriptors()
457 "Count - %d Len - %d", cookie_count, len); in e1000g_alloc_tx_descriptors()
478 uint_t cookie_count; in e1000g_alloc_rx_descriptors() local
617 DDI_DMA_DONTWAIT, 0, &cookie, &cookie_count); in e1000g_alloc_rx_descriptors()
634 ASSERT(cookie_count == 1); in e1000g_alloc_rx_descriptors()
635 if (cookie_count != 1) { in e1000g_alloc_rx_descriptors()
638 "Count - %d Len - %d", cookie_count, len); in e1000g_alloc_rx_descriptors()
H A DREADME445 …6445239 assertion failed: cookie_count == 1, file: ../../common/io/e1000g/e1000g_alloc.c, line: 422
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_util.c506 DDI_DMA_RDWR, DDI_DMA_SLEEP, 0, &cookie, &d->cookie_count) != in pqi_alloc_single()
511 if (d->cookie_count != 1) in pqi_alloc_single()
H A Dsmartpqi.h175 uint_t cookie_count; member
/illumos-gate/usr/src/uts/common/io/sata/adapters/si3124/
H A Dsi3124.c2002 uint_t cookie_count; in si_alloc_sgbpool() local
2046 &cookie_count) != DDI_DMA_MAPPED) { in si_alloc_sgbpool()
2083 uint_t cookie_count; in si_alloc_prbpool() local
2124 &cookie_count) != DDI_DMA_MAPPED) { in si_alloc_prbpool()
/illumos-gate/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c6249 uint_t cookie_count; in ahci_alloc_rcvd_fis() local
6293 &cookie_count) != DDI_DMA_MAPPED) { in ahci_alloc_rcvd_fis()
6341 uint_t cookie_count; in ahci_alloc_cmd_list() local
6385 &cookie_count) != DDI_DMA_MAPPED) { in ahci_alloc_cmd_list()
6452 uint_t cookie_count; in ahci_alloc_cmd_tables() local
6505 &cookie_count) != DDI_DMA_MAPPED) { in ahci_alloc_cmd_tables()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c8206 uint_t cookie_count; in emlxs_mem_alloc() local
8267 &cookie_count); in emlxs_mem_alloc()
8269 if (status != DDI_DMA_MAPPED || (cookie_count > 1)) { in emlxs_mem_alloc()
8272 "count=%x flags=%x", status, cookie_count, in emlxs_mem_alloc()
8356 &dma_cookie, &cookie_count); in emlxs_mem_alloc()
8358 if (status != DDI_DMA_MAPPED || (cookie_count > 1)) { in emlxs_mem_alloc()
8362 cookie_count, buf_info->size, buf_info->align, in emlxs_mem_alloc()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_api.h1197 uint32_t cookie_count; member
/illumos-gate/usr/src/uts/common/io/e1000api/
H A DREADME445 …6445239 assertion failed: cookie_count == 1, file: ../../common/io/e1000g/e1000g_alloc.c, line: 422
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c16884 &mem->cookie_count); in ql_bind_dma_buffer()
16887 if (mem->cookie_count > mem->max_cookie_count) { in ql_bind_dma_buffer()
16890 mem->cookie_count, mem->max_cookie_count); in ql_bind_dma_buffer()
16893 if (mem->cookie_count > 1) { in ql_bind_dma_buffer()
16896 mem->cookie_count, kmflags)) { in ql_bind_dma_buffer()
16899 for (cnt = 1; cnt < mem->cookie_count; in ql_bind_dma_buffer()
16958 if (mem->cookie_count > 1) { in ql_unbind_dma_buffer()
16960 mem->cookie_count); in ql_unbind_dma_buffer()
16963 mem->cookie_count = 0; in ql_unbind_dma_buffer()