Searched refs:tcache_ind (Results 1 – 3 of 3) sorted by relevance
/external/jemalloc_new/test/unit/ |
D | decay.c | 328 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()
|
/external/jemalloc_new/src/ |
D | jemalloc.c | 1671 unsigned tcache_ind; member 1682 dynamic_opts->tcache_ind = TCACHE_IND_AUTOMATIC; 1694 if (dopts->tcache_ind == TCACHE_IND_AUTOMATIC) { 1702 } else if (dopts->tcache_ind == TCACHE_IND_NONE) { 1705 tcache = tcaches_get(tsd, dopts->tcache_ind); 1875 assert(dopts->tcache_ind == TCACHE_IND_AUTOMATIC || 1876 dopts->tcache_ind == TCACHE_IND_NONE); 1878 dopts->tcache_ind = TCACHE_IND_NONE; 2592 dopts.tcache_ind = TCACHE_IND_NONE; 2594 dopts.tcache_ind = MALLOCX_TCACHE_GET(flags); [all …]
|
D | ctl.c | 1863 unsigned tcache_ind; in tcache_create_ctl() local 1866 if (tcaches_create(tsd, &tcache_ind)) { in tcache_create_ctl() 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() [all …]
|