Home
last modified time | relevance | path

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

12

/xnu-8019.80.24/osfmk/vm/
H A Dvm_kern.c498 kma_prot, VM_PROT_NONE, ((flags & KMA_KSTACK) ? VM_MEM_STACK : 0), TRUE, in kernel_memory_allocate_prot()
505 kma_prot, VM_PROT_NONE, ((flags & KMA_KSTACK) ? VM_MEM_STACK : 0), TRUE, in kernel_memory_allocate_prot()
647 prot, VM_PROT_NONE, in kernel_memory_populate_with_pages()
655 prot, VM_PROT_NONE, in kernel_memory_populate_with_pages()
733 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, 0, TRUE, in kernel_memory_populate()
829 pmap_protect(kernel_map->pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate()
1433 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
1468 VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
H A Dvm_tests.c900 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
901 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
909 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
910 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
H A Dvm_user.c1262 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in mach_vm_remap_new_external()
1354 *cur_protection = VM_PROT_NONE; in mach_vm_remap_kernel()
1355 *max_protection = VM_PROT_NONE; in mach_vm_remap_kernel()
1429 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in vm_remap_new_external()
1525 *cur_protection = VM_PROT_NONE; in vm_remap_kernel()
1526 *max_protection = VM_PROT_NONE; in vm_remap_kernel()
1592 if (access != VM_PROT_NONE) { in mach_vm_wire_kernel()
1643 } else if (access != VM_PROT_NONE) { in vm_wire()
3042 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_internal()
3043 max_prot = VM_PROT_NONE; in mach_make_memory_entry_internal()
[all …]
H A Dvm_fault.c1209 if (fault_type == VM_PROT_NONE) { in vm_fault_page()
1522 if (fault_type == VM_PROT_NONE && in vm_fault_page()
1843 wants_copy_flag = VM_PROT_NONE; in vm_fault_page()
3763 fault_type = change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter()
4146 fault_type = (change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal()
5376 enter_fault_type = VM_PROT_NONE; in vm_fault_internal()
6389 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire()
6406 prot = VM_PROT_NONE; in vm_fault_unwire()
6415 VM_PROT_NONE, TRUE, in vm_fault_unwire()
6918 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy()
[all …]
H A Dvm_map.c2965 max_protection != VM_PROT_NONE && in vm_map_enter()
4795 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object_helper()
5927 cur_prot = VM_PROT_NONE; in vm_map_protect()
6180 prot = VM_PROT_NONE; in vm_map_protect()
7641 VM_PROT_NONE, in vm_map_submap_pmap_clean()
7677 VM_PROT_NONE, in vm_map_submap_pmap_clean()
8223 VM_PROT_NONE, in vm_map_delete()
8361 VM_PROT_NONE, in vm_map_delete()
8465 entry->protection = VM_PROT_NONE; in vm_map_delete()
8466 entry->max_protection = VM_PROT_NONE; in vm_map_delete()
[all …]
H A Dvm_swapfile_pager.c405 VM_PROT_NONE, in swapfile_pager_data_request()
/xnu-8019.80.24/osfmk/tests/
H A Dpmap_tests.c109 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in test_pmap_enter_disconnect()
173 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in test_pmap_page_protect_overhead()
/xnu-8019.80.24/osfmk/mach/
H A Dvm_prot.h81 #define VM_PROT_NONE ((vm_prot_t) 0x00) macro
H A Dhost_priv.defs131 * [ To unwire the pages, specify VM_PROT_NONE. ]
292 * [ To unwire the pages, specify VM_PROT_NONE. ]
/xnu-8019.80.24/iokit/Kernel/
H A DIOGuardPageMemoryDescriptor.cpp112 kern_return_t kr = mach_vm_protect(map, address, length, true, VM_PROT_NONE); in doMap()
/xnu-8019.80.24/bsd/kern/
H A Dposix_shm.c868 VM_PROT_NONE, in pshm_mmap()
869 VM_PROT_NONE, in pshm_mmap()
H A Dkern_mman.c1410 result = vm_map_wire_kernel(user_map, addr, addr + size, VM_PROT_NONE, VM_KERN_MEMORY_MLOCK, TRUE); in mlock()
1441 …result = mach_vm_wire_kernel(host_priv_self(), user_map, addr, size, VM_PROT_NONE, VM_KERN_MEMORY_… in munlock()
H A Dkern_core.c464 if ((prot | maxprot) == VM_PROT_NONE) { in coredump()
H A Dsysv_shm.c500 VM_PROT_NONE, in shmat()
501 VM_PROT_NONE, in shmat()
H A Dmach_loader.c2197 (scp->initprot & VM_PROT_ALL) == VM_PROT_NONE && in load_segment()
2198 (scp->maxprot & VM_PROT_ALL) == VM_PROT_NONE) { in load_segment()
/xnu-8019.80.24/osfmk/device/
H A Diokit_rpc.c578 pmap_enter_options(pmap, va + off, ppnum, prot, VM_PROT_NONE, flags, TRUE, in IOProtectCacheMode()
/xnu-8019.80.24/osfmk/arm64/
H A Dhibernate_restore.c363 if (protection != VM_PROT_NONE) { in pal_hib_resume_tramp()
H A Dplatform_tests.c1564 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in ctrr_test_cpu()
1596 VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in ctrr_test_cpu()
/xnu-8019.80.24/bsd/dev/dtrace/
H A Ddtrace_glue.c198 reprotect = VM_PROT_NONE; in uwrite()
212 if (reprotect != VM_PROT_NONE) { in uwrite()
/xnu-8019.80.24/iokit/bsddev/skywalk/
H A DIOSkywalkSupport.cpp550 VM_PROT_NONE, in OSDefineMetaClassAndFinalStructors()
1044 vm_prot_t prot = VM_PROT_NONE; in _clearSegmentBuffer()
1217 prot = VM_PROT_NONE; in updateMappingsForArena()
/xnu-8019.80.24/osfmk/kern/
H A Dgzalloc.c112 vm_prot_t gzalloc_prot = VM_PROT_NONE;
/xnu-8019.80.24/tools/tests/superpages/
H A Dtestsp.c473 kr = mach_vm_wire(mach_host_self(), mach_task_self(), addr, size, VM_PROT_NONE); in test_unwire()
/xnu-8019.80.24/osfmk/arm/
H A Dpmap.c1656 prot, VM_PROT_NONE, flags, FALSE); in pmap_map()
2701 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init()
5254 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) {
5503 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) {
5606 if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE) != KERN_SUCCESS) {
10555 …map, _COMM_PAGE_BASE_ADDRESS, atop(pa), VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DE…
10671 …dpage_pmap_default, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
10706 …p_default, commpage_text_va, text_pa, VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DE…
10715 …dpage_pmap_default, _COMM_PAGE32_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
10731 …sharedpage_pmap_4k, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
[all …]
/xnu-8019.80.24/osfmk/i386/
H A Dlapic_native.c156 VM_PROT_NONE, in map_local_apic()
/xnu-8019.80.24/osfmk/x86_64/
H A Dpmap.c285 (ppnum_t) i386_btop(start_addr), prot, VM_PROT_NONE, flags, TRUE); in pmap_map()
1836 if (prot == VM_PROT_NONE) { in pmap_protect_options()
1978 kr = pmap_enter(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE); in pmap_map_block()

12