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