Home
last modified time | relevance | path

Searched refs:clhash (Results 1 – 5 of 5) sorted by relevance

/linux/net/sched/
H A Dsch_drr.c35 struct Qdisc_class_hash clhash; member
48 clc = qdisc_class_find(&q->clhash, classid); in drr_find_class()
135 qdisc_class_hash_insert(&q->clhash, &cl->common); in drr_change_class()
138 qdisc_class_hash_grow(sch, &q->clhash); in drr_change_class()
165 qdisc_class_hash_remove(&q->clhash, &cl->common); in drr_delete_class()
291 for (i = 0; i < q->clhash.hashsize; i++) { in drr_walk()
292 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_walk()
421 err = qdisc_class_hash_init(&q->clhash); in drr_init_qdisc()
434 for (i = 0; i < q->clhash.hashsize; i++) { in drr_reset_qdisc()
435 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_reset_qdisc()
[all …]
H A Dsch_hfsc.c171 struct Qdisc_class_hash clhash; /* class hash */ member
869 clc = qdisc_class_find(&q->clhash, classid); in hfsc_find_class()
1086 qdisc_class_hash_insert(&q->clhash, &cl->cl_common); in hfsc_change_class()
1093 qdisc_class_hash_grow(sch, &q->clhash); in hfsc_change_class()
1130 qdisc_class_hash_remove(&q->clhash, &cl->cl_common); in hfsc_delete_class()
1388 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_walk()
1389 hlist_for_each_entry(cl, &q->clhash.hash[i], in hfsc_walk()
1430 err = qdisc_class_hash_init(&q->clhash); in hfsc_init_qdisc()
1452 qdisc_class_hash_insert(&q->clhash, &q->root.cl_common); in hfsc_init_qdisc()
1453 qdisc_class_hash_grow(sch, &q->clhash); in hfsc_init_qdisc()
[all …]
H A Dsch_api.c698 void qdisc_class_hash_grow(struct Qdisc *sch, struct Qdisc_class_hash *clhash) in qdisc_class_hash_grow()
707 if (clhash->hashelems * 4 <= clhash->hashsize * 3) in qdisc_class_hash_grow()
709 nsize = clhash->hashsize * 2; in qdisc_class_hash_grow()
715 ohash = clhash->hash; in qdisc_class_hash_grow()
716 osize = clhash->hashsize; in qdisc_class_hash_grow()
725 clhash->hash = nhash; in qdisc_class_hash_grow()
726 clhash->hashsize = nsize; in qdisc_class_hash_grow()
727 clhash->hashmask = nmask; in qdisc_class_hash_grow()
734 int qdisc_class_hash_init(struct Qdisc_class_hash *clhash) in qdisc_class_hash_init()
697 qdisc_class_hash_grow(struct Qdisc * sch,struct Qdisc_class_hash * clhash) qdisc_class_hash_grow() argument
733 qdisc_class_hash_init(struct Qdisc_class_hash * clhash) qdisc_class_hash_init() argument
747 qdisc_class_hash_destroy(struct Qdisc_class_hash * clhash) qdisc_class_hash_destroy() argument
753 qdisc_class_hash_insert(struct Qdisc_class_hash * clhash,struct Qdisc_class_common * cl) qdisc_class_hash_insert() argument
765 qdisc_class_hash_remove(struct Qdisc_class_hash * clhash,struct Qdisc_class_common * cl) qdisc_class_hash_remove() argument
[all...]
H A Dsch_qfq.c181 struct Qdisc_class_hash clhash; member
215 clc = qdisc_class_find(&q->clhash, classid); in qfq_find_class()
525 qdisc_class_hash_insert(&q->clhash, &cl->common); in qfq_change_class()
529 qdisc_class_hash_grow(sch, &q->clhash); in qfq_change_class()
563 qdisc_class_hash_remove(&q->clhash, &cl->common); in qfq_delete_class()
689 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_walk()
690 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in qfq_walk()
1454 err = qdisc_class_hash_init(&q->clhash); in qfq_init_qdisc()
1487 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_reset_qdisc()
1488 hlist_for_each_entry(cl, &q->clhash in qfq_reset_qdisc()
[all...]
H A Dsch_htb.c151 struct Qdisc_class_hash clhash; member
192 clc = qdisc_class_find(&q->clhash, handle); in htb_find()
1011 for (i = 0; i < q->clhash.hashsize; i++) { in htb_reset()
1012 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_reset()
1109 err = qdisc_class_hash_init(&q->clhash); in htb_init()
1299 for (i = 0; i < q->clhash.hashsize; i++) { in htb_offload_aggregate_stats()
1300 hlist_for_each_entry(c, &q->clhash.hash[i], common.hnode) { in htb_offload_aggregate_stats()
1640 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy()
1641 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_destroy()
1650 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy()
[all …]