Searched refs:rb_dma (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | viorand.c | 36 virtio_dma_t *rb_dma; member 215 if (rb->rb_dma != NULL) { in viorand_rbuf_free() 216 virtio_dma_free(rb->rb_dma); in viorand_rbuf_free() 217 rb->rb_dma = NULL; in viorand_rbuf_free() 234 if (rb->rb_dma != NULL) { in viorand_free_bufs() 235 virtio_dma_free(rb->rb_dma); in viorand_free_bufs() 236 rb->rb_dma = NULL; in viorand_free_bufs() 433 virtio_dma_cookie_pa(rb->rb_dma, 0), in viorand_submit_request() 439 virtio_dma_sync(rb->rb_dma, DDI_DMA_SYNC_FORDEV); in viorand_submit_request() 452 bcopy(virtio_dma_va(rb->rb_dma, 0), rb->rb_req_buf, len); in viorand_process_data() [all …]
|
/illumos-gate/usr/src/uts/common/io/vioif/ |
H A D | vioif.c | 427 if (rb->rb_dma != NULL) { in vioif_free_bufs() 428 virtio_dma_free(rb->rb_dma); in vioif_free_bufs() 429 rb->rb_dma = NULL; in vioif_free_bufs() 594 if ((rb->rb_dma = virtio_dma_alloc(vif->vif_virtio, in vioif_alloc_bufs() 610 VERIFY3U(virtio_dma_cookie_size(rb->rb_dma, 0), >=, in vioif_alloc_bufs() 617 VERIFY3U((uintptr_t)virtio_dma_va(rb->rb_dma, in vioif_alloc_bufs() 814 virtio_dma_cookie_pa(rb->rb_dma, 0), in vioif_add_rx() 820 for (uint_t n = 0; n < virtio_dma_ncookies(rb->rb_dma); n++) { in vioif_add_rx() 821 uint64_t pa = virtio_dma_cookie_pa(rb->rb_dma, n); in vioif_add_rx() 822 size_t sz = virtio_dma_cookie_size(rb->rb_dma, n); in vioif_add_rx() [all …]
|
H A D | vioif.h | 332 virtio_dma_t *rb_dma; member
|