Lines Matching refs:sbrk
76 * is allocated via sbrk(). The new cache is allocated from this chunk of memory
83 * tunable, requestsize, that bumps up the sbrk allocation size and thus
820 * First, make sure sbrk is sane, and store the current brk in oldbrk.
822 oldbrk = (uintptr_t)sbrk(0);
824 abort(); /* sbrk is broken -- we're doomed. */
834 if (newbrk != oldbrk && (uintptr_t)sbrk(newbrk - oldbrk) != oldbrk)
835 abort(); /* sbrk is broken -- we're doomed. */
842 new_cpu_list = (percpu_t *)sbrk(cache_space_needed);
846 abort(); /* sbrk is broken -- we're doomed. */
857 if (padding > 0 && (uintptr_t)sbrk(padding) != newbrk)
858 abort(); /* sbrk is broken -- we're doomed. */
1177 ret = sbrk(0);
1180 if (sbrk(wad) == (void *)-1) {
1181 if (ret != sbrk(0))
1182 (void) sbrk(-LONG_MAX);
1189 ret = sbrk(bytes);