Lines Matching refs:ppriv
54 struct ipoib_dev_priv *ppriv, *priv;
61 ppriv = netdev_priv(pdev);
65 mutex_lock(&ppriv->vlan_mutex);
71 if (ppriv->pkey == pkey) {
77 list_for_each_entry(priv, &ppriv->child_intfs, list) {
86 ppriv->dev->name, pkey);
93 priv->max_ib_mtu = ppriv->max_ib_mtu;
99 result = ipoib_set_dev_features(priv, ppriv->ca);
105 memcpy(priv->dev->dev_addr, ppriv->dev->dev_addr, INFINIBAND_ALEN);
109 result = ipoib_dev_init(priv->dev, ppriv->ca, ppriv->port);
111 ipoib_warn(ppriv, "failed to initialize subinterface: "
113 ppriv->ca->name, ppriv->port);
123 priv->parent = ppriv->dev;
137 list_add_tail(&priv->list, &ppriv->child_intfs);
139 mutex_unlock(&ppriv->vlan_mutex);
152 mutex_unlock(&ppriv->vlan_mutex);
162 struct ipoib_dev_priv *ppriv, *priv, *tpriv;
168 ppriv = netdev_priv(pdev);
172 mutex_lock(&ppriv->vlan_mutex);
173 list_for_each_entry_safe(priv, tpriv, &ppriv->child_intfs, list) {
182 mutex_unlock(&ppriv->vlan_mutex);