• Home
  • Raw
  • Download

Lines Matching refs:m

69 	struct teql_master *m;  member
102 dat_queue = netdev_get_tx_queue(dat->m->dev, 0); in teql_dequeue()
106 struct net_device *m = qdisc_dev(q); in teql_dequeue() local
107 if (m) { in teql_dequeue()
108 dat->m->slaves = sch; in teql_dequeue()
109 netif_wake_queue(m); in teql_dequeue()
139 struct teql_master *master = dat->m; in teql_destroy()
173 struct teql_master *m = (struct teql_master *)sch->ops; in teql_qdisc_init() local
176 if (dev->hard_header_len > m->dev->hard_header_len) in teql_qdisc_init()
179 if (m->dev == dev) in teql_qdisc_init()
182 q->m = m; in teql_qdisc_init()
186 if (m->slaves) { in teql_qdisc_init()
187 if (m->dev->flags & IFF_UP) { in teql_qdisc_init()
188 if ((m->dev->flags & IFF_POINTOPOINT && in teql_qdisc_init()
190 (m->dev->flags & IFF_BROADCAST && in teql_qdisc_init()
192 (m->dev->flags & IFF_MULTICAST && in teql_qdisc_init()
194 dev->mtu < m->dev->mtu) in teql_qdisc_init()
198 m->dev->flags &= ~IFF_POINTOPOINT; in teql_qdisc_init()
200 m->dev->flags &= ~IFF_BROADCAST; in teql_qdisc_init()
202 m->dev->flags &= ~IFF_MULTICAST; in teql_qdisc_init()
203 if (dev->mtu < m->dev->mtu) in teql_qdisc_init()
204 m->dev->mtu = dev->mtu; in teql_qdisc_init()
206 q->next = NEXT_SLAVE(m->slaves); in teql_qdisc_init()
207 NEXT_SLAVE(m->slaves) = sch; in teql_qdisc_init()
210 m->slaves = sch; in teql_qdisc_init()
211 m->dev->mtu = dev->mtu; in teql_qdisc_init()
212 m->dev->flags = (m->dev->flags&~FMASK)|(dev->flags&FMASK); in teql_qdisc_init()
359 struct teql_master *m = netdev_priv(dev); in teql_master_open() local
363 if (m->slaves == NULL) in teql_master_open()
368 q = m->slaves; in teql_master_open()
390 } while ((q = NEXT_SLAVE(q)) != m->slaves); in teql_master_open()
392 m->dev->mtu = mtu; in teql_master_open()
393 m->dev->flags = (m->dev->flags&~FMASK) | flags; in teql_master_open()
394 netif_start_queue(m->dev); in teql_master_open()
407 struct teql_master *m = netdev_priv(dev); in teql_master_stats64() local
409 stats->tx_packets = m->tx_packets; in teql_master_stats64()
410 stats->tx_bytes = m->tx_bytes; in teql_master_stats64()
411 stats->tx_errors = m->tx_errors; in teql_master_stats64()
412 stats->tx_dropped = m->tx_dropped; in teql_master_stats64()
417 struct teql_master *m = netdev_priv(dev); in teql_master_mtu() local
420 q = m->slaves; in teql_master_mtu()
425 } while ((q = NEXT_SLAVE(q)) != m->slaves); in teql_master_mtu()