Lines Matching defs:newstatus
84 uvm_pagemarkdirty(struct vm_page *pg, unsigned int newstatus)
90 KASSERT((~newstatus & (PG_CLEAN|PG_DIRTY)) != 0);
91 KASSERT((newstatus & ~(PG_CLEAN|PG_DIRTY)) == 0);
96 if (oldstatus == newstatus) {
106 if (newstatus == UVM_PAGE_STATUS_CLEAN) {
120 if (newstatus == UVM_PAGE_STATUS_UNKNOWN) {
127 pg->flags |= newstatus;
138 CPU_COUNT(base + newstatus, +1);
177 * oldstatus or newstatus is UVM_PAGE_STATUS_UNKNOWN.
183 const unsigned int newstatus = pgprotected ?
188 if (newstatus == UVM_PAGE_STATUS_UNKNOWN) {
195 uvm_pagemarkdirty(pg, newstatus);