Lines Matching refs:page
19 // iter->page is index of page containing buf->vmo_offset,
20 // and iter->last_page is index of page containing buf->vmo_offset + buf->length
21 iter->page = 0;
41 zx_paddr_t phys = phys_addrs[iter->page];
49 // end on a page boundary
57 // if vmo_offset is unaligned we need to adjust out_paddr, accumulate partial page length
58 // in return_length and skip to next page.
59 // we will make sure the range ends on a page boundary so we don't need to worry about
64 iter->page = 1;
66 if (iter->page > iter->last_page || phys + PAGE_SIZE != phys_addrs[iter->page]) {
70 phys = phys_addrs[iter->page];
79 while (remaining > 0 && iter->page <= iter->last_page) {
86 iter->page++;
88 if (iter->page > iter->last_page) {
92 zx_paddr_t next = phys_addrs[iter->page];