Home
last modified time | relevance | path

Searched refs:pkt_numcookies (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c144 pktp->pkt_numcookies = 0; in scsi_dmafree_attr()
168 ASSERT(pktp->pkt_numcookies == 0); in scsi_dma_buf_bind_attr()
173 &pktp->pkt_numcookies); in scsi_dma_buf_bind_attr()
231 &pktp->pkt_numcookies); in scsi_dmaget_attr()
251 if (num_segs >= pktp->pkt_numcookies) { in scsi_dmaget_attr()
342 ASSERT(in_pktp->pkt_numcookies == 0); in scsi_init_cache_pkt()
418 if (in_pktp->pkt_numcookies == 0) { in scsi_init_cache_pkt()
464 ASSERT(in_pktp->pkt_numcookies <= in scsi_init_cache_pkt()
706 ASSERT(pkt->pkt_numcookies == 0 || in scsi_cache_dmafree()
H A Dscsi_hba.c853 pkt->pkt_numcookies = 0; in scsi_hba_pkt_destructor()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_hba.c536 if (pkt->pkt_numcookies > smrt->smrt_sg_cnt) { in smrt_tran_start()
541 " expected %u)", pkt->pkt_numcookies, smrt->smrt_sg_cnt); in smrt_tran_start()
544 smcm->smcm_va_cmd->Header.SGList = pkt->pkt_numcookies; in smrt_tran_start()
545 smcm->smcm_va_cmd->Header.SGTotal = pkt->pkt_numcookies; in smrt_tran_start()
546 for (unsigned i = 0; i < pkt->pkt_numcookies; i++) { in smrt_tran_start()
565 if (pkt->pkt_numcookies > 0) { in smrt_tran_start()
/illumos-gate/usr/src/uts/common/sys/scsi/
H A Dscsi_pkt.h98 uint_t pkt_numcookies; /* number of DMA cookies */ member
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/
H A Dlmrc_scsa.c333 if (pkt->pkt_numcookies > 0) { in lmrc_tran_start()
341 pkt->pkt_numcookies); in lmrc_tran_start()
345 rc->rc_num_sge = pkt->pkt_numcookies; in lmrc_tran_start()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pvscsi/
H A Dpvscsi.c379 if (pkt == NULL || pkt->pkt_numcookies == 0) { in pvscsi_map_buffers()
385 if (pkt->pkt_numcookies > 1) { in pvscsi_map_buffers()
389 for (uint_t i = 0; i < pkt->pkt_numcookies; i++) { in pvscsi_map_buffers()
415 if (pkt->pkt_numcookies > 0) { in pvscsi_comp_cmd()
1147 if ((pkt->pkt_numcookies > PVSCSI_MAX_SG_SIZE) || in pvscsi_start()
1185 if (pkt->pkt_numcookies > 0) { in pvscsi_start()
/illumos-gate/usr/src/uts/common/io/vioscsi/
H A Dvioscsi.c403 for (int i = 0; i < pkt->pkt_numcookies; i++) { in vioscsi_tran_start()
425 for (int i = 0; i < pkt->pkt_numcookies; i++) { in vioscsi_tran_start()
846 if ((pkt->pkt_numcookies > 0) && in vioscsi_cmd_handler()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_subr.c6209 if (CMD2PKT(sp)->pkt_numcookies == 0) { in pmcs_dma_load()
6222 if (CMD2PKT(sp)->pkt_numcookies == 1) { in pmcs_dma_load()
6259 for (seg = 0; seg < CMD2PKT(sp)->pkt_numcookies; seg++) { in pmcs_dma_load()
6275 seg < (CMD2PKT(sp)->pkt_numcookies - 1)) { in pmcs_dma_load()
H A Dpmcs_scsa.c1888 ASSERT(pkt->pkt_numcookies); in pmcs_SAS_run()
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c14160 if (cmd->cmd_pkt->pkt_numcookies) { in fcp_prepare_pkt()
14173 fpkt->pkt_data_cookie_cnt = cmd->cmd_pkt->pkt_numcookies; in fcp_prepare_pkt()