Lines Matching refs:page

49 // round up the size to the next page size boundary and make sure we dont wrap
98 // make sure size is page aligned
124 // make sure size is page aligned
213 vm_page_t* page = paddr_to_vm_page(pa);
214 ASSERT(page);
216 if (page->state == VM_PAGE_STATE_WIRED) {
218 } else if (page->state == VM_PAGE_STATE_FREE) {
221 page->state = VM_PAGE_STATE_WIRED;
223 panic("page used to back static vmo in unusable state: paddr %#" PRIxPTR " state %u\n", pa,
224 page->state);
229 vmo2->AddPage(page, count * PAGE_SIZE);
244 // make sure size is page aligned
312 printf("offset %#" PRIx64 " page %p paddr %#" PRIxPTR "\n", offset, p, p->paddr());
349 LTRACEF("vmo %p, offset %#" PRIx64 ", page %p (%#" PRIxPTR ")\n", this, offset, p, p->paddr());
368 // Looks up the page at the requested offset, faulting it in if requested and necessary. If
369 // this VMO has a parent and the requested page isn't found, the parent will be searched.
387 // see if we already have a page at that offset
403 // if we have a parent see if they have a page for us
415 // we have a page from them. if we're read-only faulting, return that page so they can map
425 LTRACEF("read only faulting in page %p, pa %#" PRIxPTR " from parent\n", p, pa);
430 // if we're write faulting, we need to clone it and return the new page
456 // add the new page and return it
460 LTRACEF("copy-on-write faulted in page %p, pa %#" PRIxPTR " copied from %p, pa %#" PRIxPTR "\n",
474 // if we're not being asked to sw or hw fault in the page, return not found
479 // if we're read faulting, we don't already have a page, and the parent doesn't have it,
480 // return the single global zero page
482 LTRACEF("returning the zero page\n");
492 // allocate a page
511 // if ARM and not fully cached, clean/invalidate the page after zeroing it
524 LTRACEF("faulted in page %p, pa %#" PRIxPTR "\n", p, pa);
557 // compute a page aligned end to do our searches in to make sure we cover all the pages
596 // Don't commit if we already have this page
602 // Check if our parent has the page
648 // figure the starting and ending page offset
766 "Tried to unpin an uncommitted page");
804 // round up the size to the next page size boundary and make sure we dont wrap
837 // figure the starting and ending page offset that is affected
861 // offset must be page aligned
905 // fault in the page
914 // compute the kernel mapping of this page
989 // If some page was missing from our list, run the more expensive
1121 // Offset at the end of the current page.
1124 // This cache op will either terminate at the end of the current page or
1132 // lookup the physical address of the page, careful not to fault in a new one
1137 // Convert the page address to a Kernel virtual address.
1143 // Perform the necessary cache op against this page.