Home
last modified time | relevance | path

Searched refs:mpred (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/vm/
H A Dvm_reserv.c512 vm_page_t mpred, vm_page_t *msuccp) in vm_reserv_from_object() argument
518 if (mpred != NULL) { in vm_reserv_from_object()
519 KASSERT(mpred->object == object, in vm_reserv_from_object()
521 KASSERT(mpred->pindex < pindex, in vm_reserv_from_object()
523 rv = vm_reserv_from_page(mpred); in vm_reserv_from_object()
526 msucc = TAILQ_NEXT(mpred, listq); in vm_reserv_from_object()
623 int req, vm_page_t mpred, u_long npages, vm_paddr_t low, vm_paddr_t high, in vm_reserv_alloc_contig() argument
662 rv = vm_reserv_from_object(object, pindex, mpred, &msucc); in vm_reserv_alloc_contig()
709 if (mpred != NULL) { in vm_reserv_alloc_contig()
710 if ((rv = vm_reserv_from_page(mpred))->object != object) in vm_reserv_alloc_contig()
[all …]
H A Dvm_radix.h91 vm_page_t *mpred) in vm_radix_insert_lookup_lt() argument
95 error = VM_RADIX_PCTRIE_INSERT_LOOKUP_LE(&rtree->rt_trie, page, mpred); in vm_radix_insert_lookup_lt()
98 *mpred); in vm_radix_insert_lookup_lt()
H A Dvm_reserv.h49 int domain, int req, vm_page_t mpred, u_long npages,
53 int domain, int req, vm_page_t mpred);
H A Dvm_page.c166 int req, vm_page_t mpred);
178 vm_pindex_t pindex, vm_page_t mpred);
180 vm_page_t mpred);
1491 struct pctrie_iter *pages, bool iter, vm_page_t mpred, bool lookup) in vm_page_insert_lookup() argument
1514 error = vm_radix_insert_lookup_lt(&object->rtree, m, &mpred); in vm_page_insert_lookup()
1527 vm_page_insert_radixdone(m, object, mpred); in vm_page_insert_lookup()
1558 vm_page_t mpred) in vm_page_insert_after() argument
1560 return (vm_page_insert_lookup(m, object, pindex, NULL, false, mpred, in vm_page_insert_after()
1578 vm_pindex_t pindex, vm_page_t mpred) in vm_page_iter_insert() argument
1580 return (vm_page_insert_lookup(m, object, pindex, pages, true, mpred, in vm_page_iter_insert()
[all …]
H A Dvm_kern.c534 vm_page_t m, mpred; in kmem_back_domain() local
551 mpred = vm_radix_lookup_le(&object->rtree, atop(offset + i)); in kmem_back_domain()
552 for (; i < size; i += PAGE_SIZE, mpred = m) { in kmem_back_domain()
554 domain, pflags, mpred); in kmem_back_domain()
H A Dswap_pager.c1362 vm_page_t bm, mpred, msucc, p; in swap_pager_getpages_locked() local
1405 mpred = TAILQ_PREV(ma[0], pglist, listq); in swap_pager_getpages_locked()
1406 if (mpred != NULL && pindex - mpred->pindex - 1 < *rbehind) in swap_pager_getpages_locked()
1407 *rbehind = pindex - mpred->pindex - 1; in swap_pager_getpages_locked()