Home
last modified time | relevance | path

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

/optee_os/lib/libutils/isoc/
H A Dbget_malloc.c134 struct pta_stats_alloc mstats; member
278 if (ctx->poolset.totalloc > ctx->mstats.max_allocated) in raw_malloc_return_hook()
279 ctx->mstats.max_allocated = ctx->poolset.totalloc; in raw_malloc_return_hook()
282 ctx->mstats.num_alloc_fail++; in raw_malloc_return_hook()
284 if (requested_size > ctx->mstats.biggest_alloc_fail) { in raw_malloc_return_hook()
285 ctx->mstats.biggest_alloc_fail = requested_size; in raw_malloc_return_hook()
286 ctx->mstats.biggest_alloc_fail_used = in raw_malloc_return_hook()
298 ctx->mstats.max_allocated = 0; in gen_malloc_reset_stats()
299 ctx->mstats.num_alloc_fail = 0; in gen_malloc_reset_stats()
300 ctx->mstats.biggest_alloc_fail = 0; in gen_malloc_reset_stats()
[all …]