Searched refs:dummy_res (Results 1 – 1 of 1) sorted by relevance
112 struct vfio_pci_dummy_resource *dummy_res; in vfio_pci_probe_mmaps() local144 dummy_res = in vfio_pci_probe_mmaps()145 kzalloc(sizeof(*dummy_res), GFP_KERNEL_ACCOUNT); in vfio_pci_probe_mmaps()146 if (dummy_res == NULL) in vfio_pci_probe_mmaps()149 dummy_res->resource.name = "vfio sub-page reserved"; in vfio_pci_probe_mmaps()150 dummy_res->resource.start = res->end + 1; in vfio_pci_probe_mmaps()151 dummy_res->resource.end = res->start + PAGE_SIZE - 1; in vfio_pci_probe_mmaps()152 dummy_res->resource.flags = res->flags; in vfio_pci_probe_mmaps()154 &dummy_res->resource)) { in vfio_pci_probe_mmaps()155 kfree(dummy_res); in vfio_pci_probe_mmaps()[all …]