Lines Matching defs:last_page
84 blk->last_page = get_aligned_page(blk->mem.offset + blk->mem.size - 1);
85 blk->pages = blk->last_page - blk->first_page + 1;
152 for (pg = blk->first_page; pg <= blk->last_page; pg++) {
188 for (pg = blk->first_page; pg <= blk->last_page; pg++) {
214 page = blk->last_page + 1;
325 for (page = blk->first_page; page <= blk->last_page; page++, idx++) {
455 int first_page, last_page;
459 if (q->last_page == first_page)
462 last_page = blk->last_page;
465 if (q->first_page == last_page)
466 last_page--; /* last page was already allocated */
469 *last_page_ret = last_page;
474 int last_page)
482 for (page = first_page; page <= last_page; page++) {
507 int page, first_page, last_page;
511 get_single_page_range(emu->memhdr, blk, &first_page, &last_page);
513 for (page = first_page; page <= last_page; page++) {
528 last_page = page - 1;
529 __synth_free_pages(emu, first_page, last_page);
539 int first_page, last_page;
541 get_single_page_range(emu->memhdr, blk, &first_page, &last_page);
542 __synth_free_pages(emu, first_page, last_page);