| /xnu-10002.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-10002.41.9/osfmk/tests/ |
| H A D | pmap_tests.c | 118 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in test_pmap_enter_disconnect() 140 VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_OPTIONS_INTERNAL, NULL); in pmap_remove_thread() 300 VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in test_pmap_nesting() 491 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in test_pmap_page_protect_overhead()
|
| /xnu-10002.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-10002.41.9/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 | 1278 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in mach_vm_remap_new_external() 1407 *cur_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1408 *max_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1573 if (access != VM_PROT_NONE) { in mach_vm_wire_kernel() 1624 } else if (access != VM_PROT_NONE) { in vm_wire() 3050 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() 3051 max_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() 3097 if (protections == VM_PROT_NONE) { in mach_make_memory_entry_internal() 4427 vm_fault(map, map_offset, VM_PROT_NONE, in vm_map_get_phys_page()
|
| H A D | vm_map.c | 3094 max_protection != VM_PROT_NONE && in vm_map_enter() 4902 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object_helper() 5950 cur_prot = VM_PROT_NONE; in vm_map_protect() 6294 prot = VM_PROT_NONE; in vm_map_protect() 7808 VM_PROT_NONE, in vm_map_submap_pmap_clean() 7844 VM_PROT_NONE, in vm_map_submap_pmap_clean() 8636 VM_PROT_NONE, in vm_map_delete() 8798 VM_PROT_NONE, in vm_map_delete() 8890 entry->protection = VM_PROT_NONE; in vm_map_delete() 8891 entry->max_protection = VM_PROT_NONE; in vm_map_delete() [all …]
|
| H A D | vm_kern.c | 1240 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1249 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1434 pmap_protect(kernel_pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate() 1868 VM_PROT_NONE); in kmem_realloc_guard() 3809 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init() 3840 VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
|
| 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() 1841 wants_copy_flag = VM_PROT_NONE; in vm_fault_page() 3920 fault_type = change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter() 4323 fault_type = (change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal() 5596 enter_fault_type = VM_PROT_NONE; in vm_fault_internal() 6689 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire() 6706 prot = VM_PROT_NONE; in vm_fault_unwire() 6715 VM_PROT_NONE, TRUE, in vm_fault_unwire() 7238 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy() [all …]
|
| H A D | vm_swapfile_pager.c | 370 VM_PROT_NONE, in swapfile_pager_data_request()
|
| H A D | vm_reclaim.c | 150 VM_PROT_NONE, VM_KERN_MEMORY_OSFMK, TRUE); in vmdr_metadata_wire()
|
| /xnu-10002.41.9/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 | sysv_shm.c | 498 VM_PROT_NONE, in shmat() 499 VM_PROT_NONE, in shmat()
|
| H A D | kern_mman.c | 1521 result = vm_map_wire_kernel(user_map, addr, addr + size, VM_PROT_NONE, VM_KERN_MEMORY_MLOCK, TRUE); in mlock() 1552 result = mach_vm_wire_kernel(user_map, addr, size, VM_PROT_NONE, VM_KERN_MEMORY_MLOCK); in munlock()
|
| H A D | kern_core.c | 615 if ((prot | maxprot) == VM_PROT_NONE) { in coredump()
|
| /xnu-10002.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 | 1497 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in ctrr_test_cpu() 1529 VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE); in ctrr_test_cpu()
|
| /xnu-10002.41.9/osfmk/device/ |
| H A D | iokit_rpc.c | 589 pmap_enter_options(pmap, va + off, ppnum, prot, VM_PROT_NONE, flags, TRUE, in IOProtectCacheMode()
|
| /xnu-10002.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-10002.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-10002.41.9/osfmk/arm/pmap/ |
| H A D | pmap.c | 1819 prot, VM_PROT_NONE, flags, FALSE); in pmap_map() 2747 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init() 5317 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5567 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5670 if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE) != KERN_SUCCESS) { 11197 …mpage_pmap_default, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 11201 …page_pmap_default, _COMM_PAGE64_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 11236 …p_default, commpage_text_va, text_pa, VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DE… 11245 …mpage_pmap_default, _COMM_PAGE32_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 11249 …page_pmap_default, _COMM_PAGE32_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… [all …]
|
| /xnu-10002.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-10002.41.9/osfmk/i386/ |
| H A D | lapic_native.c | 141 VM_PROT_NONE, in map_local_apic()
|
| /xnu-10002.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() 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-10002.41.9/iokit/Tests/ |
| H A D | TestIOMemoryDescriptor.cpp | 703 assert(regionInfo.protection == VM_PROT_NONE); in IOGuardPageMDTest()
|