/openbsd/sys/arch/alpha/alpha/ |
H A D | mem.c | 69 extern int allowaperture; 89 if (suser(p) != 0 || !allowaperture) in mmopen() 94 if (ap_open_count > 0 && allowaperture < 3) in mmopen() 231 switch (allowaperture) { in mmmmap()
|
H A D | machdep.c | 149 int allowaperture = 0; variable 1544 &allowaperture)); in cpu_sysctl() 1547 &allowaperture)); in cpu_sysctl()
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | mem.c | 66 extern int allowaperture; 97 if (suser(p) != 0 || !allowaperture) in mmopen() 102 if (ap_open_count > 0 && allowaperture < 3) in mmopen() 214 switch (allowaperture) { in mmmmap()
|
H A D | sys_machdep.c | 48 extern int allowaperture; 62 if (!allowaperture && securelevel > 0) in amd64_iopl()
|
H A D | machdep.c | 279 int allowaperture = 0; variable 540 &allowaperture)); in cpu_sysctl() 543 &allowaperture)); in cpu_sysctl()
|
/openbsd/sys/arch/arm/arm/ |
H A D | mem.c | 95 extern int allowaperture; 116 if (suser(p) != 0 || !allowaperture) in mmopen() 121 if (ap_open_count > 0 && allowaperture < 3) in mmopen()
|
H A D | arm32_machdep.c | 103 int allowaperture = 0; variable 324 &allowaperture)); in cpu_sysctl() 327 &allowaperture)); in cpu_sysctl()
|
/openbsd/sys/arch/arm64/arm64/ |
H A D | mem.c | 98 extern int allowaperture; 120 if (suser(p) != 0 || !allowaperture) in mmopen() 125 if (ap_open_count > 0 && allowaperture < 3) in mmopen()
|
/openbsd/sys/arch/riscv64/riscv64/ |
H A D | mem.c | 94 extern int allowaperture; 116 if (suser(p) != 0 || !allowaperture) in mmopen() 121 if (ap_open_count > 0 && allowaperture < 3) in mmopen()
|
/openbsd/sys/arch/i386/i386/ |
H A D | mem.c | 63 extern int allowaperture; 91 if (suser(p) != 0 || !allowaperture) in mmopen() 96 if (ap_open_count > 0 && allowaperture < 3) in mmopen() 221 switch (allowaperture) { in mmmmap()
|
H A D | amdmsr.c | 35 extern int allowaperture; 104 if (suser(p) != 0 || !allowaperture) in amdmsropen()
|
H A D | sys_machdep.c | 55 extern int allowaperture; 68 if (!allowaperture && securelevel > 0) in i386_iopl()
|
H A D | machdep.c | 264 int allowaperture = 0; variable 3536 &allowaperture)); in cpu_sysctl() 3539 &allowaperture)); in cpu_sysctl()
|
/openbsd/sys/arch/macppc/macppc/ |
H A D | mem.c | 62 extern int allowaperture; 209 if (suser(p) != 0 || !allowaperture) in mmopen() 214 if (ap_open_count > 0 && allowaperture < 3) in mmopen()
|
H A D | machdep.c | 118 int allowaperture = 0; variable 555 &allowaperture)); in cpu_sysctl() 558 &allowaperture)); in cpu_sysctl()
|
/openbsd/sys/arch/sparc64/dev/ |
H A D | vgafb.c | 102 extern int allowaperture; 335 if (allowaperture == 0) in vgafb_mmap()
|
H A D | radeonfb.c | 95 extern int allowaperture; 327 if (allowaperture == 0) in radeonfb_mmap()
|
H A D | gfxp.c | 96 extern int allowaperture; 333 if (allowaperture == 0) in gfxp_mmap()
|
H A D | raptor.c | 108 extern int allowaperture; 307 if (allowaperture == 0) in raptor_mmap()
|
H A D | machfb.c | 166 extern int allowaperture; 397 if (allowaperture == 0) in machfb_mmap()
|
H A D | ifb.c | 60 extern int allowaperture; 758 if (allowaperture != 0 && sc->sc_acceltype != IFB_ACCEL_NONE) { in ifb_mmap()
|
/openbsd/sys/arch/macppc/pci/ |
H A D | vgafb.c | 107 extern int allowaperture; 332 if (allowaperture == 0) in vgafb_mmap()
|
/openbsd/sys/arch/loongson/dev/ |
H A D | radeonfb.c | 85 extern int allowaperture; 356 if (allowaperture == 0) in radeonfb_mmap()
|
/openbsd/sys/arch/sparc64/sparc64/ |
H A D | machdep.c | 160 int allowaperture = 0; variable 359 &allowaperture)); in cpu_sysctl() 362 &allowaperture)); in cpu_sysctl()
|
/openbsd/sys/dev/pci/ |
H A D | pci.c | 85 extern int allowaperture; 1246 if ((oflags & FWRITE) && securelevel > 0 && allowaperture == 0) { in pciopen()
|