| /xnu-8020.121.3/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.121.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-8020.121.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-8020.121.3/osfmk/vm/ |
| H A D | vm_kern.c | 667 prot, VM_PROT_NONE, pe_flags, in kernel_memory_populate_object_and_unlock() 677 prot, VM_PROT_NONE, pe_flags, in kernel_memory_populate_object_and_unlock() 783 pmap_protect(kernel_pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate() 1674 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init() 1710 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() 1351 *cur_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1352 *max_protection = VM_PROT_NONE; in mach_vm_remap_kernel() 1429 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in vm_remap_new_external() 1528 *cur_protection = VM_PROT_NONE; in vm_remap_kernel() 1529 *max_protection = VM_PROT_NONE; in vm_remap_kernel() 1595 if (access != VM_PROT_NONE) { in mach_vm_wire_kernel() 1646 } else if (access != VM_PROT_NONE) { in vm_wire() 3036 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_internal() 3037 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_map.c | 3001 max_protection != VM_PROT_NONE && in vm_map_enter() 4803 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object_helper() 5838 cur_prot = VM_PROT_NONE; in vm_map_protect() 6091 prot = VM_PROT_NONE; in vm_map_protect() 7534 VM_PROT_NONE, in vm_map_submap_pmap_clean() 7570 VM_PROT_NONE, in vm_map_submap_pmap_clean() 8135 VM_PROT_NONE, in vm_map_delete() 8264 VM_PROT_NONE, in vm_map_delete() 8317 entry->protection = VM_PROT_NONE; in vm_map_delete() 8318 entry->max_protection = VM_PROT_NONE; in vm_map_delete() [all …]
|
| H A D | vm_fault.c | 1211 if (fault_type == VM_PROT_NONE) { in vm_fault_page() 1524 if (fault_type == VM_PROT_NONE && in vm_fault_page() 1843 wants_copy_flag = VM_PROT_NONE; in vm_fault_page() 3763 fault_type = change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter() 4166 fault_type = (change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal() 5419 enter_fault_type = VM_PROT_NONE; in vm_fault_internal() 6432 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire() 6449 prot = VM_PROT_NONE; in vm_fault_unwire() 6458 VM_PROT_NONE, TRUE, in vm_fault_unwire() 6963 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy() [all …]
|
| H A D | vm_swapfile_pager.c | 391 VM_PROT_NONE, in swapfile_pager_data_request()
|
| /xnu-8020.121.3/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()
|
| /xnu-8020.121.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 | 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.121.3/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.121.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-8020.121.3/osfmk/kern/ |
| H A D | gzalloc.c | 112 vm_prot_t gzalloc_prot = VM_PROT_NONE;
|
| H A D | zalloc.c | 5243 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, 0, TRUE, in pgz_protect() 5490 VM_PROT_NONE, VM_PROT_NONE, 0, FALSE, in pgz_init() 9456 kernel_object, addr, FALSE, VM_PROT_NONE, VM_PROT_NONE, in zone_init_allocate_va() 9516 prot_max = prot = VM_PROT_NONE; in zone_submap_init() 9665 pa, VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, 0, TRUE, in zone_metadata_init()
|
| /xnu-8020.121.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-8020.121.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-8020.121.3/osfmk/arm/ |
| H A D | pmap.c | 1672 prot, VM_PROT_NONE, flags, FALSE); in pmap_map() 2725 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init() 5316 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5565 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) { 5668 if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE) != KERN_SUCCESS) { 10777 …map, _COMM_PAGE_BASE_ADDRESS, atop(pa), VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DE… 10893 …dpage_pmap_default, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10928 …p_default, commpage_text_va, text_pa, VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DE… 10937 …dpage_pmap_default, _COMM_PAGE32_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… 10953 …sharedpage_pmap_4k, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE… [all …]
|
| /xnu-8020.121.3/osfmk/i386/ |
| H A D | lapic_native.c | 141 VM_PROT_NONE, in map_local_apic()
|
| /xnu-8020.121.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() 1879 if (prot == VM_PROT_NONE) { in pmap_protect_options() 2028 kr = pmap_enter(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE); in pmap_map_block()
|