Searched refs:curobjs (Results 1 – 5 of 5) sorted by relevance
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 …]
232 tctx->cnts.curobjs++; in prof_malloc_sample_object()247 assert(tctx->cnts.curobjs > 0); in prof_free_sampled_object()249 tctx->cnts.curobjs--; in prof_free_sampled_object()616 if (tctx->cnts.curobjs != 0) in prof_tctx_should_destroy()644 assert(tctx->cnts.curobjs == 0); in prof_tctx_destroy()1051 tdata->cnt_summed.curobjs += tctx->dump_cnts.curobjs; in prof_tctx_merge_tdata()1071 gctx->cnt_summed.curobjs += tctx->dump_cnts.curobjs; in prof_tctx_merge_gctx()1178 if (gctx->cnt_summed.curobjs != 0) in prof_gctx_merge_iter()1248 cnt_all->curobjs += tdata->cnt_summed.curobjs; in prof_tdata_merge_iter()1321 assert(gctx->cnt_summed.curobjs == 0); in prof_dump_gctx()[all …]
21 size_t curobjs; member
75 uint64_t curobjs; member
127 assert_u64_eq(cnt_all_copy.curobjs, 1, "Expected 1 allocation"); in TEST_BEGIN()133 assert_u64_eq(cnt_all_copy.curobjs, 0, "Expected 0 allocations"); in TEST_BEGIN()