Lines Matching defs:pg
83 struct vm_page *pg, *pgnext;
104 for (pg = mlistp->tqh_first; pg != NULL; pg = pg->pageq.queue.tqe_next) {
105 pa = VM_PAGE_TO_PHYS(pg);
140 pg = NULL;
145 for (pg = mlistp->tqh_first, i = 0; pg != NULL; pg = pgnext, i++) {
146 pgnext = pg->pageq.queue.tqe_next;
147 pa = VM_PAGE_TO_PHYS(pg);
155 for (pg = mlistp->tqh_first, i = 0; pg != NULL; pg = pgnext, i++) {
156 pgnext = pg->pageq.queue.tqe_next;
158 TAILQ_REMOVE(mlistp, pg, pageq.queue);
159 uvm_pagefree(pg);
170 * if increase_reservation failed, we expect pg to be NULL and we just
174 for (; pg != NULL; pg = pgnext) {
175 pgnext = pg->pageq.queue.tqe_next;
176 TAILQ_REMOVE(mlistp, pg, pageq.queue);
177 uvm_pagefree(pg);
181 for (pg = mlistp->tqh_first; pg != NULL; pg = pgnext) {
182 pgnext = pg->pageq.queue.tqe_next;
194 pa = VM_PAGE_TO_PHYS(pg);
199 TAILQ_REMOVE(mlistp, pg, pageq.queue);
200 uvm_pagefree(pg);