| /xnu-10063.101.15/osfmk/tests/ |
| H A D | pmap_tests.c | 167 … VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_enter_disconnect() 187 …VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_OPTIONS_INTERNAL, NULL, PMAP_MAPPING_… in pmap_remove_thread() 343 VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_nesting() 524 … VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_page_protect_overhead() 575 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_OPTIONS_INTERNAL, in hugepv_remove_enter_thread() 604 boolean_t success = arm_force_fast_fault(args->args.pn, VM_PROT_NONE, 0, NULL); in hugepv_fast_fault_thread() 732 … VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_huge_pv_list()
|
| /xnu-10063.101.15/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-10063.101.15/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-10063.101.15/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() 1406 *cur_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1407 *max_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1572 if (access != VM_PROT_NONE) { in mach_vm_wire_kernel() 1623 } else if (access != VM_PROT_NONE) { in vm_wire() 3051 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() 3052 max_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() 3098 if (protections == VM_PROT_NONE) { in mach_make_memory_entry_internal() 4455 vm_fault(map, map_offset, VM_PROT_NONE, in vm_map_get_phys_page()
|
| H A D | vm_map.c | 3151 max_protection != VM_PROT_NONE && in vm_map_enter() 4968 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object_helper() 6016 cur_prot = VM_PROT_NONE; in vm_map_protect() 6360 prot = VM_PROT_NONE; in vm_map_protect() 7874 VM_PROT_NONE, in vm_map_submap_pmap_clean() 7910 VM_PROT_NONE, in vm_map_submap_pmap_clean() 8702 VM_PROT_NONE, in vm_map_delete() 8864 VM_PROT_NONE, in vm_map_delete() 8956 entry->protection = VM_PROT_NONE; in vm_map_delete() 8957 entry->max_protection = VM_PROT_NONE; in vm_map_delete() [all …]
|
| H A D | vm_kern.c | 1254 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1263 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter() 1449 pmap_protect(kernel_pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate() 1913 VM_PROT_NONE); in kmem_realloc_guard() 3938 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init() 3969 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() 1848 wants_copy_flag = VM_PROT_NONE; in vm_fault_page() 3888 fault_type = change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter() 4292 fault_type = (change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal() 5564 enter_fault_type = VM_PROT_NONE; in vm_fault_internal() 6655 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire() 6672 prot = VM_PROT_NONE; in vm_fault_unwire() 6681 VM_PROT_NONE, TRUE, in vm_fault_unwire() 7204 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-10063.101.15/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 | 1529 result = vm_map_wire_kernel(user_map, addr, addr + size, VM_PROT_NONE, VM_KERN_MEMORY_MLOCK, TRUE); in mlock() 1560 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 | 617 if ((prot | maxprot) == VM_PROT_NONE) { in coredump()
|
| /xnu-10063.101.15/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 | 1511 … VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in ctrr_test_cpu() 1543 …VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in ctrr_test_cpu()
|
| /xnu-10063.101.15/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-10063.101.15/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-10063.101.15/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-10063.101.15/osfmk/arm/pmap/ |
| H A D | pmap.c | 1829 prot, VM_PROT_NONE, flags, FALSE, PMAP_MAPPING_TYPE_INFER); in pmap_map() 2757 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init() 5328 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5578 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5681 if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE) != KERN_SUCCESS) { 11258 …mpage_pmap_default, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 11262 …page_pmap_default, _COMM_PAGE64_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 11297 …p_default, commpage_text_va, text_pa, VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DE… 11306 …mpage_pmap_default, _COMM_PAGE32_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 11310 …page_pmap_default, _COMM_PAGE32_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… [all …]
|
| /xnu-10063.101.15/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-10063.101.15/osfmk/i386/ |
| H A D | lapic_native.c | 141 VM_PROT_NONE, in map_local_apic()
|
| /xnu-10063.101.15/osfmk/x86_64/ |
| H A D | pmap.c | 285 (ppnum_t) i386_btop(start_addr), prot, VM_PROT_NONE, flags, TRUE, PMAP_MAPPING_TYPE_INFER); 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, PMAP_MAPPING_TYPE_INFER); in pmap_map_block()
|
| /xnu-10063.101.15/osfmk/arm64/sptm/pmap/ |
| H A D | pmap.c | 1312 prot, VM_PROT_NONE, flags, FALSE, PMAP_MAPPING_TYPE_INFER); in pmap_map() 2111 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init() 4746 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5001 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5100 …if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE, PMAP_MAPPING_TYPE_INFER) != KERN… 5274 pmap_page_protect_options_with_flush_range((ppnum_t)atop(pa), VM_PROT_NONE, 11411 pmap_page_protect_options_with_flush_range((ppnum_t)atop(pa), VM_PROT_NONE, 11420 …pmap_enter_addr(kernel_pmap, addr, pa, VM_PROT_READ, VM_PROT_NONE, 0, true, PMAP_MAPPING_TYPE_INFE… 11952 pmap_enter_addr(pmap, va_base, pa, VM_PROT_READ, VM_PROT_NONE, 0, false, PMAP_MAPPING_TYPE_INFER); 11962 …pmap_enter_addr(pmap, va_base, pa, VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, 0, false, PMAP_MAPP…
|