Searched refs:host_dev (Results 1 – 3 of 3) sorted by relevance
36 struct host_block_dev *host_dev = dev_get_platdata(dev); local45 struct host_block_dev *host_dev = find_host_device(dev);47 if (!host_dev)51 if (os_lseek(host_dev->fd, start * block_dev->blksz, OS_SEEK_SET) ==56 ssize_t len = os_read(host_dev->fd, buffer, blkcnt * block_dev->blksz);67 struct host_block_dev *host_dev = dev_get_platdata(dev); local75 struct host_block_dev *host_dev = find_host_device(dev);78 if (os_lseek(host_dev->fd, start * block_dev->blksz, OS_SEEK_SET) ==83 ssize_t len = os_write(host_dev->fd, buffer, blkcnt * block_dev->blksz);92 struct host_block_dev *host_dev; local[all …]
89 struct host_block_dev *host_dev; in do_host_info() local92 host_dev = dev_get_priv(blk_dev->bdev); in do_host_info()94 host_dev = blk_dev->priv; in do_host_info()97 host_dev->filename); in do_host_info()
710 XenHostPCIDevice *host_dev = &s->real_device; in xen_pt_destroy() local715 if (machine_irq && !xen_host_pci_device_closed(host_dev)) { in xen_pt_destroy()757 xen_pt_unregister_vga_regions(host_dev); in xen_pt_destroy()764 if (!xen_host_pci_device_closed(host_dev)) { in xen_pt_destroy()765 xen_host_pci_device_put(host_dev); in xen_pt_destroy()