| /xnu-8792.41.9/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-8792.41.9/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-8792.41.9/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-8792.41.9/osfmk/vm/ |
| H A D | vm_kern.c | 1178 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1187 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1345 pmap_protect(kernel_pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate() 1661 VM_PROT_NONE); in kmem_realloc_guard() 2293 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init() 2329 VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
|
| H A D | vm_user.c | 1263 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in mach_vm_remap_new_external() 1398 *cur_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1399 *max_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1503 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in vm_remap_new_external() 1602 *cur_protection = VM_PROT_NONE; in vm_remap_kernel() 1603 *max_protection = VM_PROT_NONE; in vm_remap_kernel() 1672 if (access != VM_PROT_NONE) { in mach_vm_wire_kernel() 1723 } else if (access != VM_PROT_NONE) { in vm_wire() 3136 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() 3137 max_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() [all …]
|
| H A D | vm_tests.c | 897 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 898 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 906 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 907 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
|
| H A D | vm_fault.c | 1216 if (fault_type == VM_PROT_NONE) { in vm_fault_page() 1502 if (fault_type == VM_PROT_NONE && in vm_fault_page() 1819 wants_copy_flag = VM_PROT_NONE; in vm_fault_page() 3735 fault_type = change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter() 4133 fault_type = (change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal() 5355 enter_fault_type = VM_PROT_NONE; in vm_fault_internal() 6368 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire() 6385 prot = VM_PROT_NONE; in vm_fault_unwire() 6394 VM_PROT_NONE, TRUE, in vm_fault_unwire() 6905 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy() [all …]
|
| H A D | vm_map.c | 2990 max_protection != VM_PROT_NONE && in vm_map_enter() 4824 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object_helper() 5860 cur_prot = VM_PROT_NONE; in vm_map_protect() 6132 prot = VM_PROT_NONE; in vm_map_protect() 7642 VM_PROT_NONE, in vm_map_submap_pmap_clean() 7678 VM_PROT_NONE, in vm_map_submap_pmap_clean() 8438 VM_PROT_NONE, in vm_map_delete() 8581 VM_PROT_NONE, in vm_map_delete() 8657 entry->protection = VM_PROT_NONE; in vm_map_delete() 8658 entry->max_protection = VM_PROT_NONE; in vm_map_delete() [all …]
|
| H A D | vm_swapfile_pager.c | 370 VM_PROT_NONE, in swapfile_pager_data_request()
|
| /xnu-8792.41.9/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 | 1453 result = vm_map_wire_kernel(user_map, addr, addr + size, VM_PROT_NONE, VM_KERN_MEMORY_MLOCK, TRUE); in mlock() 1484 …result = mach_vm_wire_kernel(host_priv_self(), user_map, addr, size, VM_PROT_NONE, VM_KERN_MEMORY_… in munlock()
|
| H A D | sysv_shm.c | 500 VM_PROT_NONE, in shmat() 501 VM_PROT_NONE, in shmat()
|
| H A D | kern_core.c | 520 if ((prot | maxprot) == VM_PROT_NONE) { in coredump()
|
| /xnu-8792.41.9/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 | 1565 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in ctrr_test_cpu() 1597 VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in ctrr_test_cpu()
|
| /xnu-8792.41.9/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-8792.41.9/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-8792.41.9/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-8792.41.9/osfmk/arm/pmap/ |
| H A D | pmap.c | 1724 prot, VM_PROT_NONE, flags, FALSE); in pmap_map() 2642 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init() 5161 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5406 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5509 if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE) != KERN_SUCCESS) { 10793 …dpage_pmap_default, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10797 …page_pmap_default, _COMM_PAGE64_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10832 …p_default, commpage_text_va, text_pa, VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DE… 10841 …dpage_pmap_default, _COMM_PAGE32_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10845 …page_pmap_default, _COMM_PAGE32_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… [all …]
|
| /xnu-8792.41.9/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-8792.41.9/osfmk/i386/ |
| H A D | lapic_native.c | 141 VM_PROT_NONE, in map_local_apic()
|
| /xnu-8792.41.9/osfmk/x86_64/ |
| H A D | pmap.c | 285 (ppnum_t) i386_btop(start_addr), prot, VM_PROT_NONE, flags, TRUE); in pmap_map() 1870 if (prot == VM_PROT_NONE) { in pmap_protect_options() 2019 kr = pmap_enter(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE); in pmap_map_block()
|
| /xnu-8792.41.9/osfmk/kern/ |
| H A D | zalloc.c | 5322 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, 0, TRUE, in pgz_protect() 5572 VM_PROT_NONE, VM_PROT_NONE, 0, FALSE, in pgz_init() 9501 kernel_object, addr, FALSE, VM_PROT_NONE, VM_PROT_NONE, in zone_init_allocate_va() 9561 prot_max = prot = VM_PROT_NONE; in zone_submap_init() 9712 pa, VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, 0, TRUE, in zone_metadata_init()
|
| /xnu-8792.41.9/iokit/Tests/ |
| H A D | TestIOMemoryDescriptor.cpp | 703 assert(regionInfo.protection == VM_PROT_NONE); in IOGuardPageMDTest()
|