Home
last modified time | relevance | path

Searched refs:pktw (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c134 struct scsi_pkt_cache_wrapper *pktw = in scsi_dmafree_attr() local
137 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() argument
161 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 …]
H A Dscsi_hba.c764 struct scsi_pkt_cache_wrapper *pktw; in scsi_hba_pkt_constructor() local
787 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() local
825 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 …]