Home
last modified time | relevance | path

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

/Linux-v6.1/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()
/Linux-v6.1/include/linux/
Dobjagg.h44 struct objagg_stats { struct
50 const struct objagg_stats *objagg_stats_get(struct objagg *objagg); argument
51 void objagg_stats_put(const struct objagg_stats *objagg_stats);
60 const struct objagg_stats *
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_erp.c1383 const struct objagg_stats *ostats; in mlxsw_sp_acl_erp_hints_check()
1384 const struct objagg_stats *hstats; in mlxsw_sp_acl_erp_hints_check()