Home
last modified time | relevance | path

Searched refs:VM_INHERIT_NONE (Results 1 – 25 of 26) sorted by relevance

12

/xnu-11215.61.5/osfmk/mach/
H A Dvm_inherit.h87 #define VM_INHERIT_NONE ((vm_inherit_t) 2) /* absent from child */ macro
91 #define VM_INHERIT_LAST_VALID VM_INHERIT_NONE
/xnu-11215.61.5/tests/vm/
H A Dneural_footprint.c496 VM_INHERIT_NONE),
512 VM_INHERIT_NONE),
528 VM_INHERIT_NONE),
544 VM_INHERIT_NONE),
H A Dvm_ranges.c435 addr, FALSE, &curprot, &maxprot, VM_INHERIT_NONE);
452 addr, FALSE, &curprot, &maxprot, VM_INHERIT_NONE);
470 addr, FALSE, &curprot, &maxprot, VM_INHERIT_NONE);
H A Dvm_memory_entry_parent_test.c95 VM_INHERIT_NONE);
H A Dvm_parameter_validation.c703 0, 0, 0, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_fixed()
713 0, 0, true, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_fixed_copy()
722 kern_return_t kr = fn(map, &out_addr, size, 0, VM_FLAGS_ANYWHERE, 0, 0, 0, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_anywhere()
1377 kern_return_t kr = mach_vm_inherit(map, start, size, VM_INHERIT_NONE); in call_mach_vm_inherit()
1384 kern_return_t kr = vm_inherit(map, start, size, VM_INHERIT_NONE); in call_vm_inherit()
H A Dvm_allocation.c3529 …ch_task_self(), &src, size, 0, TRUE, mem_obj, 0, FALSE, cur_protect, max_protect, VM_INHERIT_NONE), in test_vmcopy_trueshared_source()
3558 &max_protect, VM_INHERIT_NONE), in test_vmcopy_private_aliased_source()
/xnu-11215.61.5/tests/ipc/
H A Dipc_read_inspect.c315 VM_INHERIT_NONE); in test_task_port_mig_intrans()
367 VM_INHERIT_NONE); in test_task_port_mig_intrans()
394 VM_INHERIT_NONE); in test_task_port_mig_intrans()
/xnu-11215.61.5/tests/vm_memory_tests_src/
H A Dvm_tests.c70 VM_INHERIT_NONE); in mach_vm_client()
169 memport, 0 /*offset*/, copy, cur_prot, max_prot, VM_INHERIT_NONE); in mach_vm_client()
/xnu-11215.61.5/iokit/Tests/
H A DTestIOMemoryDescriptor.cpp283 kr = mach_vm_inherit(kernel_map, buffer + ptoa(1), ptoa(1), VM_INHERIT_NONE); in IODMACommandLocalMappedNonContig()
1085 mach_vm_inherit(kernel_map, data[0] + ptoa(1), ptoa(1), VM_INHERIT_NONE); in IOMemoryDescriptorTest()
1086 mach_vm_inherit(kernel_map, data[0] + ptoa(16), ptoa(4), VM_INHERIT_NONE); in IOMemoryDescriptorTest()
/xnu-11215.61.5/tests/
H A Dperf_vmfault.c131 FALSE, VM_PROT_DEFAULT, VM_PROT_ALL, VM_INHERIT_NONE), "vm_map"); in map_mem_regions_single()
/xnu-11215.61.5/osfmk/tests/
H A Dvm_parameter_validation.h1044 static_assert(VM_INHERIT_LAST_VALID == VM_INHERIT_NONE,
1049 VM_INHERIT_TRIAL(VM_INHERIT_NONE),
3786 …lp_call_remap_fn__src_size_etc(fn, map, VM_FLAGS_ANYWHERE, copy, src, size, 0, 0, VM_INHERIT_NONE); in help_call_remap_fn__src_size()
3797 map, src.addr, copy, &cur, &max, VM_INHERIT_NONE); in help_call_remap_fn__dst_size()
3812 …urn help_call_remap_fn__src_size_etc(fn, map, trial_flags, copy, src, size, 0, 0, VM_INHERIT_NONE); in help_call_remap_fn__flags()
3818 …return help_call_remap_fn__src_size_etc(fn, map, flags, copy, src, size, cur, max, VM_INHERIT_NONE in help_call_remap_fn__prot_pairs()
3828 map, src, copy, &cur, &max, VM_INHERIT_NONE); in help_call_remap_fn__src_dst_size()
H A Dvm_parameter_validation_kern.c1188 0, 0, 0, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_fixed()
1198 0, 0, true, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_fixed_copy()
1207 kern_return_t kr = fn(map, &out_addr, size, 0, VM_FLAGS_ANYWHERE, 0, 0, 0, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_anywhere()
/xnu-11215.61.5/bsd/tests/
H A Dcopyio_tests.c543 &cur_protection, &max_protection, VM_INHERIT_NONE); in copyio_test()
/xnu-11215.61.5/osfmk/i386/commpage/
H A Dcommpage.c146 VM_INHERIT_NONE); in commpage_allocate()
/xnu-11215.61.5/bsd/kern/
H A Dposix_shm.c867 VM_INHERIT_NONE); in pshm_mmap()
H A Dsysv_shm.c501 VM_INHERIT_NONE); in shmat()
/xnu-11215.61.5/iokit/bsddev/skywalk/
H A DIOSkywalkSupport.cpp461 VM_INHERIT_NONE); in mapOverwrite()
555 VM_INHERIT_NONE); in OSDefineMetaClassAndFinalStructors()
/xnu-11215.61.5/osfmk/vm/
H A Dbsd_vm.c1025 pinfo->pri_inheritance = VM_INHERIT_NONE; in fill_procregioninfo()
H A Dvm_tests.c311 VM_INHERIT_NONE); in vm_test_wire_and_extract()
1096 VM_INHERIT_NONE); in vm_test_per_mapping_internal_accounting()
H A Dvm_sanitize.c791 *inherit = VM_INHERIT_NONE; in vm_sanitize_inherit()
H A Dvm_map.c2861 inheritance = VM_INHERIT_NONE; /* fork() children won't inherit superpages */ in vm_map_enter()
3396 VM_INHERIT_NONE : inheritance), in vm_map_enter()
13149 if (old_entry->inheritance == VM_INHERIT_NONE) { in vm_map_fork_share()
13503 if (old_entry_inheritance == VM_INHERIT_NONE && in vm_map_fork()
13537 if (old_entry_inheritance != VM_INHERIT_NONE && in vm_map_fork()
13553 case VM_INHERIT_NONE: in vm_map_fork()
17429 assert(inheritance == VM_INHERIT_NONE || in vm_map_remap_extract()
H A Dvm_shared_region.c1591 VM_INHERIT_NONE); in vm_shared_region_map_file_setup()
H A Dvm_pageout.c9180 VM_INHERIT_NONE);
/xnu-11215.61.5/iokit/Kernel/
H A DIOMemoryDescriptor.cpp896 VM_INHERIT_NONE); in IOMemoryDescriptorMapAlloc()
1189 VM_INHERIT_NONE); in memoryReferenceMap()
1501 VM_INHERIT_NONE); in memoryReferenceMapNew()
/xnu-11215.61.5/osfmk/kern/
H A Dzalloc.c10144 vmk_flags, kobject, addr, FALSE, prot, prot_max, VM_INHERIT_NONE); in zone_submap_init()
10152 vmk_flags, kobject, addr, FALSE, prot, prot_max, VM_INHERIT_NONE); in zone_submap_init()

12