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

/freebsd-12-stable/sys/dev/beri/virtio/
H A Dvirtio_block.c153 struct virtio_blk_outhdr *vbh; local
168 vbh = iov[0].iov_base;
174 type = be32toh(vbh->type) & ~VIRTIO_BLK_T_BARRIER;
175 offset = be64toh(vbh->sector) * DEV_BSIZE;
/freebsd-12-stable/usr.sbin/bhyve/
H A Dpci_virtio_block.c258 struct virtio_blk_hdr *vbh; local
283 vbh = (struct virtio_blk_hdr *)iov[0].iov_base;
286 io->io_req.br_offset = vbh->vbh_sector * VTBLK_BSIZE;
296 type = vbh->vbh_type & ~VBH_FLAG_BARRIER;

Completed in 71 milliseconds