Home
last modified time | relevance | path

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

12

/xnu-12377.41.6/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-12377.41.6/tests/vm/
H A Dvm_memory_entry.c69 VM_PROT_DEFAULT, VM_PROT_DEFAULT, VM_INHERIT_NONE);
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.c722 0, 0, 0, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_fixed()
732 0, 0, true, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_fixed_copy()
741 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()
1396 kern_return_t kr = mach_vm_inherit(map, start, size, VM_INHERIT_NONE); in call_mach_vm_inherit()
1403 kern_return_t kr = vm_inherit(map, start, size, VM_INHERIT_NONE); in call_vm_inherit()
H A Dvm_allocation.c3504 …ch_task_self(), &src, size, 0, TRUE, mem_obj, 0, FALSE, cur_protect, max_protect, VM_INHERIT_NONE), in test_vmcopy_trueshared_source()
3533 &max_protect, VM_INHERIT_NONE), in test_vmcopy_private_aliased_source()
/xnu-12377.41.6/tests/ipc/
H A Dipc_read_inspect.c305 VM_INHERIT_NONE); in test_task_port_mig_intrans()
357 VM_INHERIT_NONE); in test_task_port_mig_intrans()
384 VM_INHERIT_NONE); in test_task_port_mig_intrans()
/xnu-12377.41.6/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-12377.41.6/iokit/Tests/
H A DTestIOMemoryDescriptor.cpp284 kr = mach_vm_inherit(kernel_map, buffer + ptoa(1), ptoa(1), VM_INHERIT_NONE); in IODMACommandLocalMappedNonContig()
1086 mach_vm_inherit(kernel_map, data[0] + ptoa(1), ptoa(1), VM_INHERIT_NONE); in IOMemoryDescriptorTest()
1087 mach_vm_inherit(kernel_map, data[0] + ptoa(16), ptoa(4), VM_INHERIT_NONE); in IOMemoryDescriptorTest()
/xnu-12377.41.6/osfmk/vm/
H A Dvm_sanitize.c869 *inherit = VM_INHERIT_NONE; in vm_sanitize_inherit()
H A Dvm_tests.c320 VM_INHERIT_NONE); in vm_test_wire_and_extract()
1109 VM_INHERIT_NONE); in vm_test_per_mapping_internal_accounting()
2723 VM_INHERIT_NONE); in vm_map_wire_copy_delay_memory_test()
2738 VM_INHERIT_NONE); in vm_map_wire_copy_delay_memory_test()
3406 &remap_cur_prot, &remap_max_prot, VM_INHERIT_NONE); in vm_upl_submap_test()
H A Dbsd_vm.c1046 pinfo->pri_inheritance = VM_INHERIT_NONE; in fill_procregioninfo()
H A Dvm_map.c3084 inheritance = VM_INHERIT_NONE; /* fork() children won't inherit superpages */ in vm_map_enter()
3670 VM_INHERIT_NONE : inheritance)); in vm_map_enter()
14415 if (old_entry->inheritance == VM_INHERIT_NONE) { in vm_map_fork_share()
14706 if (old_entry_inheritance == VM_INHERIT_NONE && in vm_map_fork()
14740 if (old_entry_inheritance != VM_INHERIT_NONE && in vm_map_fork()
14756 case VM_INHERIT_NONE: in vm_map_fork()
18684 assert(inheritance == VM_INHERIT_NONE || in vm_map_remap_extract()
H A Dvm_shared_region.c1693 VM_INHERIT_NONE); in vm_shared_region_map_file_setup()
/xnu-12377.41.6/osfmk/tests/
H A Dvm_parameter_validation.h963 static_assert(VM_INHERIT_LAST_VALID == VM_INHERIT_NONE,
968 VM_INHERIT_TRIAL(VM_INHERIT_NONE),
3744 …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()
3755 map, src.addr, copy, &cur, &max, VM_INHERIT_NONE); in help_call_remap_fn__dst_size()
3770 …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()
3776 …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()
3786 map, src, copy, &cur, &max, VM_INHERIT_NONE); in help_call_remap_fn__src_dst_size()
H A Dvm_parameter_validation_kern.c1211 0, 0, 0, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_fixed()
1221 0, 0, true, 0, 0, VM_INHERIT_NONE); in call_map_fn__allocate_fixed_copy()
1230 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-12377.41.6/bsd/tests/
H A Dcopyio_tests.c547 &cur_protection, &max_protection, VM_INHERIT_NONE); in copyio_test()
/xnu-12377.41.6/osfmk/i386/commpage/
H A Dcommpage.c147 VM_INHERIT_NONE); in commpage_allocate()
/xnu-12377.41.6/bsd/kern/
H A Dposix_shm.c867 VM_INHERIT_NONE); in pshm_mmap()
H A Dsysv_shm.c501 VM_INHERIT_NONE); in shmat()
/xnu-12377.41.6/iokit/bsddev/skywalk/
H A DIOSkywalkSupport.cpp461 VM_INHERIT_NONE); in mapOverwrite()
555 VM_INHERIT_NONE); in OSDefineMetaClassAndFinalStructors()
/xnu-12377.41.6/tests/
H A Darm_mte.c1167 const vm_inherit_t NEW_INHERIT = VM_INHERIT_NONE;
1656 VM_INHERIT_NONE);
/xnu-12377.41.6/iokit/Kernel/
H A DIOMemoryDescriptor.cpp905 VM_INHERIT_NONE); in IOMemoryDescriptorMapAlloc()
1198 VM_INHERIT_NONE); in memoryReferenceMap()
1517 VM_INHERIT_NONE); in memoryReferenceMapNew()
/xnu-12377.41.6/tests/vm/configurator/
H A Dvm_configurator.c321 [VM_INHERIT_NONE] = "VM_INHERIT_NONE", in name_for_inherit()

12