Lines Matching refs:nd
63 struct net_device *nds[8], **nd, **nnd, **ne; in aoedisk_show_netif() local
69 nd = nds; in aoedisk_show_netif()
70 ne = nd + ARRAY_SIZE(nds); in aoedisk_show_netif()
76 for (; ifp < e && ifp->nd; ifp++) { in aoedisk_show_netif()
77 for (nnd = nds; nnd < nd; nnd++) in aoedisk_show_netif()
78 if (*nnd == ifp->nd) in aoedisk_show_netif()
80 if (nnd == nd && nd != ne) in aoedisk_show_netif()
81 *nd++ = ifp->nd; in aoedisk_show_netif()
85 ne = nd; in aoedisk_show_netif()
86 nd = nds; in aoedisk_show_netif()
87 if (*nd == NULL) in aoedisk_show_netif()
89 for (p = page; nd < ne; nd++) in aoedisk_show_netif()
91 p == page ? "" : ",", (*nd)->name); in aoedisk_show_netif()
146 for (; ifp->nd && ifp < ife; ifp++) { in aoedisk_debugfs_show()
147 seq_printf(s, "%c%s", c, ifp->nd->name); in aoedisk_debugfs_show()