Lines Matching refs:copy_entry
5473 vm_map_entry_t copy_entry;
5544 * the protection of the copy_entry.
5582 copy_entry = vm_map_copy_first_entry(copy);
5583 while(copy_entry !=
5585 entry_size = copy_entry->vme_end -
5586 copy_entry->vme_start;
5591 copy_entry,
5592 copy_entry->vme_start +
5594 entry_size = copy_entry->vme_end -
5595 copy_entry->vme_start;
5600 next_copy = copy_entry->vme_next;
5601 copy_entry->vme_next =
5605 copy->cpy_hdr.links.prev = copy_entry;
5617 copy_entry = copy_entry->vme_next;
5712 copy_entry = vm_map_copy_first_entry(copy);
5713 while(copy_entry != vm_map_copy_to_entry(copy)) {
5714 entry_size = copy_entry->vme_end -
5715 copy_entry->vme_start;
5719 vm_map_copy_clip_end(copy, copy_entry,
5720 copy_entry->vme_start +
5722 entry_size = copy_entry->vme_end -
5723 copy_entry->vme_start;
5728 next_copy = copy_entry->vme_next;
5729 copy_entry->vme_next =
5733 copy->cpy_hdr.links.prev = copy_entry;
5745 copy_entry = copy_entry->vme_next;
5880 vm_map_entry_t copy_entry = vm_map_copy_first_entry(copy);
5915 src_size = copy_entry->vme_end -
5916 (copy_entry->vme_start + src_offset);
5982 copy_entry->object.vm_object,
5983 copy_entry->offset + src_offset,
6004 if ((copy_entry->vme_start + src_offset) == copy_entry->vme_end
6010 vm_map_copy_entry_unlink(copy, copy_entry);
6011 vm_object_deallocate(copy_entry->object.vm_object);
6012 vm_map_copy_entry_dispose(copy, copy_entry);
6014 if ((copy_entry = vm_map_copy_first_entry(copy))
6091 vm_map_entry_t copy_entry;
6096 while ((copy_entry = vm_map_copy_first_entry(copy))
6099 copy_size = (copy_entry->vme_end - copy_entry->vme_start);
6145 vm_map_copy_clip_end(copy, copy_entry,
6146 copy_entry->vme_start + size);
6152 assert((copy_entry->vme_end - copy_entry->vme_start) == size);
6173 if (old_object == copy_entry->object.vm_object &&
6174 old_offset == copy_entry->offset) {
6175 vm_map_copy_entry_unlink(copy, copy_entry);
6176 vm_map_copy_entry_dispose(copy, copy_entry);
6232 entry->object = copy_entry->object;
6234 entry->needs_copy = copy_entry->needs_copy;
6237 offset = entry->offset = copy_entry->offset;
6239 vm_map_copy_entry_unlink(copy, copy_entry);
6240 vm_map_copy_entry_dispose(copy, copy_entry);
6286 copy_entry->object.vm_object,
6287 copy_entry->offset,
6313 vm_map_copy_clip_end(copy, copy_entry,
6314 copy_entry->vme_start + copy_size);
6315 vm_map_copy_entry_unlink(copy, copy_entry);
6316 vm_object_deallocate(copy_entry->object.vm_object);
6317 vm_map_copy_entry_dispose(copy, copy_entry);