| /xnu-8020.101.4/osfmk/vm/ |
| H A D | vm_kern.c | 470 VM_PROT_DEFAULT, VM_PROT_NONE, in kernel_memory_allocate() 478 VM_PROT_DEFAULT, VM_PROT_NONE, in kernel_memory_allocate() 616 prot, VM_PROT_NONE, in kernel_memory_populate_with_pages() 624 prot, VM_PROT_NONE, in kernel_memory_populate_with_pages() 702 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, 0, TRUE, in kernel_memory_populate() 798 pmap_protect(kernel_map->pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate() 1298 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init() 1334 VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
|
| H A D | vm_user.c | 1256 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in mach_vm_remap_new_external() 1348 *cur_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1349 *max_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1423 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in vm_remap_new_external() 1519 *cur_protection = VM_PROT_NONE; in vm_remap_kernel() 1520 *max_protection = VM_PROT_NONE; in vm_remap_kernel() 1586 if (access != VM_PROT_NONE) { in mach_vm_wire_kernel() 1637 } else if (access != VM_PROT_NONE) { in vm_wire() 3021 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() 3022 max_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() [all …]
|
| H A D | vm_tests.c | 905 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 906 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 914 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 915 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
|
| H A D | vm_fault.c | 1214 if (fault_type == VM_PROT_NONE) { in vm_fault_page() 1527 if (fault_type == VM_PROT_NONE && in vm_fault_page() 1848 wants_copy_flag = VM_PROT_NONE; in vm_fault_page() 3768 fault_type = change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter() 4171 fault_type = (change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal() 5404 enter_fault_type = VM_PROT_NONE; in vm_fault_internal() 6422 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire() 6439 prot = VM_PROT_NONE; in vm_fault_unwire() 6448 VM_PROT_NONE, TRUE, in vm_fault_unwire() 6953 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy() [all …]
|
| H A D | vm_map.c | 2972 max_protection != VM_PROT_NONE && in vm_map_enter() 4791 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object_helper() 5923 cur_prot = VM_PROT_NONE; in vm_map_protect() 6176 prot = VM_PROT_NONE; in vm_map_protect() 7638 VM_PROT_NONE, in vm_map_submap_pmap_clean() 7674 VM_PROT_NONE, in vm_map_submap_pmap_clean() 8220 VM_PROT_NONE, in vm_map_delete() 8358 VM_PROT_NONE, in vm_map_delete() 8462 entry->protection = VM_PROT_NONE; in vm_map_delete() 8463 entry->max_protection = VM_PROT_NONE; in vm_map_delete() [all …]
|
| H A D | vm_swapfile_pager.c | 404 VM_PROT_NONE, in swapfile_pager_data_request()
|
| /xnu-8020.101.4/osfmk/tests/ |
| H A D | pmap_tests.c | 109 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-8020.101.4/osfmk/mach/ |
| H A D | vm_prot.h | 81 #define VM_PROT_NONE ((vm_prot_t) 0x00) macro
|
| H A D | host_priv.defs | 131 * [ To unwire the pages, specify VM_PROT_NONE. ] 292 * [ To unwire the pages, specify VM_PROT_NONE. ]
|
| /xnu-8020.101.4/iokit/Kernel/ |
| H A D | IOGuardPageMemoryDescriptor.cpp | 111 kern_return_t kr = mach_vm_protect(map, address, length, true, VM_PROT_NONE); in doMap()
|
| /xnu-8020.101.4/bsd/kern/ |
| H A D | posix_shm.c | 868 VM_PROT_NONE, in pshm_mmap() 869 VM_PROT_NONE, in pshm_mmap()
|
| H A D | kern_mman.c | 1410 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 D | kern_core.c | 465 if ((prot | maxprot) == VM_PROT_NONE) { in coredump()
|
| H A D | sysv_shm.c | 500 VM_PROT_NONE, in shmat() 501 VM_PROT_NONE, in shmat()
|
| H A D | mach_loader.c | 2196 (scp->initprot & VM_PROT_ALL) == VM_PROT_NONE && in load_segment() 2197 (scp->maxprot & VM_PROT_ALL) == VM_PROT_NONE) { in load_segment()
|
| /xnu-8020.101.4/osfmk/arm64/ |
| H A D | hibernate_restore.c | 363 if (protection != VM_PROT_NONE) { in pal_hib_resume_tramp()
|
| H A D | platform_tests.c | 1564 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-8020.101.4/osfmk/device/ |
| H A D | iokit_rpc.c | 578 pmap_enter_options(pmap, va + off, ppnum, prot, VM_PROT_NONE, flags, TRUE, in IOProtectCacheMode()
|
| /xnu-8020.101.4/bsd/dev/dtrace/ |
| H A D | dtrace_glue.c | 198 reprotect = VM_PROT_NONE; in uwrite() 212 if (reprotect != VM_PROT_NONE) { in uwrite()
|
| /xnu-8020.101.4/iokit/bsddev/skywalk/ |
| H A D | IOSkywalkSupport.cpp | 551 VM_PROT_NONE, in OSDefineMetaClassAndFinalStructors() 1043 vm_prot_t prot = VM_PROT_NONE; in _clearSegmentBuffer() 1210 prot = VM_PROT_NONE; in updateMappingsForArena()
|
| /xnu-8020.101.4/osfmk/kern/ |
| H A D | gzalloc.c | 112 vm_prot_t gzalloc_prot = VM_PROT_NONE;
|
| /xnu-8020.101.4/tools/tests/superpages/ |
| H A D | testsp.c | 473 kr = mach_vm_wire(mach_host_self(), mach_task_self(), addr, size, VM_PROT_NONE); in test_unwire()
|
| /xnu-8020.101.4/osfmk/arm/ |
| H A D | pmap.c | 1672 prot, VM_PROT_NONE, flags, FALSE); in pmap_map() 2717 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init() 5298 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5547 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5650 if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE) != KERN_SUCCESS) { 10771 …map, _COMM_PAGE_BASE_ADDRESS, atop(pa), VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DE… 10887 …dpage_pmap_default, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10922 …p_default, commpage_text_va, text_pa, VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DE… 10931 …dpage_pmap_default, _COMM_PAGE32_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10947 …sharedpage_pmap_4k, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… [all …]
|
| /xnu-8020.101.4/osfmk/i386/ |
| H A D | lapic_native.c | 155 VM_PROT_NONE, in map_local_apic()
|
| /xnu-8020.101.4/osfmk/x86_64/ |
| H A D | pmap.c | 285 (ppnum_t) i386_btop(start_addr), prot, VM_PROT_NONE, flags, TRUE); in pmap_map() 1865 if (prot == VM_PROT_NONE) { in pmap_protect_options() 2007 kr = pmap_enter(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE); in pmap_map_block()
|