• Home
  • Raw
  • Download

Lines Matching refs:ifp

133 	memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src);  in aoehdr_atainit()
159 struct aoeif *ifp; in ifrotate() local
161 ifp = t->ifp; in ifrotate()
162 ifp++; in ifrotate()
163 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) in ifrotate()
164 ifp = t->ifs; in ifrotate()
165 if (ifp->nd == NULL) in ifrotate()
167 return t->ifp = ifp; in ifrotate()
274 && t->ifp->nd) { in newframe()
365 skb->dev = t->ifp->nd; in ata_rw_frameinit()
419 struct net_device *ifp; in aoecmd_cfg_pkts() local
422 for_each_netdev_rcu(&init_net, ifp) { in aoecmd_cfg_pkts()
423 dev_hold(ifp); in aoecmd_cfg_pkts()
424 if (!is_aoe_netif(ifp)) in aoecmd_cfg_pkts()
433 skb->dev = ifp; in aoecmd_cfg_pkts()
439 memcpy(h->src, ifp->dev_addr, sizeof h->src); in aoecmd_cfg_pkts()
447 dev_put(ifp); in aoecmd_cfg_pkts()
486 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in resend()
488 skb->dev = t->ifp->nd; in resend()
557 ejectif(struct aoetgt *t, struct aoeif *ifp) in ejectif() argument
563 nd = ifp->nd; in ejectif()
565 n = (e - ifp) * sizeof *ifp; in ejectif()
566 memmove(ifp, ifp+1, n); in ejectif()
751 struct aoeif *ifp; in rexmit_timer() local
821 ifp = getif(t, f->skb->dev); in rexmit_timer()
822 if (ifp && ++ifp->lost > (t->nframes << 1) in rexmit_timer()
823 && (ifp != t->ifs || t->ifs[1].nd)) { in rexmit_timer()
824 ejectif(t, ifp); in rexmit_timer()
825 ifp = NULL; in rexmit_timer()
1105 struct aoeif *ifp; in ktiocomplete() local
1162 ifp = getif(t, skb->dev); in ktiocomplete()
1163 if (ifp) in ktiocomplete()
1164 ifp->lost = 0; in ktiocomplete()
1428 skb->dev = t->ifp->nd; in aoecmd_ata_id()
1484 t->ifp = t->ifs; in addtgt()