Lines Matching refs:NALLOCS
76 size_t nallocs, edata_list_active_t *results,
82 for (size_t i = 0; i < nallocs; i++) {
94 return nallocs;
174 enum { NALLOCS = 11 };
175 edata_t *one_page[NALLOCS];
176 edata_t *two_page[NALLOCS];
179 /* max_bytes */ 2 * (NALLOCS * PAGE + NALLOCS * 2 * PAGE));
180 for (int i = 0; i < NALLOCS; i++) {
192 expect_zu_le(2 * NALLOCS, max_allocs,
200 for (int i = NALLOCS - 1; i >= 0; i--) {
204 for (int i = NALLOCS - 1; i >= 0; i--) {
216 for (int i = 0; i < NALLOCS; i++) {
245 * choice of NALLOCS here is chosen to match the batch allocation
251 enum { NALLOCS = 10 };
253 edata_t *allocs[NALLOCS];
256 /* max_bytes */ NALLOCS * PAGE);
257 for (int i = 0; i < NALLOCS; i++) {
268 expect_zu_le(NALLOCS + 1, max_allocs,
273 for (int i = 0; i < NALLOCS; i++) {
276 expect_zu_le(NALLOCS + 1, max_allocs,
292 expect_zu_eq(NALLOCS + 1, ta.dalloc_batch_count,
309 enum { NALLOCS = 11 };
310 edata_t *allocs[NALLOCS];
313 /* max_bytes */ NALLOCS * PAGE);
314 for (int i = 0; i < NALLOCS; i++) {
321 for (int i = 0; i < NALLOCS - 1; i++) {
326 expect_zu_le(NALLOCS, max_allocs, "Incorrect number of allocations");
340 expect_zu_le(NALLOCS - 1, ta.dalloc_batch_count,
348 pai_dalloc(tsdn, &sec.pai, allocs[NALLOCS - 1],