Searched refs:sentry (Results 1 – 1 of 1) sorted by relevance
536 struct mtrr_sentry sentry = { in pci_device_linux_sysfs_map_range() local571 sentry.type = MTRR_TYPE_WRBACK; in pci_device_linux_sysfs_map_range()573 sentry.type = MTRR_TYPE_WRCOMB; in pci_device_linux_sysfs_map_range()576 if (pci_sys->mtrr_fd != -1 && sentry.type != MTRR_TYPE_UNCACHABLE) { in pci_device_linux_sysfs_map_range()577 if (ioctl(pci_sys->mtrr_fd, MTRRIOC_ADD_ENTRY, &sentry) < 0) { in pci_device_linux_sysfs_map_range()582 sentry.base, sentry.size, sentry.type, in pci_device_linux_sysfs_map_range()633 struct mtrr_sentry sentry = { in pci_device_linux_sysfs_unmap_range() local646 sentry.type = MTRR_TYPE_WRBACK; in pci_device_linux_sysfs_unmap_range()648 sentry.type = MTRR_TYPE_WRCOMB; in pci_device_linux_sysfs_unmap_range()652 if (ioctl(pci_sys->mtrr_fd, MTRRIOC_DEL_ENTRY, &sentry) < 0) { in pci_device_linux_sysfs_unmap_range()[all …]