Home
last modified time | relevance | path

Searched refs:tcache_ind (Results 1 – 3 of 3) sorted by relevance

/f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/
H A Ddecay.c328 unsigned tcache_ind, i; in TEST_BEGIN() local
339 assert_d_eq(mallctl("tcache.create", (void *)&tcache_ind, &sz, in TEST_BEGIN()
347 p = mallocx(sz, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN()
354 dallocx(p, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN()
357 (void *)&tcache_ind, sizeof(unsigned)), 0, in TEST_BEGIN()
/f-stack/app/redis-5.0.5/deps/jemalloc/src/
H A Djemalloc.c1655 unsigned tcache_ind; member
1666 dynamic_opts->tcache_ind = TCACHE_IND_AUTOMATIC; in dynamic_opts_init()
1678 if (dopts->tcache_ind == TCACHE_IND_AUTOMATIC) { in imalloc_no_sample()
1686 } else if (dopts->tcache_ind == TCACHE_IND_NONE) { in imalloc_no_sample()
1689 tcache = tcaches_get(tsd, dopts->tcache_ind); in imalloc_no_sample()
1859 assert(dopts->tcache_ind == TCACHE_IND_AUTOMATIC || in imalloc_body()
1860 dopts->tcache_ind == TCACHE_IND_NONE); in imalloc_body()
1862 dopts->tcache_ind = TCACHE_IND_NONE; in imalloc_body()
2576 dopts.tcache_ind = TCACHE_IND_NONE; in JEMALLOC_ATTR()
2578 dopts.tcache_ind = MALLOCX_TCACHE_GET(flags); in JEMALLOC_ATTR()
[all …]
H A Dctl.c1863 unsigned tcache_ind; in tcache_create_ctl() local
1870 READ(tcache_ind, unsigned); in tcache_create_ctl()
1881 unsigned tcache_ind; in tcache_flush_ctl() local
1884 tcache_ind = UINT_MAX; in tcache_flush_ctl()
1885 WRITE(tcache_ind, unsigned); in tcache_flush_ctl()
1886 if (tcache_ind == UINT_MAX) { in tcache_flush_ctl()
1890 tcaches_flush(tsd, tcache_ind); in tcache_flush_ctl()
1901 unsigned tcache_ind; in tcache_destroy_ctl() local
1904 tcache_ind = UINT_MAX; in tcache_destroy_ctl()
1905 WRITE(tcache_ind, unsigned); in tcache_destroy_ctl()
[all …]