/openbsd/sys/arch/alpha/alpha/ |
H A D | mem.c | 68 extern int allowaperture; 87 if (suser(p) != 0 || !allowaperture) in mmopen() 92 if (ap_open_count > 0 && allowaperture < 3) in mmopen() 229 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 | 65 extern int allowaperture; 95 if (suser(p) != 0 || !allowaperture) in mmopen() 100 if (ap_open_count > 0 && allowaperture < 3) in mmopen() 212 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 | 278 int allowaperture = 0; variable 539 &allowaperture)); in cpu_sysctl() 542 &allowaperture)); in cpu_sysctl()
|
/openbsd/sys/arch/arm/arm/ |
H A D | mem.c | 94 extern int allowaperture; 114 if (suser(p) != 0 || !allowaperture) in mmopen() 119 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 | 97 extern int allowaperture; 118 if (suser(p) != 0 || !allowaperture) in mmopen() 123 if (ap_open_count > 0 && allowaperture < 3) in mmopen()
|
/openbsd/sys/arch/riscv64/riscv64/ |
H A D | mem.c | 93 extern int allowaperture; 114 if (suser(p) != 0 || !allowaperture) in mmopen() 119 if (ap_open_count > 0 && allowaperture < 3) in mmopen()
|
/openbsd/sys/arch/i386/i386/ |
H A D | mem.c | 62 extern int allowaperture; 89 if (suser(p) != 0 || !allowaperture) in mmopen() 94 if (ap_open_count > 0 && allowaperture < 3) in mmopen() 219 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 | 263 int allowaperture = 0; variable 3530 &allowaperture)); in cpu_sysctl() 3533 &allowaperture)); in cpu_sysctl()
|
/openbsd/sys/arch/macppc/macppc/ |
H A D | mem.c | 61 extern int allowaperture; 207 if (suser(p) != 0 || !allowaperture) in mmopen() 212 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; 1232 if ((oflags & FWRITE) && securelevel > 0 && allowaperture == 0) { in pciopen()
|