VM_PROT_NONE
if (prot == VM_PROT_NONE) {
if (prot != VM_PROT_NONE) {
if (prot == VM_PROT_NONE) {
if (prot == VM_PROT_NONE) {
if (prot != VM_PROT_NONE) {
maxprot = VM_PROT_NONE;
error = vm_map_lookup(&map, arg->vaddr, VM_PROT_NONE, &entry,
error = vm_map_lookup(&map, addr, VM_PROT_NONE, &entry, &mem, &pindex,
maxprot = VM_PROT_NONE;
if (prot == VM_PROT_NONE) {
VM_PROT_NONE, VM_PROT_NONE, MAP_CREATE_GUARD);
prot = VM_PROT_NONE;
nprot = VM_PROT_NONE;
error = preload_protect(ef, VM_PROT_NONE);
maxprot = VM_PROT_NONE;
maxprot = VM_PROT_NONE;
maxprot = VM_PROT_NONE;
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
if (prot == VM_PROT_NONE) {
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
if ((prot & VM_PROT_READ) == VM_PROT_NONE) {
VM_PROT_NONE, MAP_CREATE_GUARD);
VM_PROT_NONE, MAP_CREATE_GUARD);
max != VM_PROT_NONE))
rv = vm_fault(map, faddr, VM_PROT_NONE,
rv = vm_map_insert1(map, NULL, 0, gap_bot, gap_top, VM_PROT_NONE,
VM_PROT_NONE, MAP_CREATE_GUARD | MAP_CREATE_STACK_GAP,
gap_end, VM_PROT_NONE, VM_PROT_NONE,
if (prot == VM_PROT_NONE && map != kernel_map &&
if ((fault_type & prot) != fault_type || prot == VM_PROT_NONE) {
error = vm_mmap_object(&vms->vm_map, &addr, size, VM_PROT_NONE,
VM_PROT_NONE, flags, NULL, pos, FALSE, td);