Home
last modified time | relevance | path

Searched refs:mappings (Results 1 – 13 of 13) sorted by relevance

/xnu-11215/osfmk/vm/
H A Dvm_shared_region.c1377 mappings = srfmp->mappings; in vm_shared_region_undo_mappings()
1405 mappings[j].sms_max_prot, in vm_shared_region_undo_mappings()
1517 mappings = NULL; in vm_shared_region_map_file_setup()
1525 mappings = srfmp->mappings; in vm_shared_region_map_file_setup()
1564 mappings[0].sms_max_prot, in vm_shared_region_map_file_setup()
1621 copyin((user_addr_t)mappings->sms_file_offset, (void *)kaddr, mappings->sms_size); in vm_shared_region_map_file_setup()
1675 mappings[0].sms_size, in vm_shared_region_map_file_setup()
1724 mappings[i].sms_max_prot, in vm_shared_region_map_file_setup()
1732 mappings[i].sms_size, in vm_shared_region_map_file_setup()
1927 mappings[i].sms_max_prot, in vm_shared_region_map_file_setup()
[all …]
H A Dvm_shared_region.h102 struct shared_file_mapping_slide_np *mappings; member
/xnu-11215/osfmk/tests/
H A Dvm_parameter_validation.h3034 return mappings;
3042 if (trial->mappings) { in free_shared_file_mapping_slide_np()
3046 free(trial->mappings); in free_shared_file_mapping_slide_np()
3061 mappings[0].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3067 mappings[0].sms_address = 1; in alloc_and_fill_shared_file_mappings()
3069 mappings[0].sms_file_offset = 0; in alloc_and_fill_shared_file_mappings()
3070 mappings[0].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3076 mappings[0].sms_size = 0; in alloc_and_fill_shared_file_mappings()
3078 mappings[0].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
3084 mappings[0].sms_slide_size = KB4; in alloc_and_fill_shared_file_mappings()
[all …]
/xnu-11215/bsd/vm/
H A Dvm_unix.c1111 srfmp->mappings = &mappings[mappings_next]; in shared_region_map_and_slide_setup()
1512 srfmp->mappings[i].sms_size, in shared_region_map_and_slide_setup()
1825 mappings[i].sms_address = addr; in shared_region_map_and_slide_2_np_sanitize()
1826 mappings[i].sms_size = size; in shared_region_map_and_slide_2_np_sanitize()
1830 mappings[i].sms_max_prot = max; in shared_region_map_and_slide_2_np_sanitize()
1831 mappings[i].sms_init_prot = cur; in shared_region_map_and_slide_2_np_sanitize()
1893 mappings = kalloc_data(mappings_count * sizeof(mappings[0]), Z_WAITOK); in shared_region_map_and_slide_2_np()
1894 if (mappings == NULL) { in shared_region_map_and_slide_2_np()
1922 mappings); in shared_region_map_and_slide_2_np()
1965 mappings[m].sms_address, in shared_region_map_and_slide_2_np()
[all …]
/xnu-11215/osfmk/mach/
H A Dshared_memory_server.h133 const struct shared_file_mapping_np *mappings,
H A Dshared_region.h238 const struct shared_file_mapping_np *mappings);
H A Dvm_map.defs297 * the memory in this mapping will be shared with other mappings
300 * consistency among mappings on one host with similar page alignments.
H A Dmach_vm.defs346 * the memory in this mapping will be shared with other mappings
349 * consistency among mappings on one host with similar page alignments.
/xnu-11215/iokit/Kernel/
H A DIOUserClient.cpp357 if (uc && uc->mappings) { in destroyUserReferences()
374 if (uc->mappings) { in destroyUserReferences()
379 machPort->object = uc->mappings; in destroyUserReferences()
384 OSSafeReleaseNULL(uc->mappings); in destroyUserReferences()
1912 if (mappings) { in free()
1913 mappings->release(); in free()
4569 OSSet * mappings; in is_io_service_close() local
4699 if (NULL == client->mappings) { in is_io_connect_map_memory_into_task()
4702 if (client->mappings) { in is_io_connect_map_memory_into_task()
4757 mappings->removeObject(map); in removeMappingForDescriptor()
[all …]
/xnu-11215/tests/vm/
H A Dvm_parameter_validation.c1479 const struct shared_file_mapping_slide_np *mappings);
1500 uint32_t mappings_count, const struct shared_file_mapping_slide_np *mappings) in call_shared_region_map_and_slide_2_np_child() argument
1502 int err = __shared_region_map_and_slide_2_np(files_count, files, mappings_count, mappings); in call_shared_region_map_and_slide_2_np_child()
1510 const struct shared_file_mapping_slide_np *mappings; member
1520 const struct shared_file_mapping_slide_np *mappings = thread_args->mappings; in thread_func() local
1522 …int err = call_shared_region_map_and_slide_2_np_child(files_count, files, mappings_count, mappings… in thread_func()
1532 uint32_t mappings_count, const struct shared_file_mapping_slide_np *mappings) in call_shared_region_map_and_slide_2_np_in_thread() argument
1540 map_n_slice_thread_args args = {files_count, files, mappings_count, mappings}; in call_shared_region_map_and_slide_2_np_in_thread()
2171 struct shared_file_mapping_slide_np *mappings = trial->mappings; in shared_region_map_and_slide_would_crash() local
2182 if (!mappings) { in shared_region_map_and_slide_would_crash()
[all …]
/xnu-11215/iokit/IOKit/
H A DIOUserClient.h248 OSSet * mappings; variable
/xnu-11215/makedefs/
H A DMakeInc.top160 # Generate a list of mappings of the form "n75:arm;t8002" based on the device map
176 # Generate a list of mappings for products that use a different platform for their kernel configura…
/xnu-11215/tools/lldbmacros/
H A Dmemory.py3752 mappings = FindVMEntriesForVnode(t, p.p_textvp)
3755 for m in mappings: