Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c45 ring = &priv->stats_ids.free_list; in nfp_release_stats_entry()
64 ring = &priv->stats_ids.free_list; in nfp_get_stats_entry()
67 if (priv->stats_ids.init_unalloc > 0) { in nfp_get_stats_entry()
70 priv->stats_ids.init_unalloc - 1) | in nfp_get_stats_entry()
75 priv->stats_ids.init_unalloc--; in nfp_get_stats_entry()
566 priv->stats_ids.free_list.buf = in nfp_flower_metadata_init()
569 if (!priv->stats_ids.free_list.buf) in nfp_flower_metadata_init()
572 priv->stats_ids.init_unalloc = div_u64(host_ctx_count, host_num_mems); in nfp_flower_metadata_init()
587 vfree(priv->stats_ids.free_list.buf); in nfp_flower_metadata_init()
725 vfree(priv->stats_ids.free_list.buf); in nfp_flower_metadata_cleanup()
Dmain.h309 struct nfp_fl_stats_id stats_ids; member