PG_ANON
if (pg->uobject == NULL && (pg->flags & PG_ANON) == 0) {
pg->flags |= PG_ANON;
KASSERT((oldpg->flags & PG_ANON) != 0);
oldpg->flags &= ~PG_ANON;
KASSERT((oldpg->pqflags & PG_ANON) == 0);
newpg->flags |= PG_ANON;
if (pg && (pg->flags & PG_ANON) != 0 && anon->an_ref == 1) {
(pg->flags & PG_ANON) == 0) {
pg->flags |= PG_ANON;
pg->flags |= PG_ANON;
if ((pg->flags & PG_ANON) == 0) {
pg->flags &= ~PG_ANON;
if (pg->flags & PG_ANON) {
#define PG_STAT (PG_ANON|PG_AOBJ|PG_FILE)
#define PG_SWAPBACKED (PG_ANON|PG_AOBJ)
if (pg->uobject == NULL && (pg->flags & PG_ANON) == 0) {
pg->flags |= PG_ANON;
if ((pg->flags & PG_ANON) && anon->an_swslot) {