Searched refs:mtrr_fd (Results 1 - 3 of 3) sorted by relevance
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/linux/ |
| H A D | lnx_video.c | 115 static int mtrr_fd = MTRR_FD_UNOPENED; variable in typeref:typename:int 126 if (mtrr_fd == MTRR_FD_UNOPENED) { 127 mtrr_fd = open("/proc/mtrr", O_WRONLY); 129 if (mtrr_fd < 0) 130 mtrr_fd = MTRR_FD_PROBLEM; 133 if (mtrr_fd == MTRR_FD_PROBLEM) { 177 ioctl(mtrr_fd, MTRRIOC_GET_ENTRY, &gent) >= 0; 196 (ret = ioctl(mtrr_fd, MTRRIOC_KILL_ENTRY, &(wcr->sentry))) < 0); 230 ioctl(mtrr_fd, MTRRIOC_GET_ENTRY, &gent) >= 0; gent.regnum++ ) { 306 if (ioctl(mtrr_fd, MTRRIOC_ADD_ENTR [all...] |
| /xsrc/external/mit/libpciaccess/dist/src/ |
| H A D | linux_sysfs.c | 104 pci_sys->mtrr_fd = open("/proc/mtrr", O_WRONLY | O_CLOEXEC); 654 if (pci_sys->mtrr_fd != -1 && sentry.type != MTRR_TYPE_UNCACHABLE) { 655 if (ioctl(pci_sys->mtrr_fd, MTRRIOC_ADD_ENTRY, &sentry) < 0) { 729 if (pci_sys->mtrr_fd != -1 && sentry.type != MTRR_TYPE_UNCACHABLE) { 730 if (ioctl(pci_sys->mtrr_fd, MTRRIOC_DEL_ENTRY, &sentry) < 0) { 1037 if (pci_sys->mtrr_fd != -1) 1038 close(pci_sys->mtrr_fd);
|
| H A D | pciaccess_private.h | 183 int mtrr_fd; member in struct:pci_system
|
Completed in 4 milliseconds