Lines Matching defs:src_map
175 vm_map_t src_map,
6361 vm_map_t src_map,
6381 kr = copyinmap(src_map, src_addr, copy->cpy_kdata, len);
6387 (void) vm_map_remove(src_map, vm_map_trunc_page(src_addr),
6391 (src_map == kernel_map) ?
6816 vm_map_t src_map,
6822 return(vm_map_copyin_common(src_map, src_addr, len, src_destroy,
6831 * source address space (src_map), possibly removing
6855 vm_map_t src_map,
6877 vm_map_t base_map = src_map;
6908 return vm_map_copyin_kernel_buffer(src_map, src_addr, len,
6917 XPR(XPR_VM_MAP, "vm_map_copyin_common map 0x%x addr 0x%x len 0x%x dest %d\n", (natural_t)src_map, src_addr, len, src_destroy, 0);
6940 vm_map_unlock(src_map); \
6941 if(src_map != base_map) \
6942 vm_map_deallocate(src_map); \
6963 vm_map_lock(src_map);
6965 if (!vm_map_lookup_entry(src_map, src_start, &tmp_entry))
6968 vm_map_clip_start(src_map, tmp_entry, src_start);
7010 ptr->parent_map = src_map;
7021 src_map = tmp_entry->object.sub_map;
7022 vm_map_lock(src_map);
7025 vm_map_reference(src_map);
7028 src_map, src_start, &tmp_entry))
7032 vm_map_clip_start(src_map, tmp_entry, src_start);
7055 version.main_timestamp = src_map->timestamp;
7056 vm_map_unlock(src_map);
7060 vm_map_lock(src_map);
7061 if ((version.main_timestamp + 1) != src_map->timestamp) {
7062 if (!vm_map_lookup_entry(src_map, src_start,
7067 vm_map_clip_start(src_map, tmp_entry, src_start);
7084 vm_map_clip_end(src_map, src_entry, src_end);
7145 if (override_nx(src_map, src_entry->alias) && prot)
7154 : src_map->pmap),
7183 version.main_timestamp = src_map->timestamp;
7184 vm_map_unlock(src_map); /* Increments timestamp once! */
7233 vm_map_lock(src_map);
7248 vm_map_lock(src_map);
7250 if ((version.main_timestamp + 1) == src_map->timestamp)
7265 if (!vm_map_lookup_entry(src_map, src_start, &tmp_entry)) {
7270 vm_map_clip_start(src_map, src_entry, src_start);
7326 if (src_map != base_map) {
7334 vm_map_simplify_range(src_map,
7338 vm_map_unlock(src_map);
7339 vm_map_deallocate(src_map);
7341 src_map = ptr->parent_map;
7347 src_map, src_start, &tmp_entry))
7365 (tmp_entry == vm_map_to_entry(src_map)))
7374 (void) vm_map_delete(src_map,
7377 (src_map == kernel_map) ?
7383 vm_map_simplify_range(src_map,
7388 vm_map_unlock(src_map);
10339 vm_map_t src_map,
10359 if (size != 0 && src_map != VM_MAP_NULL)
10368 result = vm_map_remap_extract(src_map, memory_address,