Lines Matching defs:anon
683 * Perform insert of a given page in the specified anon of obj.
688 struct vm_anon *anon)
692 KASSERT(obj == NULL || anon == NULL);
693 KASSERT(anon == NULL || off == 0);
697 KASSERT(anon == NULL || anon->an_lock == NULL ||
698 rw_write_held(anon->an_lock));
703 pg->uanon = anon;
705 if (anon) {
706 anon->an_page = pg;
877 * => only one of obj or anon can be non-null
881 uvm_pagealloc(struct uvm_object *obj, voff_t off, struct vm_anon *anon,
887 KASSERT(obj == NULL || anon == NULL);
888 KASSERT(anon == NULL || off == 0);
892 KASSERT(anon == NULL || anon->an_lock == NULL ||
893 rw_write_held(anon->an_lock));
911 uvm_pagealloc_pg(pg, obj, off, anon);
1028 * => if pages are anon-owned, anons must have 0 refcount.
1029 * => caller must make sure that anon-owned pages are not PG_RELEASED.