Searched refs:OPREGION_SIZE (Results 1 – 1 of 1) sorted by relevance
21 #define OPREGION_SIZE (8 * 1024) macro 122 OPREGION_SIZE : 0); in vfio_pci_igd_rw() 131 if (remaining && pos < OPREGION_SIZE) { in vfio_pci_igd_rw() 132 size_t bytes = min_t(size_t, remaining, OPREGION_SIZE - pos); in vfio_pci_igd_rw() 142 copy_to_user(buf + off, opregionvbt->vbt_ex + (pos - OPREGION_SIZE), in vfio_pci_igd_rw() 187 opregionvbt->opregion = memremap(addr, OPREGION_SIZE, MEMREMAP_WB); in vfio_pci_igd_opregion_init()