Lines Matching refs:first_object
144 vm_object_t first_object; member
250 if (fs->object != fs->first_object) { in fault_deallocate()
251 VM_OBJECT_WLOCK(fs->first_object); in fault_deallocate()
253 VM_OBJECT_WUNLOCK(fs->first_object); in fault_deallocate()
254 vm_object_pip_wakeup(fs->first_object); in fault_deallocate()
256 vm_object_deallocate(fs->first_object); in fault_deallocate()
331 vm_object_busy(fs->first_object); in vm_fault_soft_fast()
332 m = vm_page_lookup(fs->first_object, fs->first_pindex); in vm_fault_soft_fast()
358 if ((fs->first_object->flags & OBJ_UNMANAGED) == 0) in vm_fault_soft_fast()
383 VM_OBJECT_RUNLOCK(fs->first_object); in vm_fault_soft_fast()
389 vm_object_unbusy(fs->first_object); in vm_fault_soft_fast()
397 VM_OBJECT_ASSERT_WLOCKED(fs->first_object); in vm_fault_restore_map_lock()
398 MPASS(blockcount_read(&fs->first_object->paging_in_progress) > 0); in vm_fault_restore_map_lock()
401 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_restore_map_lock()
403 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_restore_map_lock()
448 MPASS(fs->object == fs->first_object); in vm_fault_populate()
449 VM_OBJECT_ASSERT_WLOCKED(fs->first_object); in vm_fault_populate()
450 MPASS(blockcount_read(&fs->first_object->paging_in_progress) > 0); in vm_fault_populate()
451 MPASS(fs->first_object->backing_object == NULL); in vm_fault_populate()
469 rv = vm_pager_populate(fs->first_object, fs->first_pindex, in vm_fault_populate()
473 VM_OBJECT_ASSERT_WLOCKED(fs->first_object); in vm_fault_populate()
491 MPASS(pager_last < fs->first_object->size); in vm_fault_populate()
498 vm_fault_populate_cleanup(fs->first_object, pager_first, in vm_fault_populate()
501 m = vm_page_lookup(fs->first_object, pager_first); in vm_fault_populate()
517 m = vm_page_lookup(fs->first_object, pager_first); in vm_fault_populate()
519 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_populate()
533 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_populate()
559 vm_fault_populate_cleanup(fs->first_object, pager_first, in vm_fault_populate()
565 vm_fault_populate_cleanup(fs->first_object, map_last + 1, in vm_fault_populate()
569 for (pidx = pager_first, m = vm_page_lookup(fs->first_object, pidx); in vm_fault_populate()
585 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_populate()
608 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_populate()
837 VM_PROT_FAULT_LOOKUP, &fs->entry, &fs->first_object, in vm_fault_lookup()
904 if (retry_object != fs->first_object || in vm_fault_relookup()
933 KASSERT(fs->object != fs->first_object, in vm_fault_cow()
957 (is_first_object_locked = VM_OBJECT_TRYWLOCK(fs->first_object)) && in vm_fault_cow()
958 fs->object == fs->first_object->backing_object && in vm_fault_cow()
966 vm_page_replace(fs->m, fs->first_object, fs->first_pindex, in vm_fault_cow()
973 vm_reserv_rename(fs->m, fs->first_object, fs->object, in vm_fault_cow()
974 OFF_TO_IDX(fs->first_object->backing_object_offset)); in vm_fault_cow()
977 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_cow()
983 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_cow()
1018 if ((fs->first_object->flags & OBJ_ONEMAPPING) == 0) in vm_fault_cow()
1027 fs->object = fs->first_object; in vm_fault_cow()
1049 if (fs->object == fs->first_object) { in vm_fault_next()
1067 if (fs->object != fs->first_object) in vm_fault_next()
1084 if (fs->object != fs->first_object) { in vm_fault_zerofill()
1086 fs->object = fs->first_object; in vm_fault_zerofill()
1160 if (fs->object == fs->first_object && in vm_fault_allocate()
1161 (fs->first_object->flags & OBJ_POPULATE) != 0 && in vm_fault_allocate()
1162 fs->first_object->shadow_count == 0) { in vm_fault_allocate()
1343 if (fs->object != fs->first_object) { in vm_fault_busy_sleep()
1345 vm_object_pip_wakeup(fs->first_object); in vm_fault_busy_sleep()
1353 vm_object_deallocate(fs->first_object); in vm_fault_busy_sleep()
1413 fs->object == fs->first_object)) { in vm_fault_object()
1495 VM_OBJECT_RLOCK(fs.first_object); in vm_fault()
1499 if (!VM_OBJECT_TRYUPGRADE(fs.first_object)) { in vm_fault()
1500 VM_OBJECT_RUNLOCK(fs.first_object); in vm_fault()
1501 VM_OBJECT_WLOCK(fs.first_object); in vm_fault()
1504 VM_OBJECT_WLOCK(fs.first_object); in vm_fault()
1516 vm_object_reference_locked(fs.first_object); in vm_fault()
1517 vm_object_pip_add(fs.first_object, 1); in vm_fault()
1524 fs.object = fs.first_object; in vm_fault()
1581 if (fs.first_object == fs.object) in vm_fault()
1606 if (fs.object != fs.first_object) { in vm_fault()
1733 vm_object_t first_object, object; in vm_fault_dontneed() local
1741 first_object = fs->first_object; in vm_fault_dontneed()
1743 if ((first_object->flags & (OBJ_FICTITIOUS | OBJ_UNMANAGED)) == 0) { in vm_fault_dontneed()
1744 VM_OBJECT_RLOCK(first_object); in vm_fault_dontneed()
1758 m_next = vm_page_find_least(first_object, pstart); in vm_fault_dontneed()
1784 VM_OBJECT_RUNLOCK(first_object); in vm_fault_dontneed()