Lines Matching refs:lastpg
2105 int pg, firstpg, lastpg, dirtypg;
2106 dirtypg = firstpg = lastpg = -1;
2112 lastpg = pg;
2131 if (((dirtypg > firstpg) && (dirtypg < lastpg)) ||
2132 (((firstpg*PAGE_SIZE) < bp->nb_dirtyend) && (((lastpg+1)*PAGE_SIZE) > bp->nb_dirtyoff))) {
2151 (lastpg - firstpg + 1) > (biosize/PAGE_SIZE)/2) {
2167 ((lastpg - firstpg + 1) * PAGE_SIZE));
2188 for (pg=firstpg; pg <= lastpg; pg++)
2285 int iomode, doff, dend, firstpg, lastpg;
2408 lastpg = (trunc_page_32(dend) - 1) / PAGE_SIZE;
2410 pagemask = ((1 << (lastpg + 1)) - 1) & ~((1 << firstpg) - 1);
2497 int firstpg, lastpg;
2508 lastpg = (trunc_page_32(bp->nb_endio) - 1) / PAGE_SIZE;
2510 pagemask = ((1 << (lastpg + 1)) - 1) & ~((1 << firstpg) - 1);