DDI_DMA_PARTIAL_MAP
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP :
if (DDI_DMA_PARTIAL_MAP == retvalue) {
ASSERT(rc != DDI_DMA_INUSE && rc != DDI_DMA_PARTIAL_MAP);
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
if (rval == DDI_DMA_PARTIAL_MAP) {
if (rc == DDI_DMA_PARTIAL_MAP) {
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
VERIFY3S(r, !=, DDI_DMA_PARTIAL_MAP);
if (rc == DDI_DMA_MAPPED || rc == DDI_DMA_PARTIAL_MAP) {
if (rc == DDI_DMA_PARTIAL_MAP) {
if (dma_error != DDI_DMA_MAPPED && dma_error != DDI_DMA_PARTIAL_MAP)
ASSERT(dma_error == DDI_DMA_MAPPED || dma_error == DDI_DMA_PARTIAL_MAP);
case DDI_DMA_PARTIAL_MAP:
return (err == DDI_DMA_PARTIAL_MAP ? DDI_DMA_NOMAPPING :
if ((e != DDI_DMA_MAPPED) && (e != DDI_DMA_PARTIAL_MAP)) {
return (DDI_DMA_PARTIAL_MAP);
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP: {
} else if (rval == DDI_DMA_PARTIAL_MAP) {
} else if (rval == DDI_DMA_PARTIAL_MAP) {
} else if (rval == DDI_DMA_PARTIAL_MAP) {
case DDI_DMA_PARTIAL_MAP:
case DDI_DMA_PARTIAL_MAP:
if (rval && rval != DDI_DMA_PARTIAL_MAP) {
return (mp->dmai_nwin == 1 ? DDI_DMA_MAPPED : DDI_DMA_PARTIAL_MAP);
return ((mp->dmai_nwin == 1) ? DDI_DMA_MAPPED : DDI_DMA_PARTIAL_MAP);
return (DDI_DMA_PARTIAL_MAP);
return ((mp->dmai_nwin == 1) ? DDI_DMA_MAPPED : DDI_DMA_PARTIAL_MAP);
return (mp->dmai_nwin == 1 ? DDI_DMA_MAPPED : DDI_DMA_PARTIAL_MAP);