Lines Matching refs:nd
133 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in aoehdr_atainit()
163 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) in ifrotate()
165 if (ifp->nd == NULL) in ifrotate()
274 && t->ifp->nd) { in newframe()
365 skb->dev = t->ifp->nd; in ata_rw_frameinit()
485 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in resend()
487 skb->dev = t->ifp->nd; in resend()
526 getif(struct aoetgt *t, struct net_device *nd) in getif() argument
533 if (p->nd == nd) in getif()
542 struct net_device *nd; in ejectif() local
545 nd = ifp->nd; in ejectif()
549 e->nd = NULL; in ejectif()
550 dev_put(nd); in ejectif()
803 && (ifp != t->ifs || t->ifs[1].nd)) { in rexmit_timer()
1399 skb->dev = t->ifp->nd; in aoecmd_ata_id()
1483 setifbcnt(struct aoetgt *t, struct net_device *nd, int bcnt) in setifbcnt() argument
1494 if (p->nd == NULL) in setifbcnt()
1496 if (p->nd == nd) { in setifbcnt()
1498 nd = NULL; in setifbcnt()
1502 if (nd) { in setifbcnt()
1507 dev_hold(nd); in setifbcnt()
1508 p->nd = nd; in setifbcnt()