VM_PROT_NONE
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
KASSERT((prot & VM_PROT_ALL) != VM_PROT_NONE);
KASSERT(prot == VM_PROT_NONE);
VM_PROT_NONE) {
(prot == VM_PROT_NONE && (pmapdebug & PDB_REMOVE)))
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
ftype = VM_PROT_NONE;
KASSERT(prot == VM_PROT_NONE);
pte->pte |= (prot == VM_PROT_NONE || pm == kernel_pmap)
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
pmap_protect(pmap_kernel(), va, va+1, VM_PROT_NONE);
pmap_page_protect(pg, VM_PROT_NONE);
(prot == VM_PROT_NONE && (pmapdebug & PDB_REMOVE)))
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
protection_codes[VM_PROT_NONE|VM_PROT_NONE|VM_PROT_NONE] = 0;
protection_codes[VM_PROT_READ|VM_PROT_NONE|VM_PROT_NONE] = PG_RO;
protection_codes[VM_PROT_READ|VM_PROT_NONE|VM_PROT_EXECUTE] = PG_RO;
protection_codes[VM_PROT_NONE|VM_PROT_NONE|VM_PROT_EXECUTE] = PG_RO;
protection_codes[VM_PROT_NONE|VM_PROT_WRITE|VM_PROT_NONE] = PG_RW;
protection_codes[VM_PROT_NONE|VM_PROT_WRITE|VM_PROT_EXECUTE] = PG_RW;
protection_codes[VM_PROT_READ|VM_PROT_WRITE|VM_PROT_NONE] = PG_RW;
pmap_protect(pmap_kernel(), va, va + PAGE_SIZE, VM_PROT_NONE);
pmap_page_protect(pg, VM_PROT_NONE);
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
if (prot != VM_PROT_NONE)
(pmapdebug & PDB_REMOVE && prot == VM_PROT_NONE))
(pmapdebug & PDB_REMOVE && prot == VM_PROT_NONE))
(void) mmu_pagein(vm->vm_map.pmap, va, VM_PROT_NONE);
if (prot == VM_PROT_NONE) {
if (prot == VM_PROT_NONE) {
pmap_protect(pmap_kernel(), va, va+1, VM_PROT_NONE);
pmap_page_protect(pg, VM_PROT_NONE);
case VM_PROT_NONE:
case VM_PROT_NONE:
case VM_PROT_NONE:
if (prot == VM_PROT_NONE)
if (prot == VM_PROT_NONE) {
if (prot == VM_PROT_NONE) {
cur_prot = VM_PROT_NONE;
if (prot == VM_PROT_NONE) {
if (prot == VM_PROT_NONE) {
protection_codes[VM_PROT_NONE] = pmap_pg_nx;
noaccess_linear_min, NULLVP, 0, VM_PROT_NONE, VMCMD_STACK);
noaccess_linear_min, NULLVP, 0, VM_PROT_NONE, VMCMD_STACK);
noaccess_linear_min, NULLVP, 0, VM_PROT_NONE, VMCMD_STACK);
0, VM_PROT_NONE, VMCMD_RELATIVE);
epp->ep_maxsaddr, NULL, 0, VM_PROT_NONE);
epp->ep_maxsaddr - user_stack_guard_size, NULL, 0, VM_PROT_NONE);
VM_PROT_NONE | PROT_MPROTECT(VM_PROT_READ | VM_PROT_WRITE),
prot = VM_PROT_NONE;
pmap_page_protect(pg, VM_PROT_NONE);
pmap_page_protect(tpg, VM_PROT_NONE);
pmap_page_protect(pg, VM_PROT_NONE);
KASSERT(prot == VM_PROT_NONE);
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
pmap_page_protect(oanon->an_page, VM_PROT_NONE);
pmap_page_protect(pg, VM_PROT_NONE);
pmap_page_protect(pg, VM_PROT_NONE);
pmap_page_protect(pg, VM_PROT_NONE);
pmap_page_protect(uobjpage, VM_PROT_NONE);
pmap_page_protect(uobjpage, VM_PROT_NONE);
pmap_page_protect(oldpg, VM_PROT_NONE);
old_prot == VM_PROT_NONE &&
new_prot != VM_PROT_NONE) {
if (entry->protection == VM_PROT_NONE ||
if (entry->protection != VM_PROT_NONE &&
if (entry->protection == VM_PROT_NONE)
if (entry->protection == VM_PROT_NONE)
if (entry->protection == VM_PROT_NONE)
if (__predict_false(entry->protection == VM_PROT_NONE)) {
if (!uvm_map_checkprot(map, addr, addr + size, VM_PROT_NONE)) {
if (prot == VM_PROT_NONE) {
reserved_entry->protection != VM_PROT_NONE) {
pmap_page_protect(p, VM_PROT_NONE);