Lines Matching defs:anon
374 struct vm_anon *anon = pg->uanon;
376 KASSERT(anon != NULL);
377 slock = anon->an_lock;
396 struct vm_anon *anon = pg->uanon;
399 if ((pg->pg_flags & PQ_ANON) && anon->an_swslot) {
400 uvm_swap_free(anon->an_swslot, 1);
401 anon->an_swslot = 0;
434 struct vm_anon *anon;
464 anon = NULL;
490 anon = p->uanon;
527 KASSERT(anon != NULL);
547 if (anon) {
554 KASSERT(anon->an_swslot != 0);
557 anon->an_page = NULL;
636 if (anon)
637 anon->an_swslot = swslot + swcpages;
787 KASSERT(anon != NULL);
790 * also zero out anon so we don't use
793 anon->an_page = NULL;
796 rw_exit(anon->an_lock);
797 uvm_anfree(anon); /* kills anon */
799 anon = NULL;