Lines Matching refs:malloced
159 size_t malloced; member
294 mctx->malloced += sizeof(debuglink_t); in add_trace_entry()
295 if (mctx->malloced > mctx->maxmalloced) { in add_trace_entry()
296 mctx->maxmalloced = mctx->malloced; in add_trace_entry()
340 mctx->malloced -= sizeof(*dl); in delete_trace_entry()
391 ctx->malloced += table_size * sizeof(unsigned char *); in more_basic_blocks()
392 if (ctx->malloced > ctx->maxmalloced) { in more_basic_blocks()
393 ctx->maxmalloced = ctx->malloced; in more_basic_blocks()
400 ctx->malloced -= ctx->basic_table_size * in more_basic_blocks()
411 ctx->malloced += NUM_BASIC_BLOCKS * ctx->mem_target; in more_basic_blocks()
412 if (ctx->malloced > ctx->maxmalloced) { in more_basic_blocks()
413 ctx->maxmalloced = ctx->malloced; in more_basic_blocks()
505 ctx->malloced += size; in mem_getunlocked()
506 if (ctx->malloced > ctx->maxmalloced) { in mem_getunlocked()
507 ctx->maxmalloced = ctx->malloced; in mem_getunlocked()
588 ctx->malloced -= size; in mem_putunlocked()
681 ctx->malloced += size; in mem_getstats()
682 if (ctx->malloced > ctx->maxmalloced) { in mem_getstats()
683 ctx->maxmalloced = ctx->malloced; in mem_getstats()
707 ctx->malloced -= size; in mem_putstats()
800 ctx->malloced = sizeof(*ctx); in mem_create()
833 ctx->malloced += (ctx->max_size + 1) * sizeof(struct stats); in mem_create()
841 ctx->malloced += ctx->max_size * sizeof(element *); in mem_create()
854 ctx->malloced += DEBUG_TABLE_COUNT * sizeof(debuglist_t); in mem_create()
898 ctx->malloced -= sizeof(*dl); in destroy()
903 ctx->malloced -= DEBUG_TABLE_COUNT * sizeof(debuglist_t); in destroy()
924 ctx->malloced -= (ctx->max_size + 1) * sizeof(struct stats); in destroy()
929 ctx->malloced -= NUM_BASIC_BLOCKS * ctx->mem_target; in destroy()
932 ctx->malloced -= ctx->max_size * sizeof(element *); in destroy()
935 ctx->malloced -= ctx->basic_table_size * in destroy()
942 ctx->malloced -= sizeof(*ctx); in destroy()
944 INSIST(ctx->malloced == 0); in destroy()
2038 uint64_t malloced; member
2105 summary->malloced += ctx->malloced; in xml_renderctx()
2108 (uint64_t)ctx->malloced)); in xml_renderctx()
2193 summary.malloced)); in isc_mem_renderxml()
2237 summary->malloced += ctx->malloced; in json_renderctx()
2280 obj = json_object_new_int64(ctx->malloced); in json_renderctx()
2351 obj = json_object_new_int64(summary.malloced); in isc_mem_renderjson()