Lines Matching refs:first_object

142 	vm_object_t	first_object;  member
269 if (fs->object != fs->first_object) { in vm_fault_deallocate()
270 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_deallocate()
272 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_deallocate()
273 vm_object_pip_wakeup(fs->first_object); in vm_fault_deallocate()
275 vm_object_deallocate(fs->first_object); in vm_fault_deallocate()
354 m = vm_page_lookup_unlocked(fs->first_object, fs->first_pindex); in vm_fault_soft_fast()
357 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_soft_fast()
363 VM_OBJECT_RLOCK(fs->first_object); in vm_fault_soft_fast()
370 if (m->object != fs->first_object || m->pindex != fs->first_pindex) in vm_fault_soft_fast()
373 vm_object_busy(fs->first_object); in vm_fault_soft_fast()
396 if ((fs->first_object->flags & OBJ_UNMANAGED) == 0) in vm_fault_soft_fast()
433 VM_OBJECT_RUNLOCK(fs->first_object); in vm_fault_soft_fast()
435 vm_object_unbusy(fs->first_object); in vm_fault_soft_fast()
440 vm_object_unbusy(fs->first_object); in vm_fault_soft_fast()
442 if (!VM_OBJECT_TRYUPGRADE(fs->first_object)) { in vm_fault_soft_fast()
443 VM_OBJECT_RUNLOCK(fs->first_object); in vm_fault_soft_fast()
444 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_soft_fast()
453 VM_OBJECT_ASSERT_WLOCKED(fs->first_object); in vm_fault_restore_map_lock()
454 MPASS(blockcount_read(&fs->first_object->paging_in_progress) > 0); in vm_fault_restore_map_lock()
457 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_restore_map_lock()
459 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_restore_map_lock()
506 MPASS(fs->object == fs->first_object); in vm_fault_populate()
507 VM_OBJECT_ASSERT_WLOCKED(fs->first_object); in vm_fault_populate()
508 MPASS(blockcount_read(&fs->first_object->paging_in_progress) > 0); in vm_fault_populate()
509 MPASS(fs->first_object->backing_object == NULL); in vm_fault_populate()
527 rv = vm_pager_populate(fs->first_object, fs->first_pindex, in vm_fault_populate()
531 VM_OBJECT_ASSERT_WLOCKED(fs->first_object); in vm_fault_populate()
549 MPASS(pager_last < fs->first_object->size); in vm_fault_populate()
555 vm_fault_populate_cleanup(fs->first_object, pager_first, in vm_fault_populate()
558 m = vm_page_lookup(fs->first_object, pager_first); in vm_fault_populate()
574 m = vm_page_lookup(fs->first_object, pager_first); in vm_fault_populate()
576 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_populate()
590 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_populate()
616 vm_fault_populate_cleanup(fs->first_object, pager_first, in vm_fault_populate()
622 vm_fault_populate_cleanup(fs->first_object, map_last + 1, in vm_fault_populate()
626 for (pidx = pager_first, m = vm_page_lookup(fs->first_object, pidx); in vm_fault_populate()
643 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_populate()
666 VM_OBJECT_WLOCK(fs->first_object); in vm_fault_populate()
789 if (fs->object == fs->first_object) in vm_fault_object_ensure_wlocked()
915 VM_PROT_FAULT_LOOKUP, &fs->entry, &fs->first_object, in vm_fault_lookup()
982 if (retry_object != fs->first_object || in vm_fault_relookup()
1011 KASSERT(fs->object != fs->first_object, in vm_fault_cow()
1035 (is_first_object_locked = VM_OBJECT_TRYWLOCK(fs->first_object)) && in vm_fault_cow()
1036 fs->object == fs->first_object->backing_object && in vm_fault_cow()
1044 vm_page_replace(fs->m, fs->first_object, fs->first_pindex, in vm_fault_cow()
1051 vm_reserv_rename(fs->m, fs->first_object, fs->object, in vm_fault_cow()
1052 OFF_TO_IDX(fs->first_object->backing_object_offset)); in vm_fault_cow()
1055 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_cow()
1061 VM_OBJECT_WUNLOCK(fs->first_object); in vm_fault_cow()
1096 if ((fs->first_object->flags & OBJ_ONEMAPPING) == 0) in vm_fault_cow()
1105 fs->object = fs->first_object; in vm_fault_cow()
1117 if (fs->object == fs->first_object || !fs->can_read_lock) in vm_fault_next()
1132 if (fs->object == fs->first_object) { in vm_fault_next()
1158 if (fs->object != fs->first_object) in vm_fault_next()
1175 if (fs->object != fs->first_object) { in vm_fault_zerofill()
1177 fs->object = fs->first_object; in vm_fault_zerofill()
1250 if (fs->object == fs->first_object && in vm_fault_allocate()
1251 (fs->first_object->flags & OBJ_POPULATE) != 0 && in vm_fault_allocate()
1252 fs->first_object->shadow_count == 0) { in vm_fault_allocate()
1438 if (fs->object != fs->first_object) { in vm_fault_busy_sleep()
1440 vm_object_pip_wakeup(fs->first_object); in vm_fault_busy_sleep()
1448 vm_object_deallocate(fs->first_object); in vm_fault_busy_sleep()
1465 if (fs->object == fs->first_object || !fs->can_read_lock) in vm_fault_object()
1511 fs->object == fs->first_object)) { in vm_fault_object()
1601 VM_OBJECT_ASSERT_UNLOCKED(fs.first_object); in vm_fault()
1604 VM_OBJECT_ASSERT_WLOCKED(fs.first_object); in vm_fault()
1606 VM_OBJECT_WLOCK(fs.first_object); in vm_fault()
1618 vm_object_reference_locked(fs.first_object); in vm_fault()
1619 vm_object_pip_add(fs.first_object, 1); in vm_fault()
1626 fs.object = fs.first_object; in vm_fault()
1687 if (fs.first_object == fs.object) in vm_fault()
1712 if (fs.object != fs.first_object) { in vm_fault()
1839 vm_object_t first_object; in vm_fault_dontneed() local
1846 first_object = fs->first_object; in vm_fault_dontneed()
1848 if ((first_object->flags & (OBJ_FICTITIOUS | OBJ_UNMANAGED)) == 0) { in vm_fault_dontneed()
1849 VM_OBJECT_RLOCK(first_object); in vm_fault_dontneed()
1863 m_next = vm_page_find_least(first_object, pstart); in vm_fault_dontneed()
1889 VM_OBJECT_RUNLOCK(first_object); in vm_fault_dontneed()