Lines Matching refs:new_entry
1240 register vm_map_entry_t entry, new_entry;
1254 new_entry = vm_map_entry_create(map);
1290 vm_map_entry_dispose(map, new_entry);
1298 vm_map_entry_dispose(map, new_entry);
1343 new_entry->vme_start = start;
1344 new_entry->vme_end = end;
1345 assert(page_aligned(new_entry->vme_start));
1346 assert(page_aligned(new_entry->vme_end));
1348 new_entry->is_shared = FALSE;
1349 new_entry->is_sub_map = FALSE;
1350 new_entry->use_pmap = FALSE;
1351 new_entry->object.vm_object = VM_OBJECT_NULL;
1352 new_entry->offset = (vm_object_offset_t) 0;
1354 new_entry->needs_copy = FALSE;
1356 new_entry->inheritance = VM_INHERIT_DEFAULT;
1357 new_entry->protection = VM_PROT_DEFAULT;
1358 new_entry->max_protection = VM_PROT_ALL;
1359 new_entry->behavior = VM_BEHAVIOR_DEFAULT;
1360 new_entry->wired_count = 0;
1361 new_entry->user_wired_count = 0;
1363 new_entry->in_transition = FALSE;
1364 new_entry->needs_wakeup = FALSE;
1365 new_entry->no_cache = FALSE;
1367 new_entry->alias = 0;
1369 VM_GET_FLAGS_ALIAS(flags, new_entry->alias);
1375 vm_map_entry_link(map, entry, new_entry);
1382 SAVE_HINT_MAP_WRITE(map, new_entry);
1384 *o_entry = new_entry;
1517 vm_map_entry_t entry, new_entry;
1938 new_entry = vm_map_entry_insert(map, entry, tmp_start, tmp_end,
1944 new_entry->alias = alias;
1950 new_entry->is_sub_map = TRUE;
1977 new_entry->use_pmap = TRUE;
1983 entry = new_entry;
2000 new_entry->protection, TRUE);
2846 register vm_map_entry_t new_entry;
2856 new_entry = _vm_map_entry_create(map_header);
2857 vm_map_entry_copy_full(new_entry, entry);
2859 new_entry->vme_end = start;
2863 _vm_map_entry_link(map_header, entry->vme_prev, new_entry);
2866 vm_map_reference(new_entry->object.sub_map);
2868 vm_object_reference(new_entry->object.vm_object);
2938 register vm_map_entry_t new_entry;
2945 new_entry = _vm_map_entry_create(map_header);
2946 vm_map_entry_copy_full(new_entry, entry);
2948 new_entry->vme_start = entry->vme_end = end;
2949 new_entry->offset += (end - entry->vme_start);
2951 _vm_map_entry_link(map_header, entry, new_entry);
2954 vm_map_reference(new_entry->object.sub_map);
2956 vm_object_reference(new_entry->object.vm_object);
6869 vm_map_entry_t new_entry = VM_MAP_ENTRY_NULL; /* Map entry for copy */
6936 new_entry = vm_map_copy_entry_create(copy);
6943 if (new_entry != VM_MAP_ENTRY_NULL) \
6944 vm_map_copy_entry_dispose(copy,new_entry); \
7054 if (new_entry == VM_MAP_ENTRY_NULL) {
7058 new_entry = vm_map_copy_entry_create(copy);
7091 vm_map_entry_copy(new_entry, src_entry);
7092 new_entry->use_pmap = FALSE; /* clr address space specifics */
7123 src_object, new_entry, new_entry->object.vm_object,
7128 &new_entry->object.vm_object,
7134 new_entry->needs_copy = new_entry_needs_copy;
7198 &new_entry->object.vm_object);
7199 new_entry->offset = 0;
7200 new_entry->needs_copy = FALSE;
7216 new_entry->object.vm_object = new_object;
7217 new_entry->needs_copy = TRUE;
7224 &new_entry->object.vm_object,
7225 &new_entry->offset,
7228 new_entry->needs_copy = new_entry_needs_copy;
7277 if (src_entry->vme_end < new_entry->vme_end)
7278 src_size = (new_entry->vme_end = src_entry->vme_end) - src_start;
7291 vm_object_deallocate(new_entry->object.vm_object);
7316 new_entry);
7323 src_start = new_entry->vme_end;
7324 new_entry = VM_MAP_ENTRY_NULL;
7447 vm_map_entry_t new_entry;
7645 new_entry = vm_map_entry_create(new_map);
7646 vm_map_entry_copy(new_entry, old_entry);
7648 new_entry->is_shared = TRUE;
7656 vm_map_entry_link(new_map, vm_map_last_entry(new_map), new_entry);
7665 pmap_copy(new_map->pmap, old_map->pmap, new_entry->vme_start,
7763 vm_map_entry_t new_entry;
7816 new_entry = vm_map_entry_create(new_map);
7817 vm_map_entry_copy(new_entry, old_entry);
7819 new_entry->use_pmap = FALSE;
7822 &new_entry->object.vm_object,
7828 vm_map_entry_dispose(new_map, new_entry);
7858 new_entry->needs_copy = new_entry_needs_copy;
7866 new_entry);
9949 vm_map_entry_t new_entry;
9953 new_entry = vm_map_entry_create(map);
9955 new_entry->vme_start = start;
9956 new_entry->vme_end = end;
9957 assert(page_aligned(new_entry->vme_start));
9958 assert(page_aligned(new_entry->vme_end));
9960 new_entry->object.vm_object = object;
9961 new_entry->offset = offset;
9962 new_entry->is_shared = is_shared;
9963 new_entry->is_sub_map = FALSE;
9964 new_entry->needs_copy = needs_copy;
9965 new_entry->in_transition = in_transition;
9966 new_entry->needs_wakeup = FALSE;
9967 new_entry->inheritance = inheritance;
9968 new_entry->protection = cur_protection;
9969 new_entry->max_protection = max_protection;
9970 new_entry->behavior = behavior;
9971 new_entry->wired_count = wired_count;
9972 new_entry->user_wired_count = 0;
9973 new_entry->use_pmap = FALSE;
9974 new_entry->alias = 0;
9975 new_entry->no_cache = no_cache;
9981 vm_map_entry_link(map, insp_entry, new_entry);
9988 SAVE_HINT_MAP_WRITE(map, new_entry);
9989 return new_entry;
10014 vm_map_entry_t new_entry;
10154 new_entry = _vm_map_entry_create(map_header);
10155 vm_map_entry_copy(new_entry, src_entry);
10156 new_entry->use_pmap = FALSE; /* clr address space specifics */
10158 new_entry->vme_start = map_address;
10159 new_entry->vme_end = map_address + tmp_size;
10160 new_entry->inheritance = inheritance;
10161 new_entry->offset = offset;
10169 new_entry->is_shared = TRUE;
10170 if (!(new_entry->is_sub_map))
10171 new_entry->needs_copy = FALSE;
10175 new_entry->needs_copy = TRUE;
10178 vm_object_copy_quickly(&new_entry->object.vm_object,
10179 new_entry->offset,
10180 (new_entry->vme_end -
10181 new_entry->vme_start),
10185 new_entry->needs_copy = new_entry_needs_copy;
10186 new_entry->is_shared = FALSE;
10216 new_entry->is_shared = FALSE;
10238 &new_entry->object.vm_object);
10240 new_entry->offset = 0;
10241 new_entry->needs_copy = FALSE;
10247 &new_entry->object.vm_object,
10248 &new_entry->offset,
10251 new_entry->needs_copy = new_entry_needs_copy;
10261 _vm_map_entry_dispose(map_header, new_entry);
10278 vm_object_deallocate(new_entry->
10280 _vm_map_entry_dispose(map_header, new_entry);
10293 map_header->links.prev, new_entry);
10311 src_entry = new_entry) {
10312 new_entry = src_entry->vme_next;
10349 vm_map_entry_t new_entry;
10391 entry = new_entry) {
10392 new_entry = entry->vme_next;