Lines Matching defs:region
8 * Register a device specific region through which to provide read-only
28 void *base = vdev->region[i].data;
31 if (pos >= vdev->region[i].size || iswrite)
34 count = min(count, (size_t)(vdev->region[i].size - pos));
45 struct vfio_pci_region *region)
47 memunmap(region->data);
115 struct pci_dev *pdev = vdev->region[i].data;
120 if (pos >= vdev->region[i].size || iswrite)
123 size = count = min(count, (size_t)(vdev->region[i].size - pos));
204 struct vfio_pci_region *region)
206 struct pci_dev *pdev = region->data;