Searched refs:pkt_numcookies (Results 1 – 10 of 10) sorted by relevance
144 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()
853 pkt->pkt_numcookies = 0; in scsi_hba_pkt_destructor()
536 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()
98 uint_t pkt_numcookies; /* number of DMA cookies */ member
333 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()
379 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()
403 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()
6209 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()
1888 ASSERT(pkt->pkt_numcookies); in pmcs_SAS_run()
14160 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()