Lines Matching refs:copy
15 * Please obtain a copy of the License at
36 * Permission to use, copy, modify and distribute this software and its
685 * into a copy object in order to avoid a redundant page out operation.
1024 && ((object != first_object) || (object->copy != VM_OBJECT_NULL))
1027 * This is a copy-on-write fault that will
1123 * of a copy-on-write.
1296 * and we are interested in a copy of this object
1302 * and its pushing pages up into a copy of
1513 * we have to copy it into a new page owned
1525 * We only really need to copy if we
1557 * Instead, we first copy the page. Then, when
1561 * Note that we copy the page even if we didn't
1566 * Allocate a page for the copy
1591 * new copy.
1635 * Now that we've gotten the copy out of the
1649 * copy object. The use of asymmetric copy on write for
1652 * shadowed object, and one here to push it into the copy.
1656 while ((copy_object = first_object->copy) != VM_OBJECT_NULL && (m != VM_PAGE_NULL)) {
1665 * copied to the copy-object, we have to copy it there.
1674 * we must have already performed the copy.
1695 * Make another reference to the copy-object,
1697 * copy.
1702 * Does the page exist in the copy?
1713 * Page currently exists in the copy object
1763 * in the copy-object, and has already been paged out.
1768 * We must copy the page to the copy object.
1795 * Allocate a page for the copy
1814 * Must copy page into copy-object.
1820 * of the copy-object, it must be removed
1830 * option. Else, we use the copy.
1864 * Write the page to the copy-object,
2238 vm_object_t old_copy_object; /* Saved copy object */
2355 * be dropped to do something (copy, zero fill, pmap enter).
2360 * (zero fill, copy on write, pmap enter) while holding
2369 * - Have to push page into copy object.
2385 * If this page is to be inserted in a copy delay object
2386 * for writing, and if the object has a copy, then the
2387 * copy delay strategy is implemented in the slow fault page.
2390 object->copy != VM_OBJECT_NULL && (fault_type & VM_PROT_WRITE))
2595 * - At top level w/o copy object.
2600 if (object == cur_object && object->copy == VM_OBJECT_NULL) {
2727 * object->copy must not be NULL (else control
2729 * have a potential push into the copy object
2735 * deal with the copy push
2742 * This is now a shadow based copy on write
2743 * fault -- it requires a copy up the shadow
2749 * source of the copy.
2768 * Now do the copy. Mark the source page busy...
2771 * the page copy.
2795 if (cur_object->copy == object) {
2798 * We can never collapse a copy
2802 } else if (cur_object->copy == object->shadow &&
3081 old_copy_object = m->object->copy;
3187 if (m->object->copy != old_copy_object) {
3189 * The copy object changed while the top-level object
3730 * Give up if the page is being written and there's a copy object
3732 if ((object->copy != VM_OBJECT_NULL) && (prot & VM_PROT_WRITE)) {
3887 * pages are the same. To avoid this deadlock, the copy must
3929 old_copy_object = dst_page->object->copy;
4026 if (dst_page->object->copy != old_copy_object) {
4146 ((level == 0) && object->copy == VM_OBJECT_NULL)) {