Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c153 list_for_each_entry(entry, &priv->non_repr_priv, list) in nfp_flower_non_repr_priv_lookup()
161 __nfp_flower_non_repr_priv_get(struct nfp_flower_non_repr_priv *non_repr_priv) in __nfp_flower_non_repr_priv_get() argument
163 non_repr_priv->ref_count++; in __nfp_flower_non_repr_priv_get()
181 list_add(&entry->list, &priv->non_repr_priv); in nfp_flower_non_repr_priv_get()
189 __nfp_flower_non_repr_priv_put(struct nfp_flower_non_repr_priv *non_repr_priv) in __nfp_flower_non_repr_priv_put() argument
191 if (--non_repr_priv->ref_count) in __nfp_flower_non_repr_priv_put()
194 list_del(&non_repr_priv->list); in __nfp_flower_non_repr_priv_put()
195 kfree(non_repr_priv); in __nfp_flower_non_repr_priv_put()
790 INIT_LIST_HEAD(&app_priv->non_repr_priv); in nfp_flower_init()
Dmain.h191 struct list_head non_repr_priv; member
424 __nfp_flower_non_repr_priv_get(struct nfp_flower_non_repr_priv *non_repr_priv);
428 __nfp_flower_non_repr_priv_put(struct nfp_flower_non_repr_priv *non_repr_priv);