Home
last modified time | relevance | path

Searched refs:mem_entry (Results 1 – 7 of 7) sorted by relevance

/xnu-11215.61.5/osfmk/vm/
H A Dvm_memory_entry.c1392 vm_named_entry_t mem_entry; in memory_entry_purgeable_control_internal() local
1395 mem_entry = mach_memory_entry_from_port(entry_port); in memory_entry_purgeable_control_internal()
1396 if (mem_entry == NULL) { in memory_entry_purgeable_control_internal()
1413 named_entry_lock(mem_entry); in memory_entry_purgeable_control_internal()
1415 if (mem_entry->is_sub_map || in memory_entry_purgeable_control_internal()
1416 mem_entry->is_copy) { in memory_entry_purgeable_control_internal()
1417 named_entry_unlock(mem_entry); in memory_entry_purgeable_control_internal()
1421 assert(mem_entry->is_object); in memory_entry_purgeable_control_internal()
1422 object = vm_named_entry_to_vm_object(mem_entry); in memory_entry_purgeable_control_internal()
1424 named_entry_unlock(mem_entry); in memory_entry_purgeable_control_internal()
[all …]
H A Dvm_shared_region.c671 vm_named_entry_t mem_entry; in vm_shared_region_create() local
686 mem_entry = NULL; in vm_shared_region_create()
760 mem_entry = mach_memory_entry_allocate(&mem_entry_port); in vm_shared_region_create()
828 mem_entry->is_sub_map = TRUE; in vm_shared_region_create()
829 mem_entry->backing.map = sub_map; in vm_shared_region_create()
830 mem_entry->size = size; in vm_shared_region_create()
831 mem_entry->protection = VM_PROT_ALL; in vm_shared_region_create()
888 (void *)VM_KERNEL_ADDRPERM(mem_entry), in vm_shared_region_create()
911 vm_named_entry_t mem_entry; in vm_shared_region_destroy() local
926 mem_entry = mach_memory_entry_from_port(shared_region->sr_mem_entry); in vm_shared_region_destroy()
[all …]
H A Dvm_tests.c899 ipc_port_t mem_entry; in vm_test_map_copy_adjust_to_target() local
903 mem_entry = IPC_PORT_NULL; in vm_test_map_copy_adjust_to_target()
906 &mem_entry, IPC_PORT_NULL); in vm_test_map_copy_adjust_to_target()
910 kr = mach_memory_entry_map_size(mem_entry, map4k, 0, 0x1002, &map_size); in vm_test_map_copy_adjust_to_target()
912 assertf(map_size == 0x3000, "mem_entry %p map_size 0x%llx\n", mem_entry, (uint64_t)map_size); in vm_test_map_copy_adjust_to_target()
913 mach_memory_entry_port_release(mem_entry); in vm_test_map_copy_adjust_to_target()
/xnu-11215.61.5/tests/
H A Dvm_test_mach_map.c282 mach_port_t mem_entry; in test_map_memory_entry() local
289 mem_entry = MACH_PORT_NULL; in test_map_memory_entry()
307 mem_entry = MACH_PORT_NULL; in test_map_memory_entry()
313 &mem_entry, in test_map_memory_entry()
327 T_EXPECT_NOTNULL(mem_entry, "mem_entry == 0x%x", mem_entry); in test_map_memory_entry()
338 mem_entry, in test_map_memory_entry()
377 if (mem_entry != MACH_PORT_NULL) { in test_map_memory_entry()
378 mach_port_deallocate(mach_task_self(), mem_entry); in test_map_memory_entry()
379 mem_entry = MACH_PORT_NULL; in test_map_memory_entry()
1067 mach_port_t mem_entry; variable
[all …]
/xnu-11215.61.5/osfmk/mach/
H A Dmemory_entry.defs40 mem_entry : mem_entry_name_port_t;
45 mem_entry : mem_entry_name_port_t;
52 mem_entry : mem_entry_name_port_t;
56 mem_entry : mem_entry_name_port_t;
/xnu-11215.61.5/san/coverage/
H A Dkcov_ksancov.c514 mach_port_t mem_entry = MACH_PORT_NULL; in ksancov_do_map() local
522 &mem_entry, in ksancov_do_map()
533 mem_entry, in ksancov_do_map()
545 mach_memory_entry_port_release(mem_entry); in ksancov_do_map()
/xnu-11215.61.5/tools/lldbmacros/
H A Dmemory.py5187 def GetDescForNamedEntry(mem_entry): argument
5189 …:d} backing {:#08x}".format(mem_entry, mem_entry.ref_count, mem_entry.offset, mem_entry.size, mem_…
5190 if mem_entry.is_sub_map:
5192 elif mem_entry.is_copy:
5194 elif mem_entry.is_object: