Home
last modified time | relevance | path

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

/external/jemalloc/test/unit/
Ddecay.c172 unsigned tcache_ind, i; in TEST_BEGIN() local
178 assert_d_eq(mallctl("tcache.create", (void *)&tcache_ind, &sz, in TEST_BEGIN()
186 p = mallocx(sz, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN()
193 dallocx(p, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN()
196 (void *)&tcache_ind, sizeof(unsigned)), 0, in TEST_BEGIN()
/external/jemalloc/src/
Dctl.c1474 unsigned tcache_ind; in tcache_create_ctl() local
1480 if (tcaches_create(tsd, &tcache_ind)) { in tcache_create_ctl()
1484 READ(tcache_ind, unsigned); in tcache_create_ctl()
1496 unsigned tcache_ind; in tcache_flush_ctl() local
1502 tcache_ind = UINT_MAX; in tcache_flush_ctl()
1503 WRITE(tcache_ind, unsigned); in tcache_flush_ctl()
1504 if (tcache_ind == UINT_MAX) { in tcache_flush_ctl()
1508 tcaches_flush(tsd, tcache_ind); in tcache_flush_ctl()
1520 unsigned tcache_ind; in tcache_destroy_ctl() local
1526 tcache_ind = UINT_MAX; in tcache_destroy_ctl()
[all …]