Home
last modified time | relevance | path

Searched refs:root_lock (Results 1 – 11 of 11) sorted by relevance

/net/sched/
Dsch_generic.c115 spinlock_t *root_lock) in sch_direct_xmit() argument
120 spin_unlock(root_lock); in sch_direct_xmit()
128 spin_lock(root_lock); in sch_direct_xmit()
174 spinlock_t *root_lock; in qdisc_restart() local
182 root_lock = qdisc_lock(q); in qdisc_restart()
186 return sch_direct_xmit(skb, q, dev, txq, root_lock); in qdisc_restart()
655 spinlock_t *root_lock; in dev_graft_qdisc() local
657 root_lock = qdisc_lock(oqdisc); in dev_graft_qdisc()
658 spin_lock_bh(root_lock); in dev_graft_qdisc()
670 spin_unlock_bh(root_lock); in dev_graft_qdisc()
[all …]
Dcls_api.c124 spinlock_t *root_lock; in tc_ctl_tfilter() local
215 root_lock = qdisc_root_sleeping_lock(q); in tc_ctl_tfilter()
286 spin_lock_bh(root_lock); in tc_ctl_tfilter()
288 spin_unlock_bh(root_lock); in tc_ctl_tfilter()
327 spin_lock_bh(root_lock); in tc_ctl_tfilter()
330 spin_unlock_bh(root_lock); in tc_ctl_tfilter()
Dsch_teql.c155 spinlock_t *root_lock; in teql_destroy() local
160 root_lock = qdisc_root_sleeping_lock(txq->qdisc); in teql_destroy()
161 spin_lock_bh(root_lock); in teql_destroy()
163 spin_unlock_bh(root_lock); in teql_destroy()
Dsch_red.c240 spinlock_t *root_lock = qdisc_lock(qdisc_root_sleeping(sch)); in red_adaptative_timer() local
242 spin_lock(root_lock); in red_adaptative_timer()
245 spin_unlock(root_lock); in red_adaptative_timer()
Dsch_htb.c1043 spinlock_t *root_lock = qdisc_root_sleeping_lock(sch); in htb_dump() local
1048 spin_lock_bh(root_lock); in htb_dump()
1064 spin_unlock_bh(root_lock); in htb_dump()
1068 spin_unlock_bh(root_lock); in htb_dump()
1077 spinlock_t *root_lock = qdisc_root_sleeping_lock(sch); in htb_dump_class() local
1081 spin_lock_bh(root_lock); in htb_dump_class()
1104 spin_unlock_bh(root_lock); in htb_dump_class()
1108 spin_unlock_bh(root_lock); in htb_dump_class()
Dcls_route.c75 spinlock_t *root_lock = qdisc_root_sleeping_lock(q); in route4_reset_fastmap() local
77 spin_lock_bh(root_lock); in route4_reset_fastmap()
79 spin_unlock_bh(root_lock); in route4_reset_fastmap()
Dsch_netem.c576 spinlock_t *root_lock; in get_dist_table() local
595 root_lock = qdisc_root_sleeping_lock(sch); in get_dist_table()
597 spin_lock_bh(root_lock); in get_dist_table()
599 spin_unlock_bh(root_lock); in get_dist_table()
Dsch_sfq.c627 spinlock_t *root_lock = qdisc_lock(qdisc_root_sleeping(sch)); in sfq_perturbation() local
629 spin_lock(root_lock); in sfq_perturbation()
633 spin_unlock(root_lock); in sfq_perturbation()
Dsch_api.c853 spinlock_t *root_lock; in qdisc_create() local
862 root_lock = qdisc_root_sleeping_lock(sch); in qdisc_create()
864 root_lock = qdisc_lock(sch); in qdisc_create()
867 root_lock, tca[TCA_RATE]); in qdisc_create()
Dsch_cbq.c1730 spinlock_t *root_lock = qdisc_root_sleeping_lock(sch); in cbq_put() local
1733 spin_lock_bh(root_lock); in cbq_put()
1736 spin_unlock_bh(root_lock); in cbq_put()
/net/core/
Ddev.c2658 spinlock_t *root_lock = qdisc_lock(q); in __dev_xmit_skb() local
2674 spin_lock(root_lock); in __dev_xmit_skb()
2690 if (sch_direct_xmit(skb, q, dev, txq, root_lock)) { in __dev_xmit_skb()
2711 spin_unlock(root_lock); in __dev_xmit_skb()
3247 spinlock_t *root_lock; in net_tx_action() local
3251 root_lock = qdisc_lock(q); in net_tx_action()
3252 if (spin_trylock(root_lock)) { in net_tx_action()
3257 spin_unlock(root_lock); in net_tx_action()