Searched refs:pktw (Results 1 – 2 of 2) sorted by relevance
134 struct scsi_pkt_cache_wrapper *pktw = in scsi_dmafree_attr() local137 if (pktw->pcw_flags & PCW_BOUND) { in scsi_dmafree_attr()142 pktw->pcw_flags &= ~PCW_BOUND; in scsi_dmafree_attr()145 pktw->pcw_totalwin = 0; in scsi_dmafree_attr()155 scsi_dma_buf_bind_attr(struct scsi_pkt_cache_wrapper *pktw, in scsi_dma_buf_bind_attr() argument161 struct scsi_pkt *pktp = &(pktw->pcw_pkt); in scsi_dma_buf_bind_attr()169 ASSERT(pktw->pcw_totalwin == 0); in scsi_dma_buf_bind_attr()172 callback, arg, &pktw->pcw_cookie, in scsi_dma_buf_bind_attr()177 pktw->pcw_totalwin = 1; in scsi_dma_buf_bind_attr()183 &pktw->pcw_totalwin) != DDI_SUCCESS) { in scsi_dma_buf_bind_attr()[all …]
764 struct scsi_pkt_cache_wrapper *pktw; in scsi_hba_pkt_constructor() local787 pktw = buf; in scsi_hba_pkt_constructor()789 pkt = &(pktw->pcw_pkt); in scsi_hba_pkt_constructor()792 pktw->pcw_magic = PKT_WRAPPER_MAGIC; /* alloced correctly */ in scsi_hba_pkt_constructor()797 pktw->pcw_granular = tran->tran_dma_attr.dma_attr_granular; in scsi_hba_pkt_constructor()824 struct scsi_pkt_cache_wrapper *pktw = buf; in scsi_hba_pkt_destructor() local825 struct scsi_pkt *pkt = &(pktw->pcw_pkt); in scsi_hba_pkt_destructor()828 ASSERT(pktw->pcw_magic == PKT_WRAPPER_MAGIC); in scsi_hba_pkt_destructor()829 ASSERT((pktw->pcw_flags & PCW_BOUND) == 0); in scsi_hba_pkt_destructor()850 pktw->pcw_total_xfer = 0; in scsi_hba_pkt_destructor()[all …]