Lines Matching refs:mnew
2014 vm_page_replace_hold(vm_page_t mnew, vm_object_t object, vm_pindex_t pindex, in vm_page_replace_hold() argument
2022 KASSERT(mnew->object == NULL && (mnew->ref_count & VPRC_OBJREF) == 0, in vm_page_replace_hold()
2023 ("vm_page_replace: page %p already in object", mnew)); in vm_page_replace_hold()
2031 mnew->object = object; in vm_page_replace_hold()
2032 mnew->pindex = pindex; in vm_page_replace_hold()
2033 atomic_set_int(&mnew->ref_count, VPRC_OBJREF); in vm_page_replace_hold()
2034 mret = vm_radix_replace(&object->rtree, mnew); in vm_page_replace_hold()
2038 (mnew->oflags & VPO_UNMANAGED), in vm_page_replace_hold()
2042 TAILQ_INSERT_AFTER(&object->memq, mold, mnew, listq); in vm_page_replace_hold()
2051 if (pmap_page_is_write_mapped(mnew)) in vm_page_replace_hold()
2060 vm_page_replace(vm_page_t mnew, vm_object_t object, vm_pindex_t pindex, in vm_page_replace() argument
2064 vm_page_assert_xbusied(mnew); in vm_page_replace()
2066 if (vm_page_replace_hold(mnew, object, pindex, mold)) in vm_page_replace()