Home
last modified time | relevance | path

Searched refs:curobjs (Results 1 – 5 of 5) sorted by relevance

/external/jemalloc/src/
Dquarantine.c35 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 …]
Dprof.c233 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/test/unit/
Dprof_reset.c129 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/
Dquarantine.h21 size_t curobjs; member
Dprof.h75 uint64_t curobjs; member