Searched refs:totpages (Results 1 – 1 of 1) sorted by relevance
636 pgcnt_t oelems, nelems, totpages; in anon_grow() local654 totpages = oldamp_pgs - startidx + newseg_pgs; in anon_grow()656 totpages = startidx + oldseg_pgs + newseg_pgs; in anon_grow()660 if (oldamp_pgs >= totpages) { in anon_grow()662 *startidx_p = oldamp_pgs - totpages; in anon_grow()673 if (totpages <= ANON_CHUNK_SIZE || (ahp->flags & ANON_ALLOC_FORCE)) { in anon_grow()674 newamp_pgs = P2ROUNDUP(totpages, ANON_1_LEVEL_INC); in anon_grow()678 newamp_pgs = P2ROUNDUP(totpages, ANON_2_LEVEL_INC); in anon_grow()728 *startidx_p = newamp_pgs - totpages; in anon_grow()