Lines Matching defs:new_object
1292 vm_object_t orig_object, new_object, source;
1307 * If swap_pager_copy() is later called, it will convert new_object
1310 new_object = vm_object_allocate(OBJT_DEFAULT, size);
1316 VM_OBJECT_WLOCK(new_object);
1324 VM_OBJECT_WUNLOCK(new_object);
1325 vm_object_deallocate(new_object);
1330 new_object, shadow_list);
1332 vm_object_reference_locked(source); /* for new_object */
1335 new_object->backing_object_offset =
1337 new_object->backing_object = source;
1340 new_object->cred = orig_object->cred;
1342 new_object->charge = ptoa(size);
1361 VM_OBJECT_WUNLOCK(new_object);
1366 VM_OBJECT_WLOCK(new_object);
1371 if (vm_page_rename(m, new_object, idx)) {
1372 VM_OBJECT_WUNLOCK(new_object);
1376 VM_OBJECT_WLOCK(new_object);
1392 vm_reserv_rename(m, new_object, orig_object, offidxstart);
1400 * and new_object's locks are released and reacquired.
1402 swap_pager_copy(orig_object, new_object, offidxstart, 0);
1403 TAILQ_FOREACH(m, &new_object->memq, listq)
1407 * Transfer any cached pages from orig_object to new_object.
1410 * new_object's type to OBJT_SWAP when it transferred those
1411 * pages to new_object. Otherwise, new_object's type
1417 new_object);
1420 VM_OBJECT_WUNLOCK(new_object);
1421 entry->object.vm_object = new_object;
1424 VM_OBJECT_WLOCK(new_object);