Lines Matching refs:mpred

175     vm_pindex_t pindex, vm_page_t mpred);
177 vm_page_t mpred);
1487 struct pctrie_iter *pages, bool iter, vm_page_t mpred, bool lookup) in vm_page_insert_lookup() argument
1510 error = vm_radix_insert_lookup_lt(&object->rtree, m, &mpred); in vm_page_insert_lookup()
1523 vm_page_insert_radixdone(m, object, mpred); in vm_page_insert_lookup()
1554 vm_page_t mpred) in vm_page_insert_after() argument
1556 return (vm_page_insert_lookup(m, object, pindex, NULL, false, mpred, in vm_page_insert_after()
1574 vm_pindex_t pindex, vm_page_t mpred) in vm_page_iter_insert() argument
1576 return (vm_page_insert_lookup(m, object, pindex, pages, true, mpred, in vm_page_iter_insert()
1592 vm_page_insert_radixdone(vm_page_t m, vm_object_t object, vm_page_t mpred) in vm_page_insert_radixdone() argument
1600 if (mpred != NULL) { in vm_page_insert_radixdone()
1601 KASSERT(mpred->object == object, in vm_page_insert_radixdone()
1603 KASSERT(mpred->pindex < m->pindex, in vm_page_insert_radixdone()
1605 KASSERT(TAILQ_NEXT(mpred, listq) == NULL || in vm_page_insert_radixdone()
1606 m->pindex < TAILQ_NEXT(mpred, listq)->pindex, in vm_page_insert_radixdone()
1614 if (mpred != NULL) in vm_page_insert_radixdone()
1615 TAILQ_INSERT_AFTER(&object->memq, mpred, m, listq); in vm_page_insert_radixdone()
2057 vm_page_t mpred; in vm_page_iter_rename() local
2072 if (vm_radix_insert_lookup_lt(&new_object->rtree, m, &mpred) != 0) { in vm_page_iter_rename()
2089 vm_page_insert_radixdone(m, new_object, mpred); in vm_page_iter_rename()
2145 int req, vm_page_t mpred) in vm_page_alloc_after() argument
2154 mpred); in vm_page_alloc_after()
2217 int req, vm_page_t mpred) in vm_page_alloc_domain_after() argument
2233 KASSERT(mpred == NULL || mpred->pindex < pindex, in vm_page_alloc_domain_after()
2234 ("mpred %p doesn't precede pindex 0x%jx", mpred, in vm_page_alloc_domain_after()
2253 (m = vm_reserv_alloc_page(object, pindex, domain, req, mpred)) != in vm_page_alloc_domain_after()
2322 if (vm_page_insert_after(m, object, pindex, mpred)) { in vm_page_alloc_domain_after()
2459 vm_page_t m, m_ret, mpred; in vm_page_alloc_contig_domain() local
2478 mpred = vm_radix_iter_lookup_le(&pages, pindex); in vm_page_alloc_contig_domain()
2479 KASSERT(mpred == NULL || mpred->pindex != pindex, in vm_page_alloc_contig_domain()
2488 mpred, npages, low, high, alignment, boundary)) != NULL) { in vm_page_alloc_contig_domain()
2528 if (vm_page_iter_insert(&pages, m, object, pindex, mpred)) { in vm_page_alloc_contig_domain()
2533 mpred = m; in vm_page_alloc_contig_domain()
2535 if (m <= mpred && in vm_page_alloc_contig_domain()
2550 mpred = m; in vm_page_alloc_contig_domain()
4863 vm_page_t m, mpred; in vm_page_grab() local
4877 mpred = vm_radix_iter_lookup_le(&pages, pindex); in vm_page_grab()
4879 vm_page_grab_pflags(allocflags), mpred); in vm_page_grab()
5093 vm_page_t m, mpred; in vm_page_grab_zero_partial() local
5108 mpred = vm_radix_iter_lookup_le(&pages, pindex); in vm_page_grab_zero_partial()
5110 vm_page_grab_pflags(allocflags), mpred); in vm_page_grab_zero_partial()
5220 vm_page_t m, mpred; in vm_page_grab_pages() local
5236 mpred = m; in vm_page_grab_pages()
5239 mpred = TAILQ_PREV(m, pglist, listq); in vm_page_grab_pages()
5252 pflags | VM_ALLOC_COUNT(count - i), mpred); in vm_page_grab_pages()
5267 ma[i] = mpred = m; in vm_page_grab_pages()