HomeSort by: relevance | last modified time | path
    Searched refs:mtrr_fd (Results 1 - 3 of 3) sorted by relevancy

  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/linux/
lnx_video.c 115 static int mtrr_fd = MTRR_FD_UNOPENED; variable
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_ENTRY, &curwcr->sentry) >= 0)
    [all...]
  /xsrc/external/mit/libpciaccess/dist/src/
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);
pciaccess_private.h 183 int mtrr_fd; member in struct:pci_system

Completed in 5 milliseconds