Home
last modified time | relevance | path

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

/linux-6.15/lib/
H A Dobjagg.c609 struct objagg_stats *objagg_stats; in objagg_stats_get() local
613 objagg_stats = kzalloc(struct_size(objagg_stats, stats_info, in objagg_stats_get()
615 if (!objagg_stats) in objagg_stats_get()
631 sort(objagg_stats->stats_info, objagg_stats->stats_info_count, in objagg_stats_get()
635 return objagg_stats; in objagg_stats_get()
645 void objagg_stats_put(const struct objagg_stats *objagg_stats) in objagg_stats_put() argument
647 kfree(objagg_stats); in objagg_stats_put()
1009 struct objagg_stats *objagg_stats; in objagg_hints_stats_get() local
1013 objagg_stats = kzalloc(struct_size(objagg_stats, stats_info, in objagg_hints_stats_get()
1016 if (!objagg_stats) in objagg_hints_stats_get()
[all …]
H A 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-6.15/include/linux/
H A Dobjagg.h43 struct objagg_stats { struct
49 const struct objagg_stats *objagg_stats_get(struct objagg *objagg); argument
50 void objagg_stats_put(const struct objagg_stats *objagg_stats);
59 const struct objagg_stats *
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_erp.c1372 const struct objagg_stats *ostats; in mlxsw_sp_acl_erp_hints_check()
1373 const struct objagg_stats *hstats; in mlxsw_sp_acl_erp_hints_check()