Home | History | Annotate | Download | only in unit

Lines Matching refs:NALLOCS

258 	enum {NALLOCS = 8};
260 edata_t *allocs[NALLOCS];
265 for (size_t i = 0; i < NALLOCS / 2; i++) {
273 size_t nsuccess = pai_alloc_batch(tsdn, &shard->pai, PAGE, NALLOCS / 2,
275 expect_zu_eq(NALLOCS / 2, nsuccess, "Unexpected oom");
276 for (size_t i = NALLOCS / 2; i < NALLOCS; i++) {
286 expect_contiguous(allocs, NALLOCS);
291 for (size_t i = 0; i < NALLOCS / 2; i++) {
296 for (size_t i = NALLOCS / 2; i < NALLOCS; i++) {
302 for (size_t i = 0; i < NALLOCS; i++) {
311 expect_contiguous(allocs, NALLOCS);