Home
last modified time | relevance | path

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

/freebsd/contrib/jemalloc/src/
H A Djemalloc.c1898 unsigned tcache_ind; member
1910 dynamic_opts->tcache_ind = TCACHE_IND_AUTOMATIC; in dynamic_opts_init()
1922 if (dopts->tcache_ind == TCACHE_IND_AUTOMATIC) { in imalloc_no_sample()
1930 } else if (dopts->tcache_ind == TCACHE_IND_NONE) { in imalloc_no_sample()
1933 tcache = tcaches_get(tsd, dopts->tcache_ind); in imalloc_no_sample()
2106 assert(dopts->tcache_ind == TCACHE_IND_AUTOMATIC || in imalloc_body()
2107 dopts->tcache_ind == TCACHE_IND_NONE); in imalloc_body()
2109 dopts->tcache_ind = TCACHE_IND_NONE; in imalloc_body()
3057 dopts.tcache_ind = TCACHE_IND_NONE; in JEMALLOC_SMALLOCX_CONCAT_HELPER2()
3059 dopts.tcache_ind = MALLOCX_TCACHE_GET(flags); in JEMALLOC_SMALLOCX_CONCAT_HELPER2()
[all …]
H A Dctl.c1977 unsigned tcache_ind; in tcache_create_ctl() local
1980 if (tcaches_create(tsd, &tcache_ind)) { in tcache_create_ctl()
1984 READ(tcache_ind, unsigned); in tcache_create_ctl()
1995 unsigned tcache_ind; in tcache_flush_ctl() local
1998 tcache_ind = UINT_MAX; in tcache_flush_ctl()
1999 WRITE(tcache_ind, unsigned); in tcache_flush_ctl()
2000 if (tcache_ind == UINT_MAX) { in tcache_flush_ctl()
2004 tcaches_flush(tsd, tcache_ind); in tcache_flush_ctl()
2015 unsigned tcache_ind; in tcache_destroy_ctl() local
2018 tcache_ind = UINT_MAX; in tcache_destroy_ctl()
[all …]