Searched refs:curobjs (Results 1 – 9 of 9) sorted by relevance
/external/jemalloc/src/ |
D | quarantine.c | 35 quarantine->curobjs = 0; in quarantine_init() 73 ret->curobjs = quarantine->curobjs; in quarantine_grow() 74 if (quarantine->first + quarantine->curobjs <= (ZU(1) << in quarantine_grow() 78 quarantine->curobjs * sizeof(quarantine_obj_t)); in quarantine_grow() 83 size_t ncopy_b = quarantine->curobjs - ncopy_a; in quarantine_grow() 103 quarantine->curobjs--; in quarantine_drain_one() 112 while (quarantine->curbytes > upper_bound && quarantine->curobjs > 0) in quarantine_drain() 139 if (quarantine->curobjs == (ZU(1) << quarantine->lg_maxobjs)) in quarantine() 142 assert(quarantine->curobjs < (ZU(1) << quarantine->lg_maxobjs)); in quarantine() 145 size_t offset = (quarantine->first + quarantine->curobjs) & in quarantine() [all …]
|
D | prof.c | 233 tctx->cnts.curobjs++; in prof_malloc_sample_object() 248 assert(tctx->cnts.curobjs > 0); in prof_free_sampled_object() 250 tctx->cnts.curobjs--; in prof_free_sampled_object() 619 if (tctx->cnts.curobjs != 0) in prof_tctx_should_destroy() 648 assert(tctx->cnts.curobjs == 0); in prof_tctx_destroy() 1058 tdata->cnt_summed.curobjs += tctx->dump_cnts.curobjs; in prof_tctx_merge_tdata() 1079 gctx->cnt_summed.curobjs += tctx->dump_cnts.curobjs; in prof_tctx_merge_gctx() 1131 "%"FMTu64"]\n", tctx->thr_uid, tctx->dump_cnts.curobjs, in prof_tctx_dump_iter() 1204 if (gctx->cnt_summed.curobjs != 0) in prof_gctx_merge_iter() 1282 arg->cnt_all.curobjs += tdata->cnt_summed.curobjs; in prof_tdata_merge_iter() [all …]
|
/external/jemalloc_new/src/ |
D | prof.c | 246 tctx->cnts.curobjs++; in prof_malloc_sample_object() 259 assert(tctx->cnts.curobjs > 0); in prof_free_sampled_object() 261 tctx->cnts.curobjs--; in prof_free_sampled_object() 620 if (tctx->cnts.curobjs != 0) { in prof_tctx_should_destroy() 651 assert(tctx->cnts.curobjs == 0); in prof_tctx_destroy() 1071 tdata->cnt_summed.curobjs += tctx->dump_cnts.curobjs; in prof_tctx_merge_tdata() 1090 gctx->cnt_summed.curobjs += tctx->dump_cnts.curobjs; in prof_tctx_merge_gctx() 1140 "%"FMTu64"]\n", tctx->thr_uid, tctx->dump_cnts.curobjs, in prof_tctx_dump_iter() 1210 if (gctx->cnt_summed.curobjs != 0) { in prof_gctx_merge_iter() 1290 arg->cnt_all.curobjs += tdata->cnt_summed.curobjs; in prof_tdata_merge_iter() [all …]
|
/external/jemalloc_new/test/unit/ |
D | prof_reset.c | 115 assert_u64_eq(cnt_all_copy.curobjs, 1, "Expected 1 allocation"); in TEST_BEGIN() 121 assert_u64_eq(cnt_all_copy.curobjs, 0, "Expected 0 allocations"); in TEST_BEGIN()
|
/external/jemalloc/test/unit/ |
D | prof_reset.c | 129 assert_u64_eq(cnt_all_copy.curobjs, 1, "Expected 1 allocation"); in TEST_BEGIN() 135 assert_u64_eq(cnt_all_copy.curobjs, 0, "Expected 0 allocations"); in TEST_BEGIN()
|
/external/jemalloc/include/jemalloc/internal/ |
D | quarantine.h | 21 size_t curobjs; member
|
D | prof.h | 75 uint64_t curobjs; member
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | prof_structs.h | 34 uint64_t curobjs; member
|
D | prof_externs.h | 62 void prof_cnt_all(uint64_t *curobjs, uint64_t *curbytes, uint64_t *accumobjs,
|