Lines Matching defs:src_map
173 vm_map_t src_map,
7089 vm_map_t src_map,
7116 kr = copyinmap(src_map, src_addr, copy->cpy_kdata, (vm_size_t) len);
7122 (void) vm_map_remove(src_map, vm_map_trunc_page(src_addr),
7126 (src_map == kernel_map) ?
7543 vm_map_t src_map,
7549 return(vm_map_copyin_common(src_map, src_addr, len, src_destroy,
7558 * source address space (src_map), possibly removing
7582 vm_map_t src_map,
7604 vm_map_t base_map = src_map;
7635 return vm_map_copyin_kernel_buffer(src_map, src_addr, len,
7644 XPR(XPR_VM_MAP, "vm_map_copyin_common map 0x%x addr 0x%x len 0x%x dest %d\n", src_map, src_addr, len, src_destroy, 0);
7669 vm_map_unlock(src_map); \
7670 if(src_map != base_map) \
7671 vm_map_deallocate(src_map); \
7692 vm_map_lock(src_map);
7694 if (!vm_map_lookup_entry(src_map, src_start, &tmp_entry))
7697 vm_map_clip_start(src_map, tmp_entry, src_start);
7739 ptr->parent_map = src_map;
7750 src_map = tmp_entry->object.sub_map;
7751 vm_map_lock(src_map);
7754 vm_map_reference(src_map);
7757 src_map, src_start, &tmp_entry))
7761 vm_map_clip_start(src_map, tmp_entry, src_start);
7784 version.main_timestamp = src_map->timestamp;
7785 vm_map_unlock(src_map);
7789 vm_map_lock(src_map);
7790 if ((version.main_timestamp + 1) != src_map->timestamp) {
7791 if (!vm_map_lookup_entry(src_map, src_start,
7796 vm_map_clip_start(src_map, tmp_entry, src_start);
7813 vm_map_clip_end(src_map, src_entry, src_end);
7874 if (override_nx(src_map, src_entry->alias) && prot)
7883 : src_map->pmap),
7912 version.main_timestamp = src_map->timestamp;
7913 vm_map_unlock(src_map); /* Increments timestamp once! */
7962 vm_map_lock(src_map);
7977 vm_map_lock(src_map);
7979 if ((version.main_timestamp + 1) == src_map->timestamp)
7994 if (!vm_map_lookup_entry(src_map, src_start, &tmp_entry)) {
7999 vm_map_clip_start(src_map, src_entry, src_start);
8055 if (src_map != base_map) {
8063 vm_map_simplify_range(src_map,
8067 vm_map_unlock(src_map);
8068 vm_map_deallocate(src_map);
8070 src_map = ptr->parent_map;
8076 src_map, src_start, &tmp_entry))
8094 (tmp_entry == vm_map_to_entry(src_map)))
8103 (void) vm_map_delete(src_map,
8106 (src_map == kernel_map) ?
8112 vm_map_simplify_range(src_map,
8117 vm_map_unlock(src_map);
11426 vm_map_t src_map,
11446 if (size != 0 && src_map != VM_MAP_NULL)
11455 result = vm_map_remap_extract(src_map, memory_address,