Searched refs:old_priv (Results 1 – 3 of 3) sorted by relevance
51 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv) in rtw_alloc_etherdev_with_old_priv() argument61 pnpi->priv = old_priv; in rtw_alloc_etherdev_with_old_priv()
118 struct net_device *rtw_alloc_etherdev_with_old_priv(int sizeof_priv, void *old_priv);
744 void *priv, *old_priv; in genl_sk_priv_get() local756 old_priv = xa_cmpxchg(family->sock_privs, (unsigned long) sk, NULL, in genl_sk_priv_get()758 if (old_priv) { in genl_sk_priv_get()760 if (xa_is_err(old_priv)) in genl_sk_priv_get()761 return ERR_PTR(xa_err(old_priv)); in genl_sk_priv_get()763 return old_priv; in genl_sk_priv_get()