Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_virtio_block.c282 struct virtio_blk_hdr *vbh; in pci_vtblk_proc() local
307 vbh = (struct virtio_blk_hdr *)iov[0].iov_base; in pci_vtblk_proc()
310 io->io_req.br_offset = vbh->vbh_sector * VTBLK_BSIZE; in pci_vtblk_proc()
320 type = vbh->vbh_type & ~VBH_FLAG_BARRIER; in pci_vtblk_proc()
/illumos-gate/usr/src/uts/common/io/vioblk/
H A Dvioblk.c242 struct vioblk_req_hdr vbh; in vioblk_common_start() local
243 vbh.vbh_type = type; in vioblk_common_start()
244 vbh.vbh_ioprio = 0; in vioblk_common_start()
245 vbh.vbh_sector = (sector * vib->vib_blk_size) / DEV_BSIZE; in vioblk_common_start()
246 bcopy(&vbh, virtio_dma_va(vbr->vbr_dma, 0), sizeof (vbh)); in vioblk_common_start()