Lines Matching refs:allocsize
152 long indx, npg, allocsize;
193 allocsize = round_page(size);
195 allocsize = 1 << indx;
213 ksp->ks_memuse += allocsize; /* account for this early */
218 npg = atop(round_page(allocsize));
241 ksp->ks_memuse -= allocsize;
242 wake = ksp->ks_memuse + allocsize >= ksp->ks_limit &&
259 if (allocsize > MAXALLOCSAVE) {
267 cp = va + (npg * PAGE_SIZE) - allocsize;
275 poison_mem(cp, allocsize);
282 cp -= allocsize;
320 if (poison_check(va, allocsize, &pidx, &pval)) {