Home
last modified time | relevance | path

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

12

/xnu-11417.121.6/osfmk/vm/ !
H A Dvm_sanitize.c637 *prot = VM_PROT_NONE; in vm_sanitize_prot()
644 *prot = VM_PROT_NONE; in vm_sanitize_prot()
728 *cur_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots()
729 *max_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots()
735 *cur_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots()
736 *max_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots()
756 *cur_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots()
757 *max_prot = VM_PROT_NONE; in vm_sanitize_cur_and_max_prots()
801 *perm = VM_PROT_NONE; in vm_sanitize_memory_entry_perm()
H A Dvm_sanitize_internal.h1005 return vm_sanitize_prot(prot_u, vm_sanitize_caller, map, VM_PROT_NONE, prot); in vm_sanitize_prot()
1045 VM_PROT_NONE, cur_prot, max_prot); in vm_sanitize_cur_and_max_prots()
H A Dvm_map.c3457 max_protection != VM_PROT_NONE && in vm_map_enter()
4875 cur_protection, VM_PROT_NONE, in vm_map_enter_mem_object()
5760 cur_prot = VM_PROT_NONE; in vm_map_protect()
6136 prot = VM_PROT_NONE; in vm_map_protect()
7782 VM_PROT_NONE, in vm_map_submap_pmap_clean()
7818 VM_PROT_NONE, in vm_map_submap_pmap_clean()
8688 VM_PROT_NONE, in vm_map_delete()
8850 VM_PROT_NONE, in vm_map_delete()
8950 entry->protection = VM_PROT_NONE; in vm_map_delete()
8951 entry->max_protection = VM_PROT_NONE; in vm_map_delete()
[all …]
H A Dvm_user.c900 if (copy || max_protection == VM_PROT_READ || max_protection == VM_PROT_NONE) { in mach_vm_remap_new_external()
957 *cur_protection = vm_sanitize_wrap_prot(VM_PROT_NONE); in mach_vm_remap_external()
958 *max_protection = vm_sanitize_wrap_prot(VM_PROT_NONE); in mach_vm_remap_external()
2201 VM_PROT_NONE, VM_PROT_ALL, in mach_vm_range_create_v1()
H A Dvm_memory_entry.c751 cur_prot = VM_PROT_NONE; in mach_make_memory_entry_share()
752 max_prot = VM_PROT_NONE; in mach_make_memory_entry_share()
796 if (protections == VM_PROT_NONE) { in mach_make_memory_entry_share()
1278 VM_SANITIZE_FLAGS_NONE, VM_PROT_NONE, in mach_memory_object_memory_entry_64_sanitize()
H A Dvm_fault.c1284 if (fault_type == VM_PROT_NONE) { in vm_fault_page()
1566 if (fault_type == VM_PROT_NONE && in vm_fault_page()
1902 wants_copy_flag = VM_PROT_NONE; in vm_fault_page()
4000 fault_type = fault_info->fi_change_wiring ? VM_PROT_NONE : caller_prot; in vm_fault_enter()
4445 fault_type = (fault_info->fi_change_wiring ? VM_PROT_NONE : caller_prot); in vm_fault_internal()
5790 enter_fault_type = VM_PROT_NONE; in vm_fault_internal()
6906 (void) vm_fault(map, va, VM_PROT_NONE, in vm_fault_unwire()
6923 prot = VM_PROT_NONE; in vm_fault_unwire()
6932 VM_PROT_NONE, TRUE, in vm_fault_unwire()
7466 assert((dst_prot & VM_PROT_WRITE) != VM_PROT_NONE); in vm_fault_copy()
[all …]
H A Dvm_kern.c1394 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter()
1403 VM_PAGE_GET_PHYS_PAGE(mem), prot, VM_PROT_NONE, in kernel_memory_populate_pmap_enter()
1593 pmap_protect(kernel_pmap, offset, offset + size, VM_PROT_NONE); in kernel_memory_depopulate()
2069 VM_PROT_NONE); in kmem_realloc_guard()
4351 (vm_object_offset_t) 0, FALSE, VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
4382 VM_PROT_NONE, VM_PROT_NONE, in kmem_init()
H A Dvm_swapfile_pager.c371 VM_PROT_NONE, in swapfile_pager_data_request()
H A Dvm_tests.c923 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
924 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
932 curprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
933 maxprot = VM_PROT_NONE; in vm_test_map_copy_adjust_to_target()
/xnu-11417.121.6/osfmk/tests/ !
H A Dpmap_tests.c168 … VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_enter_disconnect()
188 …VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_OPTIONS_INTERNAL, NULL, PMAP_MAPPING_… in pmap_remove_thread()
344 VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_nesting()
525 … VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_MAPPING_TYPE_INFER); in test_pmap_page_protect_overhead()
576 VM_PROT_READ | VM_PROT_WRITE, VM_PROT_NONE, VM_WIMG_USE_DEFAULT, FALSE, PMAP_OPTIONS_INTERNAL, in hugepv_remove_enter_thread()
605 boolean_t success = arm_force_fast_fault(args->args.pn, VM_PROT_NONE, 0, NULL); in hugepv_fast_fault_thread()
733 … 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-11417.121.6/osfmk/mach/ !
H A Dvm_prot.h85 #define VM_PROT_NONE ((vm_prot_t) 0x00) macro
H A Dhost_priv.defs135 * [ To unwire the pages, specify VM_PROT_NONE. ]
285 * [ To unwire the pages, specify VM_PROT_NONE. ]
/xnu-11417.121.6/iokit/Kernel/ !
H A DIOGuardPageMemoryDescriptor.cpp112 kern_return_t kr = mach_vm_protect(map, address, length, true, VM_PROT_NONE); in doMap()
/xnu-11417.121.6/tests/ !
H A Dos_thread_self_restrict_pagers.c563 T_ASSERT_EQ(info.protection, VM_PROT_NONE, "Entry should have no permissions"); in vm_allocate_test()
564 T_ASSERT_EQ(info.max_protection, VM_PROT_NONE, "Entry should have no permissions"); in vm_allocate_test()
H A Dvm_test_mach_map.c2213 vm_prot_t cur_prot = VM_PROT_NONE;
2214 vm_prot_t max_prot = VM_PROT_NONE;
2237 T_EXPECT_EQ_INT(info.protection, VM_PROT_NONE, "parent: current protection is VM_PROT_NONE");
2238 T_EXPECT_EQ_INT(info.max_protection, VM_PROT_NONE, "parent: maximum protextion is VM_PROT_NONE");
/xnu-11417.121.6/bsd/kern/ !
H A Dposix_shm.c865 VM_PROT_NONE, in pshm_mmap()
866 VM_PROT_NONE, in pshm_mmap()
H A Dsysv_shm.c499 VM_PROT_NONE, in shmat()
500 VM_PROT_NONE, in shmat()
H A Dkern_core.c617 if ((prot | maxprot) == VM_PROT_NONE) { in coredump()
/xnu-11417.121.6/osfmk/device/ !
H A Diokit_rpc.c609 pmap_enter_options(pmap, va + off, ppnum, prot, VM_PROT_NONE, flags, TRUE, in IOProtectCacheMode()
/xnu-11417.121.6/osfmk/arm64/ !
H A Dhibernate_restore.c357 if (protection != VM_PROT_NONE) { in pal_hib_resume_tramp()
/xnu-11417.121.6/bsd/dev/dtrace/ !
H A Ddtrace_glue.c195 reprotect = VM_PROT_NONE; in uwrite()
209 if (reprotect != VM_PROT_NONE) { in uwrite()
/xnu-11417.121.6/iokit/bsddev/skywalk/ !
H A DIOSkywalkSupport.cpp553 VM_PROT_NONE, in OSDefineMetaClassAndFinalStructors()
1045 vm_prot_t prot = VM_PROT_NONE; in _clearSegmentBuffer()
1212 prot = VM_PROT_NONE; in updateMappingsForArena()
/xnu-11417.121.6/osfmk/arm/pmap/ !
H A Dpmap.c1865 prot, VM_PROT_NONE, flags, FALSE, PMAP_MAPPING_TYPE_INFER); in pmap_map()
2815 vm_protect(kernel_map, 0, PAGE_SIZE, TRUE, VM_PROT_NONE); in pmap_init()
5440 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) {
5688 if ((prot & VM_PROT_ALL) == VM_PROT_NONE) {
5791 if (pmap_enter_addr(pmap, va, pa, prot, VM_PROT_NONE, attr, TRUE) != KERN_SUCCESS) {
11421 …mpage_pmap_default, _COMM_PAGE64_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
11425 …page_pmap_default, _COMM_PAGE64_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
11460 …p_default, commpage_text_va, text_pa, VM_PROT_READ | VM_PROT_EXECUTE, VM_PROT_NONE, VM_WIMG_USE_DE…
11469 …mpage_pmap_default, _COMM_PAGE32_BASE_ADDRESS, data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
11473 …page_pmap_default, _COMM_PAGE32_RO_ADDRESS, ro_data_pa, VM_PROT_READ, VM_PROT_NONE, VM_WIMG_USE_DE…
[all …]
/xnu-11417.121.6/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-11417.121.6/osfmk/i386/ !
H A Dlapic_native.c141 VM_PROT_NONE, in map_local_apic()

12