Searched refs:pnpi (Results 1 – 3 of 3) sorted by relevance
55 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev_with_old_priv() local61 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()62 pnpi->priv = old_priv; in rtw_alloc_etherdev_with_old_priv()63 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()72 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev() local78 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()80 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()81 if (!pnpi->priv) { in rtw_alloc_etherdev()87 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()94 struct rtw_netdev_priv_indicator *pnpi; in rtw_free_netdev() local[all …]
2160 struct rtw_netdev_priv_indicator *pnpi; in rtw_cfg80211_add_monitor_if() local2187 pnpi = netdev_priv(mon_ndev); in rtw_cfg80211_add_monitor_if()2188 pnpi->priv = padapter; in rtw_cfg80211_add_monitor_if()2189 pnpi->sizeof_priv = sizeof(struct adapter); in rtw_cfg80211_add_monitor_if()
52 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev_with_old_priv() local59 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()60 pnpi->priv = old_priv; in rtw_alloc_etherdev_with_old_priv()61 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev_with_old_priv()69 struct rtw_netdev_priv_indicator *pnpi; in rtw_alloc_etherdev() local75 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()77 pnpi->priv = vzalloc(sizeof_priv); in rtw_alloc_etherdev()78 if (!pnpi->priv) { in rtw_alloc_etherdev()83 pnpi->sizeof_priv = sizeof_priv; in rtw_alloc_etherdev()90 struct rtw_netdev_priv_indicator *pnpi; in rtw_free_netdev() local[all …]