Home
last modified time | relevance | path

Searched refs:ptype_all (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/core/
H A Dnet-procfs.c212 ptype_list = &dev->ptype_all; in ptype_get_idx()
220 list_for_each_entry_rcu(pt, &ptype_all, list) { in ptype_get_idx()
257 if (nxt != &pt->dev->ptype_all) in ptype_seq_next()
262 if (!list_empty(&dev->ptype_all)) { in ptype_seq_next()
263 nxt = dev->ptype_all.next; in ptype_seq_next()
268 nxt = ptype_all.next; in ptype_seq_next()
269 goto ptype_all; in ptype_seq_next()
273 ptype_all: in ptype_seq_next()
274 if (nxt != &ptype_all) in ptype_seq_next()
H A Ddev.c162 struct list_head ptype_all __read_mostly; /* Taps */
555 return pt->dev ? &pt->dev->ptype_all : &ptype_all; in ptype_head()
2305 return !list_empty(&ptype_all) || !list_empty(&dev->ptype_all); in dev_nit_active()
2319 struct list_head *ptype_list = &ptype_all; in dev_queue_xmit_nit()
2365 if (ptype_list == &ptype_all) { in dev_queue_xmit_nit()
2366 ptype_list = &dev->ptype_all; in dev_queue_xmit_nit()
5438 list_for_each_entry_rcu(ptype, &ptype_all, list) { in __netif_receive_skb_core()
5444 list_for_each_entry_rcu(ptype, &skb->dev->ptype_all, list) { in __netif_receive_skb_core()
10574 BUG_ON(!list_empty(&dev->ptype_all)); in netdev_run_todo()
10863 INIT_LIST_HEAD(&dev->ptype_all); in alloc_netdev_mqs()
[all …]
/openbmc/linux/drivers/net/
H A Dvrf.c623 if (!list_empty(&vrf_dev->ptype_all) && in vrf_finish_direct()
1392 if (!list_empty(&vrf_dev->ptype_all)) { in vrf_ip6_rcv()
1446 if (!list_empty(&vrf_dev->ptype_all)) { in vrf_ip_rcv()
/openbmc/linux/include/linux/
H A Dnetdevice.h2091 struct list_head ptype_all; member
5268 extern struct list_head ptype_all __read_mostly;