Lines Matching refs:stats
151 static void add_pool_stats(tee_mm_pool_t *pool, struct pta_stats_alloc *stats, in add_pool_stats() argument
158 stats->size += s.size; in add_pool_stats()
159 if (s.max_allocated > stats->max_allocated) in add_pool_stats()
160 stats->max_allocated = s.max_allocated; in add_pool_stats()
161 stats->allocated += s.allocated; in add_pool_stats()
165 void nex_phys_mem_stats(struct pta_stats_alloc *stats, bool reset) in nex_phys_mem_stats() argument
167 memset(stats, 0, sizeof(*stats)); in nex_phys_mem_stats()
169 add_pool_stats(nex_core_pool, stats, reset); in nex_phys_mem_stats()
170 add_pool_stats(nex_ta_pool, stats, reset); in nex_phys_mem_stats()
216 void phys_mem_stats(struct pta_stats_alloc *stats, bool reset) in phys_mem_stats() argument
218 memset(stats, 0, sizeof(*stats)); in phys_mem_stats()
220 add_pool_stats(core_pool, stats, reset); in phys_mem_stats()
221 add_pool_stats(ta_pool, stats, reset); in phys_mem_stats()