Searched refs:curobjs (Results 1 – 5 of 5) sorted by relevance
37 quarantine->curobjs = 0; in quarantine_init()75 ret->curobjs = quarantine->curobjs; in quarantine_grow()76 if (quarantine->first + quarantine->curobjs <= (ZU(1) << in quarantine_grow()80 quarantine->curobjs * sizeof(quarantine_obj_t)); in quarantine_grow()85 size_t ncopy_b = quarantine->curobjs - ncopy_a; in quarantine_grow()105 quarantine->curobjs--; in quarantine_drain_one()114 while (quarantine->curbytes > upper_bound && quarantine->curobjs > 0) in quarantine_drain()141 if (quarantine->curobjs == (ZU(1) << quarantine->lg_maxobjs)) in quarantine()144 assert(quarantine->curobjs < (ZU(1) << quarantine->lg_maxobjs)); in quarantine()147 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()1052 tdata->cnt_summed.curobjs += tctx->dump_cnts.curobjs; in prof_tctx_merge_tdata()1072 gctx->cnt_summed.curobjs += tctx->dump_cnts.curobjs; in prof_tctx_merge_gctx()1115 "%"FMTu64"]\n", tctx->thr_uid, tctx->dump_cnts.curobjs, in prof_tctx_dump_iter()1179 if (gctx->cnt_summed.curobjs != 0) in prof_gctx_merge_iter()1249 cnt_all->curobjs += tdata->cnt_summed.curobjs; in prof_tdata_merge_iter()[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()