| /src/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
| tcache_inlines.h | 32 size_t tcache_max = sz_index2size(tcache_nbins_get(tcache_slow) - 1); local 33 assert(tcache_max <= TCACHE_MAXCLASS_LIMIT); 34 return tcache_max; 38 tcache_max_set(tcache_slow_t *tcache_slow, size_t tcache_max) { 40 assert(tcache_max <= TCACHE_MAXCLASS_LIMIT); 41 tcache_slow->tcache_nbins = sz_size2index(tcache_max) + 1;
|
| /src/external/bsd/jemalloc/include/jemalloc/internal/ |
| tcache_inlines.h | 32 size_t tcache_max = sz_index2size(tcache_nbins_get(tcache_slow) - 1); local 33 assert(tcache_max <= TCACHE_MAXCLASS_LIMIT); 34 return tcache_max; 38 tcache_max_set(tcache_slow_t *tcache_slow, size_t tcache_max) { 40 assert(tcache_max <= TCACHE_MAXCLASS_LIMIT); 41 tcache_slow->tcache_nbins = sz_size2index(tcache_max) + 1;
|
| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| tcache_max.c | 22 static size_t tcache_max; variable 89 /* No change is expected if usize is outside of tcache_max range. */ 90 bool cached = (usize <= tcache_max); 128 sz = sizeof(tcache_max); 129 assert_d_eq(mallctl("arenas.tcache_max", (void *)&tcache_max, 132 /* opt.tcache_max set to 1024 in tcache_max.sh */ 133 expect_zu_eq(tcache_max, 1024, "tcache_max not expected") [all...] |
| arena_decay.c | 179 size_t tcache_max, sz_tcache_max; local 180 sz_tcache_max = sizeof(tcache_max); 181 expect_d_eq(mallctl("arenas.tcache_max", (void *)&tcache_max,
|
| mallctl.c | 311 TEST_MALLCTL_OPT(size_t, tcache_max, always); 1048 size_t tcache_max; local 1049 sz = sizeof(tcache_max); 1050 err = mallctl("arenas.tcache_max", &tcache_max, &sz, NULL, 0); 1052 test_skip_if(tcache_max == 0);
|
| /src/external/bsd/jemalloc/dist/test/unit/ |
| ncached_max.c | 5 "tcache_ncached_max:256-1024:1001|2048-2048:0|8192-8192:1,tcache_max:4096"; 154 * resetting tcache_max. The ncached_max changes should stay. 156 size_t tcache_max = 1024; local 158 (void *)&tcache_max, sizeof(size_t)), 169 tcache_max = 6144; 171 (void *)&tcache_max, sizeof(size_t)),
|
| arena_decay.c | 181 size_t tcache_max, sz_tcache_max; local 182 sz_tcache_max = sizeof(tcache_max); 183 expect_d_eq(mallctl("arenas.tcache_max", (void *)&tcache_max,
|
| tcache_max.c | 94 test_tcache_bytes_alloc(size_t alloc_size, size_t tcache_max, 100 /* No change is expected if usize is outside of tcache_max range. */ 101 bool cached = (usize <= tcache_max); 140 size_t tcache_max, sz; local 141 sz = sizeof(tcache_max); 143 assert_d_eq(mallctl("arenas.tcache_max", (void *)&tcache_max, 146 expect_zu_eq(tcache_max, target_tcache_max, 147 "Global tcache_max not expected"); 149 assert_d_eq(mallctl("thread.tcache.max", (void *)&tcache_max, [all...] |
| mallctl.c | 337 TEST_MALLCTL_OPT(size_t, tcache_max, always); 1311 size_t tcache_max; local 1312 sz = sizeof(tcache_max); 1313 err = mallctl("arenas.tcache_max", &tcache_max, &sz, NULL, 0); 1315 test_skip_if(tcache_max == 0);
|