Lines Matching defs:target_map
899 vm_map_t target_map,
920 kr = vm_map_enter_mem_object(target_map,
940 vm_map_t target_map,
961 kr = mach_vm_map(target_map, &map_addr, map_size, map_mask, flags,
971 vm_map_t target_map,
994 kr = mach_vm_map(target_map, &map_addr, map_size, map_mask, flags,
1011 vm_map_t target_map,
1026 if (VM_MAP_NULL == target_map || VM_MAP_NULL == src_map)
1035 kr = vm_map_remap(target_map,
1063 vm_map_t target_map,
1078 if (VM_MAP_NULL == target_map || VM_MAP_NULL == src_map)
1087 kr = vm_map_remap(target_map,
1861 vm_map_t target_map,
1887 vm_map_t original_map = target_map;
2093 if (target_map == VM_MAP_NULL) {
2107 kr = vm_map_copyin(target_map,
2141 if (target_map == VM_MAP_NULL) {
2155 kr = vm_map_copy_extract(target_map,
2222 if (target_map == VM_MAP_NULL) {
2228 vm_map_lock_read(target_map);
2234 kr = vm_map_lookup_locked(&target_map, map_offset,
2241 vm_map_unlock_read(target_map);
2256 vm_map_unlock_read(target_map);
2257 if(real_map != target_map)
2285 if(target_map != local_map) {
2286 vm_map_unlock_read(target_map);
2287 if(real_map != target_map)
2290 target_map = local_map;
2297 vm_map_unlock_read(target_map);
2298 if(real_map != target_map)
2307 vm_map_unlock_read(target_map);
2308 if(real_map != target_map)
2322 target_map = local_map;
2348 vm_map_unlock_read(target_map);
2349 if(real_map != target_map)
2416 if (vm_map_lock_read_to_write(target_map)) {
2418 target_map = original_map;
2422 vm_map_clip_start(target_map,
2425 VM_MAP_PAGE_MASK(target_map)));
2426 vm_map_clip_end(target_map,
2429 VM_MAP_PAGE_MASK(target_map))));
2437 vm_map_lock_write_to_read(target_map);
2455 VM_MAP_PAGE_MASK(target_map)))))
2470 if (vm_map_lock_read_to_write(target_map)) {
2478 target_map = original_map;
2502 if (override_nx(target_map, map_entry->alias) && prot)
2509 || target_map->mapped_in_other_pmaps)
2511 target_map->pmap),
2555 vm_map_lock_write_to_read(target_map);
2611 vm_map_unlock_read(target_map);
2612 if(real_map != target_map)
2814 vm_map_t target_map,
2825 kr = mach_make_memory_entry_64(target_map, &mo_size,
2834 vm_map_t target_map,
2845 kr = mach_make_memory_entry_64(target_map, &mo_size,
3428 __unused vm_map_t target_map,
3446 VM_MAP_PAGE_MASK(target_map)),
3448 vm_map_set_page_shift(new_map, VM_MAP_PAGE_SHIFT(target_map));