Home
last modified time | relevance | path

Searched refs:allowaperture (Results 1 – 25 of 25) sorted by relevance

/openbsd/sys/arch/alpha/alpha/
H A Dmem.c68 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 Dmachdep.c149 int allowaperture = 0; variable
1544 &allowaperture)); in cpu_sysctl()
1547 &allowaperture)); in cpu_sysctl()
/openbsd/sys/arch/amd64/amd64/
H A Dmem.c65 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 Dsys_machdep.c48 extern int allowaperture;
62 if (!allowaperture && securelevel > 0) in amd64_iopl()
H A Dmachdep.c278 int allowaperture = 0; variable
539 &allowaperture)); in cpu_sysctl()
542 &allowaperture)); in cpu_sysctl()
/openbsd/sys/arch/arm/arm/
H A Dmem.c94 extern int allowaperture;
114 if (suser(p) != 0 || !allowaperture) in mmopen()
119 if (ap_open_count > 0 && allowaperture < 3) in mmopen()
H A Darm32_machdep.c103 int allowaperture = 0; variable
324 &allowaperture)); in cpu_sysctl()
327 &allowaperture)); in cpu_sysctl()
/openbsd/sys/arch/arm64/arm64/
H A Dmem.c97 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 Dmem.c93 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 Dmem.c62 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 Damdmsr.c35 extern int allowaperture;
104 if (suser(p) != 0 || !allowaperture) in amdmsropen()
H A Dsys_machdep.c55 extern int allowaperture;
68 if (!allowaperture && securelevel > 0) in i386_iopl()
H A Dmachdep.c263 int allowaperture = 0; variable
3530 &allowaperture)); in cpu_sysctl()
3533 &allowaperture)); in cpu_sysctl()
/openbsd/sys/arch/macppc/macppc/
H A Dmem.c61 extern int allowaperture;
207 if (suser(p) != 0 || !allowaperture) in mmopen()
212 if (ap_open_count > 0 && allowaperture < 3) in mmopen()
H A Dmachdep.c118 int allowaperture = 0; variable
555 &allowaperture)); in cpu_sysctl()
558 &allowaperture)); in cpu_sysctl()
/openbsd/sys/arch/sparc64/dev/
H A Dvgafb.c102 extern int allowaperture;
335 if (allowaperture == 0) in vgafb_mmap()
H A Dradeonfb.c95 extern int allowaperture;
327 if (allowaperture == 0) in radeonfb_mmap()
H A Dgfxp.c96 extern int allowaperture;
333 if (allowaperture == 0) in gfxp_mmap()
H A Draptor.c108 extern int allowaperture;
307 if (allowaperture == 0) in raptor_mmap()
H A Dmachfb.c166 extern int allowaperture;
397 if (allowaperture == 0) in machfb_mmap()
H A Difb.c60 extern int allowaperture;
758 if (allowaperture != 0 && sc->sc_acceltype != IFB_ACCEL_NONE) { in ifb_mmap()
/openbsd/sys/arch/macppc/pci/
H A Dvgafb.c107 extern int allowaperture;
332 if (allowaperture == 0) in vgafb_mmap()
/openbsd/sys/arch/loongson/dev/
H A Dradeonfb.c85 extern int allowaperture;
356 if (allowaperture == 0) in radeonfb_mmap()
/openbsd/sys/arch/sparc64/sparc64/
H A Dmachdep.c160 int allowaperture = 0; variable
359 &allowaperture)); in cpu_sysctl()
362 &allowaperture)); in cpu_sysctl()
/openbsd/sys/dev/pci/
H A Dpci.c85 extern int allowaperture;
1232 if ((oflags & FWRITE) && securelevel > 0 && allowaperture == 0) { in pciopen()