Searched refs:tcache_ind (Results 1 – 2 of 2) sorted by relevance
/external/jemalloc/test/unit/ |
D | decay.c | 164 unsigned tcache_ind, i; in TEST_BEGIN() local 170 assert_d_eq(mallctl("tcache.create", &tcache_ind, &sz, NULL, 0), in TEST_BEGIN() 178 p = mallocx(sz, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN() 185 dallocx(p, MALLOCX_TCACHE(tcache_ind)); in TEST_BEGIN() 188 &tcache_ind, sizeof(unsigned)), 0, in TEST_BEGIN()
|
/external/jemalloc/src/ |
D | ctl.c | 1473 unsigned tcache_ind; in tcache_create_ctl() local 1482 if (tcaches_create(tsd, &tcache_ind)) { in tcache_create_ctl() 1486 READ(tcache_ind, unsigned); in tcache_create_ctl() 1500 unsigned tcache_ind; in tcache_flush_ctl() local 1508 tcache_ind = UINT_MAX; in tcache_flush_ctl() 1509 WRITE(tcache_ind, unsigned); in tcache_flush_ctl() 1510 if (tcache_ind == UINT_MAX) { in tcache_flush_ctl() 1514 tcaches_flush(tsd, tcache_ind); in tcache_flush_ctl() 1527 unsigned tcache_ind; in tcache_destroy_ctl() local 1535 tcache_ind = UINT_MAX; in tcache_destroy_ctl() [all …]
|