| /xnu-8796.141.3/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-8796.141.3/osfmk/tests/ |
| H A D | pmap_tests.c | 117 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in test_pmap_enter_disconnect() 139 VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_OPTIONS_INTERNAL, NULL); in pmap_remove_thread() 299 VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in test_pmap_nesting() 490 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in test_pmap_page_protect_overhead()
|
| /xnu-8796.141.3/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-8796.141.3/osfmk/vm/ |
| H A D | vm_tests.c | 895 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 896 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 904 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target() 905 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
|
| H A D | vm_user.c | 1272 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in mach_vm_remap_new_external() 1401 *cur_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1402 *max_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1567 if (access != VM_PROT_NONE) { in mach_vm_wire_kernel() 1618 } else if (access != VM_PROT_NONE) { in vm_wire() 3044 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() 3045 max_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() 3091 if (protections == VM_PROT_NONE) { in mach_make_memory_entry_internal() 4421 vm_fault(map, map_offset, VM_PROT_NONE, in vm_map_get_phys_page()
|
| H A D | vm_map.c | 3021 max_protection != VM_PROT_NONE && in vm_map_enter() 4826 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object_helper() 5859 cur_prot = VM_PROT_NONE; in vm_map_protect() 6202 prot = VM_PROT_NONE; in vm_map_protect() 7705 VM_PROT_NONE, in vm_map_submap_pmap_clean() 7741 VM_PROT_NONE, in vm_map_submap_pmap_clean() 8519 VM_PROT_NONE, in vm_map_delete() 8681 VM_PROT_NONE, in vm_map_delete() 8773 entry->protection = VM_PROT_NONE; in vm_map_delete() 8774 entry->max_protection = VM_PROT_NONE; in vm_map_delete() [all …]
|
| H A D | vm_fault.c | 1226 if (fault_type == VM_PROT_NONE) { in vm_fault_page() 1512 if (fault_type == VM_PROT_NONE && in vm_fault_page() 1829 wants_copy_flag = VM_PROT_NONE; in vm_fault_page() 3799 fault_type = change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter() 4199 fault_type = (change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal() 5431 enter_fault_type = VM_PROT_NONE; in vm_fault_internal() 6476 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire() 6493 prot = VM_PROT_NONE; in vm_fault_unwire() 6502 VM_PROT_NONE, TRUE, in vm_fault_unwire() 7021 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy() [all …]
|
| H A D | vm_kern.c | 1244 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1253 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1437 pmap_protect(kernel_pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate() 1870 VM_PROT_NONE); in kmem_realloc_guard() 3803 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init() 3834 VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
|
| H A D | vm_swapfile_pager.c | 370 VM_PROT_NONE, in swapfile_pager_data_request()
|
| /xnu-8796.141.3/bsd/kern/ |
| H A D | posix_shm.c | 864 VM_PROT_NONE, in pshm_mmap() 865 VM_PROT_NONE, in pshm_mmap()
|
| H A D | kern_mman.c | 1482 result = vm_map_wire_kernel(user_map, addr, addr + size, VM_PROT_NONE, VM_KERN_MEMORY_MLOCK, TRUE); in mlock() 1513 result = mach_vm_wire_kernel(user_map, addr, size, VM_PROT_NONE, VM_KERN_MEMORY_MLOCK); in munlock()
|
| H A D | sysv_shm.c | 498 VM_PROT_NONE, in shmat() 499 VM_PROT_NONE, in shmat()
|
| H A D | kern_core.c | 616 if ((prot | maxprot) == VM_PROT_NONE) { in coredump()
|
| H A D | mach_loader.c | 2223 (scp->initprot & VM_PROT_ALL) == VM_PROT_NONE && in load_segment() 2224 (scp->maxprot & VM_PROT_ALL) == VM_PROT_NONE) { in load_segment()
|
| /xnu-8796.141.3/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-8796.141.3/osfmk/device/ |
| H A D | iokit_rpc.c | 610 pmap_enter_options(pmap, va + off, ppnum, prot, VM_PROT_NONE, flags, TRUE, in IOProtectCacheMode()
|
| /xnu-8796.141.3/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-8796.141.3/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-8796.141.3/osfmk/arm/pmap/ |
| H A D | pmap.c | 1773 prot, VM_PROT_NONE, flags, FALSE); in pmap_map() 2671 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init() 5179 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5424 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5527 if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE) != KERN_SUCCESS) { 10865 …mpage_pmap_default, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10869 …page_pmap_default, _COMM_PAGE64_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10904 …p_default, commpage_text_va, text_pa, VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DE… 10913 …mpage_pmap_default, _COMM_PAGE32_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10917 …page_pmap_default, _COMM_PAGE32_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… [all …]
|
| /xnu-8796.141.3/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-8796.141.3/osfmk/i386/ |
| H A D | lapic_native.c | 141 VM_PROT_NONE, in map_local_apic()
|
| /xnu-8796.141.3/osfmk/x86_64/ |
| H A D | pmap.c | 285 (ppnum_t) i386_btop(start_addr), prot, VM_PROT_NONE, flags, TRUE); in pmap_map() 1890 if (prot == VM_PROT_NONE) { in pmap_protect_options() 2039 kr = pmap_enter(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE); in pmap_map_block()
|
| /xnu-8796.141.3/iokit/Tests/ |
| H A D | TestIOMemoryDescriptor.cpp | 703 assert(regionInfo.protection == VM_PROT_NONE); in IOGuardPageMDTest()
|