Home
last modified time | relevance | path

Searched refs:miniqp (Results 1 – 2 of 2) sorted by relevance

/net/sched/
Dsch_ingress.c20 struct mini_Qdisc_pair miniqp; member
57 struct mini_Qdisc_pair *miniqp = priv; in clsact_chain_head_change() local
59 mini_qdisc_pair_swap(miniqp, tp_head); in clsact_chain_head_change()
87 mini_qdisc_pair_init(&q->miniqp, sch, &dev->miniq_ingress); in ingress_init()
91 q->block_info.chain_head_change_priv = &q->miniqp; in ingress_init()
Dsch_generic.c1428 void mini_qdisc_pair_swap(struct mini_Qdisc_pair *miniqp, in mini_qdisc_pair_swap() argument
1435 rcu_dereference_protected(*miniqp->p_miniq, 1); in mini_qdisc_pair_swap()
1439 RCU_INIT_POINTER(*miniqp->p_miniq, NULL); in mini_qdisc_pair_swap()
1445 miniq = !miniq_old || miniq_old == &miniqp->miniq2 ? in mini_qdisc_pair_swap()
1446 &miniqp->miniq1 : &miniqp->miniq2; in mini_qdisc_pair_swap()
1454 rcu_assign_pointer(*miniqp->p_miniq, miniq); in mini_qdisc_pair_swap()
1465 void mini_qdisc_pair_init(struct mini_Qdisc_pair *miniqp, struct Qdisc *qdisc, in mini_qdisc_pair_init() argument
1468 miniqp->miniq1.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init()
1469 miniqp->miniq1.cpu_qstats = qdisc->cpu_qstats; in mini_qdisc_pair_init()
1470 miniqp->miniq2.cpu_bstats = qdisc->cpu_bstats; in mini_qdisc_pair_init()
[all …]