Searched refs:allocn (Results 1 – 1 of 1) sorted by relevance
971 size_t allocn, newn, len; in globextend() local978 allocn = pglob->gl_pathn; in globextend()981 if (newn <= allocn) { in globextend()986 if (allocn == 0) in globextend()987 allocn = pglob->gl_offs + INITIAL; in globextend()988 allocn *= 2; in globextend()991 allocn >= INT_MAX || in globextend()992 SIZE_MAX / sizeof (*pathv) <= allocn || in globextend()993 SIZE_MAX / sizeof (*statv) <= allocn) { in globextend()1014 limitp->glim_malloc += allocn * sizeof (*pathv); in globextend()[all …]