Lines Matching defs:dstmap
2739 struct vm_map *dstmap, vaddr_t *dstaddrp, int flags)
2751 UVMHIST_LOG(maphist," ...,dstmap=%#jx, flags=%#jx)",
2752 (uintptr_t)dstmap, flags, 0, 0);
2770 dstaddr = vm_map_min(dstmap);
2771 if (!uvm_map_reserve(dstmap, len, start,
2867 newentry = uvm_mapent_alloc(dstmap, 0);
2946 * 1 => dstmap locked, pmap_copy ok, and we "replace" here (step 5)
2947 * 0 => dstmap unlocked, NO pmap_copy, and we will "replace" in step 7
2950 if (srcmap == dstmap || vm_map_lock_try(dstmap) == true) {
2952 if (!uvm_map_replace(dstmap, dstaddr, dstaddr+len, chain,
2954 if (srcmap != dstmap)
2955 vm_map_unlock(dstmap);
2966 * - if we got a lock on the dstmap do pmap_copy
2990 pmap_copy(dstmap->pmap, srcmap->pmap,
3021 * unlock dstmap. we will dispose of deadentry in
3025 if (copy_ok && srcmap != dstmap)
3026 vm_map_unlock(dstmap);
3034 * is 0 then we have not replaced the dummy mapping in dstmap yet
3044 vm_map_lock(dstmap);
3045 error = uvm_map_replace(dstmap, dstaddr, dstaddr+len, chain,
3047 vm_map_unlock(dstmap);
3074 uvm_unmap(dstmap, dstaddr, dstaddr+len); /* ??? */