Lines Matching refs:first_object

140 	vm_object_t	first_object;  member
232 if (fs->object != fs->first_object) { in fault_deallocate()
233 VM_OBJECT_WLOCK(fs->first_object); in fault_deallocate()
235 VM_OBJECT_WUNLOCK(fs->first_object); in fault_deallocate()
236 vm_object_pip_wakeup(fs->first_object); in fault_deallocate()
238 vm_object_deallocate(fs->first_object); in fault_deallocate()
310 vm_object_busy(fs->first_object); in vm_fault_soft_fast()
311 m = vm_page_lookup(fs->first_object, fs->first_pindex); in vm_fault_soft_fast()
337 if ((fs->first_object->flags & OBJ_UNMANAGED) == 0) in vm_fault_soft_fast()
360 VM_OBJECT_RUNLOCK(fs->first_object); in vm_fault_soft_fast()
366 vm_object_unbusy(fs->first_object); in vm_fault_soft_fast()
374 VM_OBJECT_ASSERT_WLOCKED(fs->first_object); in vm_fault_restore_map_lock()
375 MPASS(blockcount_read(&fs->first_object->paging_in_progress) > 0); in vm_fault_restore_map_lock()
378 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_restore_map_lock()
380 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_restore_map_lock()
424 MPASS(fs->object == fs->first_object); in vm_fault_populate()
425 VM_OBJECT_ASSERT_WLOCKED(fs->first_object); in vm_fault_populate()
426 MPASS(blockcount_read(&fs->first_object->paging_in_progress) > 0); in vm_fault_populate()
427 MPASS(fs->first_object->backing_object == NULL); in vm_fault_populate()
443 rv = vm_pager_populate(fs->first_object, fs->first_pindex, in vm_fault_populate()
447 VM_OBJECT_ASSERT_WLOCKED(fs->first_object); in vm_fault_populate()
465 MPASS(pager_last < fs->first_object->size); in vm_fault_populate()
472 vm_fault_populate_cleanup(fs->first_object, pager_first, in vm_fault_populate()
475 m = vm_page_lookup(fs->first_object, pager_first); in vm_fault_populate()
491 m = vm_page_lookup(fs->first_object, pager_first); in vm_fault_populate()
493 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_populate()
507 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_populate()
529 vm_fault_populate_cleanup(fs->first_object, pager_first, in vm_fault_populate()
535 vm_fault_populate_cleanup(fs->first_object, map_last + 1, in vm_fault_populate()
539 for (pidx = pager_first, m = vm_page_lookup(fs->first_object, pidx); in vm_fault_populate()
559 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_populate()
574 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_populate()
801 VM_PROT_FAULT_LOOKUP, &fs->entry, &fs->first_object, in vm_fault_lookup()
868 if (retry_object != fs->first_object || in vm_fault_relookup()
897 KASSERT(fs->object != fs->first_object, in vm_fault_cow()
921 (is_first_object_locked = VM_OBJECT_TRYWLOCK(fs->first_object)) && in vm_fault_cow()
922 fs->object == fs->first_object->backing_object && in vm_fault_cow()
930 vm_page_replace(fs->m, fs->first_object, fs->first_pindex, in vm_fault_cow()
937 vm_reserv_rename(fs->m, fs->first_object, fs->object, in vm_fault_cow()
938 OFF_TO_IDX(fs->first_object->backing_object_offset)); in vm_fault_cow()
941 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_cow()
947 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_cow()
982 if ((fs->first_object->flags & OBJ_ONEMAPPING) == 0) in vm_fault_cow()
991 fs->object = fs->first_object; in vm_fault_cow()
1013 if (fs->object == fs->first_object) { in vm_fault_next()
1031 if (fs->object != fs->first_object) in vm_fault_next()
1048 if (fs->object != fs->first_object) { in vm_fault_zerofill()
1050 fs->object = fs->first_object; in vm_fault_zerofill()
1090 if (fs->object == fs->first_object && in vm_fault_allocate()
1091 (fs->first_object->flags & OBJ_POPULATE) != 0 && in vm_fault_allocate()
1092 fs->first_object->shadow_count == 0) { in vm_fault_allocate()
1262 if (fs->object != fs->first_object) { in vm_fault_busy_sleep()
1264 vm_object_pip_wakeup(fs->first_object); in vm_fault_busy_sleep()
1273 vm_object_deallocate(fs->first_object); in vm_fault_busy_sleep()
1325 VM_OBJECT_RLOCK(fs.first_object); in vm_fault()
1329 if (!VM_OBJECT_TRYUPGRADE(fs.first_object)) { in vm_fault()
1330 VM_OBJECT_RUNLOCK(fs.first_object); in vm_fault()
1331 VM_OBJECT_WLOCK(fs.first_object); in vm_fault()
1334 VM_OBJECT_WLOCK(fs.first_object); in vm_fault()
1346 vm_object_reference_locked(fs.first_object); in vm_fault()
1347 vm_object_pip_add(fs.first_object, 1); in vm_fault()
1354 fs.object = fs.first_object; in vm_fault()
1424 fs.object == fs.first_object)) { in vm_fault()
1501 if (fs.first_object == fs.object) in vm_fault()
1525 if (fs.object != fs.first_object) { in vm_fault()
1652 vm_object_t first_object, object; in vm_fault_dontneed() local
1660 first_object = fs->first_object; in vm_fault_dontneed()
1662 if ((first_object->flags & (OBJ_FICTITIOUS | OBJ_UNMANAGED)) == 0) { in vm_fault_dontneed()
1663 VM_OBJECT_RLOCK(first_object); in vm_fault_dontneed()
1677 m_next = vm_page_find_least(first_object, pstart); in vm_fault_dontneed()
1703 VM_OBJECT_RUNLOCK(first_object); in vm_fault_dontneed()