Home
last modified time | relevance | path

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

/lib/
Dobjagg.c604 const struct objagg_stats *objagg_stats_get(struct objagg *objagg) in objagg_stats_get()
606 struct objagg_stats *objagg_stats; in objagg_stats_get() local
610 objagg_stats = kzalloc(struct_size(objagg_stats, stats_info, in objagg_stats_get()
612 if (!objagg_stats) in objagg_stats_get()
617 memcpy(&objagg_stats->stats_info[i].stats, &objagg_obj->stats, in objagg_stats_get()
618 sizeof(objagg_stats->stats_info[0].stats)); in objagg_stats_get()
619 objagg_stats->stats_info[i].objagg_obj = objagg_obj; in objagg_stats_get()
620 objagg_stats->stats_info[i].is_root = in objagg_stats_get()
622 if (objagg_stats->stats_info[i].is_root) in objagg_stats_get()
623 objagg_stats->root_count++; in objagg_stats_get()
[all …]
Dtest_objagg.c228 const struct objagg_stats *stats; in check_stats_zero()
246 const struct objagg_stats *stats; in check_stats_nodelta()
679 static int check_expect_stats_neigh(const struct objagg_stats *stats, in check_expect_stats_neigh()
709 static int __check_expect_stats(const struct objagg_stats *stats, in __check_expect_stats()
744 const struct objagg_stats *stats; in check_expect_stats()
860 static void __pr_debug_stats(const struct objagg_stats *stats) in __pr_debug_stats()
874 const struct objagg_stats *stats; in pr_debug_stats()
885 const struct objagg_stats *stats; in pr_debug_hints_stats()
898 const struct objagg_stats *stats; in check_expect_hints_stats()