Lines Matching defs:dst_entry
2069 * Create new object backing dst_entry with private copy of all
2070 * underlying pages. When src_entry is equal to dst_entry, function
2081 vm_map_entry_t dst_entry, vm_map_entry_t src_entry,
2092 upgrade = src_entry == dst_entry;
2093 KASSERT(upgrade || dst_entry->object.vm_object == NULL,
2106 access = prot = dst_entry->protection;
2113 if (upgrade && (dst_entry->eflags & MAP_ENTRY_NEEDS_COPY) == 0) {
2122 dst_object = vm_object_allocate_anon(atop(dst_entry->end -
2123 dst_entry->start), NULL, NULL, 0);
2126 dst_object->pg_color = atop(dst_entry->start);
2129 dst_object->charge = dst_entry->end - dst_entry->start;
2131 dst_entry->object.vm_object = dst_object;
2132 dst_entry->offset = 0;
2133 dst_entry->eflags &= ~MAP_ENTRY_VN_EXEC;
2138 KASSERT(dst_entry->cred == NULL,
2145 KASSERT(dst_entry->cred != NULL, ("no cred for entry %p",
2146 dst_entry));
2147 dst_object->cred = dst_entry->cred;
2148 dst_entry->cred = NULL;
2160 for (vaddr = dst_entry->start, dst_pindex = 0;
2161 vaddr < dst_entry->end;
2279 dst_entry->eflags &= ~(MAP_ENTRY_COW | MAP_ENTRY_NEEDS_COPY);