Searched refs:blk_req (Results 1 – 1 of 1) sorted by relevance
90 struct virtio_blk_req *blk_req; member113 bdev->blk_req = memalign(sizeof(struct virtio_blk_req), sizeof(struct virtio_blk_req)); in virtio_block_init()115 bdev->blk_req_phys = vaddr_to_paddr(bdev->blk_req); in virtio_block_init()117 bdev->blk_freq_phys = (uint64_t)(uintptr_t)bdev->blk_req; in virtio_block_init()119 LTRACEF("blk_req structure at %p (0x%lx phys)\n", bdev->blk_req, bdev->blk_req_phys); in virtio_block_init()218 bdev->blk_req->type = write ? VIRTIO_BLK_T_OUT : VIRTIO_BLK_T_IN; in virtio_block_read_write()219 bdev->blk_req->ioprio = 0; in virtio_block_read_write()220 bdev->blk_req->sector = offset / 512; in virtio_block_read_write()222 bdev->blk_req->type, bdev->blk_req->ioprio, bdev->blk_req->sector); in virtio_block_read_write()