Lines Matching refs:last_page
90 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1);
91 blk->pages = blk->last_page - blk->first_page + 1;
154 for (pg = blk->first_page; pg <= blk->last_page; pg++) {
190 for (pg = blk->first_page; pg <= blk->last_page; pg++) {
216 page = blk->last_page + 1;
325 for (page = blk->first_page; page <= blk->last_page; page++, idx++) {
424 int first_page, last_page;
428 if (q->last_page == first_page)
431 last_page = blk->last_page;
434 if (q->first_page == last_page)
435 last_page--; /* last page was already allocated */
438 *last_page_ret = last_page;
443 int last_page)
447 for (page = first_page; page <= last_page; page++) {
459 int page, first_page, last_page;
462 get_single_page_range(emu->memhdr, blk, &first_page, &last_page);
464 for (page = first_page; page <= last_page; page++) {
491 int first_page, last_page;
493 get_single_page_range(emu->memhdr, blk, &first_page, &last_page);
494 __synth_free_pages(emu, first_page, last_page);