Searched refs:oldamp_pgs (Results 1 – 1 of 1) sorted by relevance
633 pgcnt_t oldamp_pgs = ahp->size, newamp_pgs; in anon_grow() local652 totpages = oldamp_pgs - startidx + newseg_pgs; in anon_grow()658 if (oldamp_pgs >= totpages) { in anon_grow()660 *startidx_p = oldamp_pgs - totpages; in anon_grow()661 return (oldamp_pgs); in anon_grow()673 oelems = oldamp_pgs; in anon_grow()677 oelems = (oldamp_pgs + ANON_CHUNK_OFF) >> ANON_CHUNK_SHIFT; in anon_grow()688 if (newamp_pgs > ANON_CHUNK_SIZE && oldamp_pgs <= ANON_CHUNK_SIZE && in anon_grow()696 if (oldamp_pgs == ANON_CHUNK_SIZE) { in anon_grow()704 oldarrsz = oldamp_pgs * sizeof (void *); in anon_grow()