Home
last modified time | relevance | path

Searched refs:aperturefd (Results 1 – 1 of 1) sorted by relevance

/libpciaccess/src/
H A Dopenbsd_pci.c44 static int aperturefd = -1; variable
106 if (aperturefd == -1) in pci_device_openbsd_read_rom()
134 aperturefd, (off_t)rom_base); in pci_device_openbsd_read_rom()
174 map->memory = mmap(NULL, map->size, prot, MAP_SHARED, aperturefd, in pci_device_openbsd_map_range()
194 if (ioctl(aperturefd, MEMRANGE_SET, &mo)) in pci_device_openbsd_map_range()
220 (void)ioctl(aperturefd, MEMRANGE_SET, &mo); in pci_device_openbsd_unmap_range()
524 aperturefd = fd; in pci_system_openbsd_init_dev_mem()