Searched refs:pnpi (Results 1 – 3 of 3) sorted by relevance
30 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev_with_old_priv() local36 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()37 pnpi->priv = old_priv; in rtw_alloc_etherdev_with_old_priv()45 struct rtw_netdev_priv_indicator *pnpi; in rtw_free_netdev() local50 pnpi = netdev_priv(netdev); in rtw_free_netdev()52 if (!pnpi->priv) in rtw_free_netdev()55 vfree(pnpi->priv); in rtw_free_netdev()
207 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev_with_old_priv() local213 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()214 pnpi->priv = old_priv; in rtw_alloc_etherdev_with_old_priv()215 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()224 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev() local230 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()232 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()233 if (!pnpi->priv) { in rtw_alloc_etherdev()239 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()246 struct rtw_netdev_priv_indicator *pnpi; in rtw_free_netdev() local[all …]
2592 struct rtw_netdev_priv_indicator *pnpi; in rtw_cfg80211_add_monitor_if() local2623 pnpi = netdev_priv(mon_ndev); in rtw_cfg80211_add_monitor_if()2624 pnpi->priv = padapter; in rtw_cfg80211_add_monitor_if()2625 pnpi->sizeof_priv = sizeof(struct adapter); in rtw_cfg80211_add_monitor_if()