Home
last modified time | relevance | path

Searched refs:VM_PROT_NONE (Results 1 – 25 of 33) sorted by relevance

12

/xnu-8020.101.4/osfmk/vm/
H A Dvm_kern.c470 VM_PROT_DEFAULT, VM_PROT_NONE, in kernel_memory_allocate()
478 VM_PROT_DEFAULT, VM_PROT_NONE, in kernel_memory_allocate()
616 prot, VM_PROT_NONE, in kernel_memory_populate_with_pages()
624 prot, VM_PROT_NONE, in kernel_memory_populate_with_pages()
702 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, 0, TRUE, in kernel_memory_populate()
798 pmap_protect(kernel_map->pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate()
1298 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
1334 VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
H A Dvm_user.c1256 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in mach_vm_remap_new_external()
1348 *cur_protection = VM_PROT_NONE; in mach_vm_remap_kernel()
1349 *max_protection = VM_PROT_NONE; in mach_vm_remap_kernel()
1423 if (copy || *max_protection == VM_PROT_READ || *max_protection == VM_PROT_NONE) { in vm_remap_new_external()
1519 *cur_protection = VM_PROT_NONE; in vm_remap_kernel()
1520 *max_protection = VM_PROT_NONE; in vm_remap_kernel()
1586 if (access != VM_PROT_NONE) { in mach_vm_wire_kernel()
1637 } else if (access != VM_PROT_NONE) { in vm_wire()
3021 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_internal()
3022 max_prot = VM_PROT_NONE; in mach_make_memory_entry_internal()
[all …]
H A Dvm_tests.c905 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
906 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
914 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
915 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
H A Dvm_fault.c1214 if (fault_type == VM_PROT_NONE) { in vm_fault_page()
1527 if (fault_type == VM_PROT_NONE && in vm_fault_page()
1848 wants_copy_flag = VM_PROT_NONE; in vm_fault_page()
3768 fault_type = change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter()
4171 fault_type = (change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal()
5404 enter_fault_type = VM_PROT_NONE; in vm_fault_internal()
6422 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire()
6439 prot = VM_PROT_NONE; in vm_fault_unwire()
6448 VM_PROT_NONE, TRUE, in vm_fault_unwire()
6953 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy()
[all …]
H A Dvm_map.c2972 max_protection != VM_PROT_NONE && in vm_map_enter()
4791 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object_helper()
5923 cur_prot = VM_PROT_NONE; in vm_map_protect()
6176 prot = VM_PROT_NONE; in vm_map_protect()
7638 VM_PROT_NONE, in vm_map_submap_pmap_clean()
7674 VM_PROT_NONE, in vm_map_submap_pmap_clean()
8220 VM_PROT_NONE, in vm_map_delete()
8358 VM_PROT_NONE, in vm_map_delete()
8462 entry->protection = VM_PROT_NONE; in vm_map_delete()
8463 entry->max_protection = VM_PROT_NONE; in vm_map_delete()
[all …]
H A Dvm_swapfile_pager.c404 VM_PROT_NONE, in swapfile_pager_data_request()
/xnu-8020.101.4/osfmk/tests/
H A Dpmap_tests.c109 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.101.4/osfmk/mach/
H A Dvm_prot.h81 #define VM_PROT_NONE ((vm_prot_t) 0x00) macro
H A Dhost_priv.defs131 * [ To unwire the pages, specify VM_PROT_NONE. ]
292 * [ To unwire the pages, specify VM_PROT_NONE. ]
/xnu-8020.101.4/iokit/Kernel/
H A DIOGuardPageMemoryDescriptor.cpp111 kern_return_t kr = mach_vm_protect(map, address, length, true, VM_PROT_NONE); in doMap()
/xnu-8020.101.4/bsd/kern/
H A Dposix_shm.c868 VM_PROT_NONE, in pshm_mmap()
869 VM_PROT_NONE, in pshm_mmap()
H A Dkern_mman.c1410 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 Dkern_core.c465 if ((prot | maxprot) == VM_PROT_NONE) { in coredump()
H A Dsysv_shm.c500 VM_PROT_NONE, in shmat()
501 VM_PROT_NONE, in shmat()
H A Dmach_loader.c2196 (scp->initprot & VM_PROT_ALL) == VM_PROT_NONE && in load_segment()
2197 (scp->maxprot & VM_PROT_ALL) == VM_PROT_NONE) { in load_segment()
/xnu-8020.101.4/osfmk/arm64/
H A Dhibernate_restore.c363 if (protection != VM_PROT_NONE) { in pal_hib_resume_tramp()
H A Dplatform_tests.c1564 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.101.4/osfmk/device/
H A Diokit_rpc.c578 pmap_enter_options(pmap, va + off, ppnum, prot, VM_PROT_NONE, flags, TRUE, in IOProtectCacheMode()
/xnu-8020.101.4/bsd/dev/dtrace/
H A Ddtrace_glue.c198 reprotect = VM_PROT_NONE; in uwrite()
212 if (reprotect != VM_PROT_NONE) { in uwrite()
/xnu-8020.101.4/iokit/bsddev/skywalk/
H A DIOSkywalkSupport.cpp551 VM_PROT_NONE, in OSDefineMetaClassAndFinalStructors()
1043 vm_prot_t prot = VM_PROT_NONE; in _clearSegmentBuffer()
1210 prot = VM_PROT_NONE; in updateMappingsForArena()
/xnu-8020.101.4/osfmk/kern/
H A Dgzalloc.c112 vm_prot_t gzalloc_prot = VM_PROT_NONE;
/xnu-8020.101.4/tools/tests/superpages/
H A Dtestsp.c473 kr = mach_vm_wire(mach_host_self(), mach_task_self(), addr, size, VM_PROT_NONE); in test_unwire()
/xnu-8020.101.4/osfmk/arm/
H A Dpmap.c1672 prot, VM_PROT_NONE, flags, FALSE); in pmap_map()
2717 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init()
5298 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) {
5547 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) {
5650 if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE) != KERN_SUCCESS) {
10771 …map, _COMM_PAGE_BASE_ADDRESS, atop(pa), VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DE…
10887 …dpage_pmap_default, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
10922 …p_default, commpage_text_va, text_pa, VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DE…
10931 …dpage_pmap_default, _COMM_PAGE32_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
10947 …sharedpage_pmap_4k, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
[all …]
/xnu-8020.101.4/osfmk/i386/
H A Dlapic_native.c155 VM_PROT_NONE, in map_local_apic()
/xnu-8020.101.4/osfmk/x86_64/
H A Dpmap.c285 (ppnum_t) i386_btop(start_addr), prot, VM_PROT_NONE, flags, TRUE); in pmap_map()
1865 if (prot == VM_PROT_NONE) { in pmap_protect_options()
2007 kr = pmap_enter(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE); in pmap_map_block()

12