Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.c592 return (qsgl->cookie_count); in qlt_get_cookie_count()
619 ASSERT(qsgl->cookie_next_fetch < qsgl->cookie_count); in qlt_ddi_dma_nextcookie()
662 int cookie_count, numbufs; in qlt_dma_setup_dbuf() local
688 cookie_count = 0; in qlt_dma_setup_dbuf()
712 cookie_count += th->num_cookies; in qlt_dma_setup_dbuf()
713 if (cookie_count > QLT_DMA_SG_LIST_LENGTH) { in qlt_dma_setup_dbuf()
731 qsize += cookie_count * sizeof (ddi_dma_cookie_t); in qlt_dma_setup_dbuf()
741 qsgl->cookie_count = cookie_count; in qlt_dma_setup_dbuf()
787 qlt_get_iocb_count(uint32_t cookie_count) in qlt_get_iocb_count() argument
796 if (cookie_count > cnt) { in qlt_get_iocb_count()
[all …]
H A Dqlt_dma.h68 uint16_t cookie_count; member
H A Dqlt.c3389 uint16_t cookie_count; in qlt_xfer_scsi_data() local
3408 cookie_count = qlt_get_cookie_count(dbuf); in qlt_xfer_scsi_data()
3409 rcnt = qlt_get_iocb_count(cookie_count); in qlt_xfer_scsi_data()
3411 cookie_count = 1; in qlt_xfer_scsi_data()
3427 QMEM_WR16(qlt, req+12, cookie_count); in qlt_xfer_scsi_data()
3458 cookie_resid = cookie_count-1; in qlt_xfer_scsi_data()
/titanic_44/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
/titanic_44/usr/src/uts/common/io/sata/adapters/si3124/
H A Dsi3124.c2010 uint_t cookie_count; in si_alloc_sgbpool() local
2054 &cookie_count) != DDI_DMA_MAPPED) { in si_alloc_sgbpool()
2091 uint_t cookie_count; in si_alloc_prbpool() local
2132 &cookie_count) != DDI_DMA_MAPPED) { in si_alloc_prbpool()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c2614 sp->sg_dma.cookie_count = 1; in ql_init_pkt()
15520 mem->cookie_count = 1; in ql_get_dma_mem()
15577 dma_attr.dma_attr_sgllen = (int)mem->cookie_count; in ql_alloc_phys()
15731 dma_attr.dma_attr_sgllen = (int)mem->cookie_count; in ql_alloc_dma_resouce()
15810 uint32_t cnt = mem->cookie_count; in ql_bind_dma_buffer()
15817 DDI_DMA_DONTWAIT, NULL, &mem->cookie, &mem->cookie_count); in ql_bind_dma_buffer()
15822 &mem->cookie_count); in ql_bind_dma_buffer()
15826 if (mem->cookie_count > cnt) { in ql_bind_dma_buffer()
15829 mem->cookie_count, cnt); in ql_bind_dma_buffer()
15832 if (mem->cookie_count > 1) { in ql_bind_dma_buffer()
[all …]
/titanic_44/usr/src/uts/common/io/sata/adapters/ahci/
H A Dahci.c6144 uint_t cookie_count; in ahci_alloc_rcvd_fis() local
6188 &cookie_count) != DDI_DMA_MAPPED) { in ahci_alloc_rcvd_fis()
6236 uint_t cookie_count; in ahci_alloc_cmd_list() local
6280 &cookie_count) != DDI_DMA_MAPPED) { in ahci_alloc_cmd_list()
6347 uint_t cookie_count; in ahci_alloc_cmd_tables() local
6401 &cookie_count) != DDI_DMA_MAPPED) { in ahci_alloc_cmd_tables()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c8181 uint_t cookie_count; in emlxs_mem_alloc() local
8246 &cookie_count); in emlxs_mem_alloc()
8248 if (status != DDI_DMA_MAPPED || (cookie_count > 1)) { in emlxs_mem_alloc()
8251 "count=%x flags=%x", status, cookie_count, in emlxs_mem_alloc()
8335 &dma_cookie, &cookie_count); in emlxs_mem_alloc()
8337 if (status != DDI_DMA_MAPPED || (cookie_count > 1)) { in emlxs_mem_alloc()
8341 cookie_count, buf_info->size, buf_info->align, in emlxs_mem_alloc()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_api.h1072 uint32_t cookie_count; member
/titanic_44/usr/src/uts/common/io/e1000api/
H A DREADME445 …6445239 assertion failed: cookie_count == 1, file: ../../common/io/e1000g/e1000g_alloc.c, line: 422