Home | History | Annotate | Download | only in unit

Lines Matching defs:nmalloc

35 	uint64_t nmalloc, ndalloc, nrequests;
50 expect_d_eq(mallctl("stats.arenas.0.large.nmalloc", (void *)&nmalloc,
61 expect_u64_ge(nmalloc, ndalloc,
62 "nmalloc should be at least as large as ndalloc");
63 expect_u64_le(nmalloc, nrequests,
64 "nmalloc should no larger than nrequests");
150 uint64_t epoch, nmalloc, ndalloc, nrequests;
169 expect_d_eq(mallctl("stats.arenas.0.small.nmalloc", (void *)&nmalloc,
180 expect_u64_gt(nmalloc, 0,
181 "nmalloc should be no greater than zero");
182 expect_u64_ge(nmalloc, ndalloc,
183 "nmalloc should be at least as large as ndalloc");
195 uint64_t epoch, nmalloc, ndalloc;
209 expect_d_eq(mallctl("stats.arenas.0.large.nmalloc", (void *)&nmalloc,
217 expect_u64_gt(nmalloc, 0,
218 "nmalloc should be greater than zero");
219 expect_u64_ge(nmalloc, ndalloc,
220 "nmalloc should be at least as large as ndalloc");
235 uint64_t epoch, nmalloc, ndalloc, nrequests, nfills, nflushes;
263 gen_mallctl_str(cmd, "nmalloc", arena_ind);
264 expect_d_eq(mallctl(cmd, (void *)&nmalloc, &sz, NULL, 0), expected,
300 expect_u64_gt(nmalloc, 0,
301 "nmalloc should be greater than zero");
302 expect_u64_ge(nmalloc, ndalloc,
303 "nmalloc should be at least as large as ndalloc");
328 uint64_t epoch, nmalloc, ndalloc;
343 expect_d_eq(mallctl("stats.arenas.0.lextents.0.nmalloc",
344 (void *)&nmalloc, &sz, NULL, 0), expected,
355 expect_u64_gt(nmalloc, 0,
356 "nmalloc should be greater than zero");
357 expect_u64_ge(nmalloc, ndalloc,
358 "nmalloc should be at least as large as ndalloc");