Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c162 list_for_each_entry(entry, &priv->non_repr_priv, list) in nfp_flower_non_repr_priv_lookup()
170 __nfp_flower_non_repr_priv_get(struct nfp_flower_non_repr_priv *non_repr_priv) in __nfp_flower_non_repr_priv_get() argument
172 non_repr_priv->ref_count++; in __nfp_flower_non_repr_priv_get()
190 list_add(&entry->list, &priv->non_repr_priv); in nfp_flower_non_repr_priv_get()
198 __nfp_flower_non_repr_priv_put(struct nfp_flower_non_repr_priv *non_repr_priv) in __nfp_flower_non_repr_priv_put() argument
200 if (--non_repr_priv->ref_count) in __nfp_flower_non_repr_priv_put()
203 list_del(&non_repr_priv->list); in __nfp_flower_non_repr_priv_put()
204 kfree(non_repr_priv); in __nfp_flower_non_repr_priv_put()
846 INIT_LIST_HEAD(&app_priv->non_repr_priv); in nfp_flower_init()
Dmain.h326 struct list_head non_repr_priv; member
683 __nfp_flower_non_repr_priv_get(struct nfp_flower_non_repr_priv *non_repr_priv);
687 __nfp_flower_non_repr_priv_put(struct nfp_flower_non_repr_priv *non_repr_priv);