Searched refs:clhash (Results 1 – 5 of 5) sorted by relevance
| /linux/net/sched/ |
| H A D | sch_drr.c | 35 struct Qdisc_class_hash clhash; member 48 clc = qdisc_class_find(&q->clhash, classid); in drr_find_class() 136 qdisc_class_hash_insert(&q->clhash, &cl->common); in drr_change_class() 139 qdisc_class_hash_grow(sch, &q->clhash); in drr_change_class() 166 qdisc_class_hash_remove(&q->clhash, &cl->common); in drr_delete_class() 292 for (i = 0; i < q->clhash.hashsize; i++) { in drr_walk() 293 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_walk() 422 err = qdisc_class_hash_init(&q->clhash); in drr_init_qdisc() 435 for (i = 0; i < q->clhash.hashsize; i++) { in drr_reset_qdisc() 436 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in drr_reset_qdisc() [all …]
|
| H A D | sch_hfsc.c | 171 struct Qdisc_class_hash clhash; /* class hash */ member 860 clc = qdisc_class_find(&q->clhash, classid); in hfsc_find_class() 1077 qdisc_class_hash_insert(&q->clhash, &cl->cl_common); in hfsc_change_class() 1084 qdisc_class_hash_grow(sch, &q->clhash); in hfsc_change_class() 1121 qdisc_class_hash_remove(&q->clhash, &cl->cl_common); in hfsc_delete_class() 1366 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_walk() 1367 hlist_for_each_entry(cl, &q->clhash.hash[i], in hfsc_walk() 1408 err = qdisc_class_hash_init(&q->clhash); in hfsc_init_qdisc() 1430 qdisc_class_hash_insert(&q->clhash, &q->root.cl_common); in hfsc_init_qdisc() 1431 qdisc_class_hash_grow(sch, &q->clhash); in hfsc_init_qdisc() [all …]
|
| H A D | sch_api.c | 680 void qdisc_class_hash_grow(struct Qdisc *sch, struct Qdisc_class_hash *clhash) in qdisc_class_hash_grow() argument 689 if (clhash->hashelems * 4 <= clhash->hashsize * 3) in qdisc_class_hash_grow() 691 nsize = clhash->hashsize * 2; in qdisc_class_hash_grow() 697 ohash = clhash->hash; in qdisc_class_hash_grow() 698 osize = clhash->hashsize; in qdisc_class_hash_grow() 707 clhash->hash = nhash; in qdisc_class_hash_grow() 708 clhash->hashsize = nsize; in qdisc_class_hash_grow() 709 clhash->hashmask = nmask; in qdisc_class_hash_grow() 716 int qdisc_class_hash_init(struct Qdisc_class_hash *clhash) in qdisc_class_hash_init() argument 720 clhash->hash = qdisc_class_hash_alloc(size); in qdisc_class_hash_init() [all …]
|
| H A D | sch_qfq.c | 181 struct Qdisc_class_hash clhash; member 215 clc = qdisc_class_find(&q->clhash, classid); in qfq_find_class() 523 qdisc_class_hash_insert(&q->clhash, &cl->common); in qfq_change_class() 526 qdisc_class_hash_grow(sch, &q->clhash); in qfq_change_class() 558 qdisc_class_hash_remove(&q->clhash, &cl->common); in qfq_delete_class() 684 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_walk() 685 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in qfq_walk() 1449 err = qdisc_class_hash_init(&q->clhash); in qfq_init_qdisc() 1482 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_reset_qdisc() 1483 hlist_for_each_entry(cl, &q->clhash in qfq_reset_qdisc() [all...] |
| H A D | sch_htb.c | 150 struct Qdisc_class_hash clhash; member 191 clc = qdisc_class_find(&q->clhash, handle); in htb_find() 1006 for (i = 0; i < q->clhash.hashsize; i++) { in htb_reset() 1007 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_reset() 1105 err = qdisc_class_hash_init(&q->clhash); in htb_init() 1301 for (i = 0; i < q->clhash.hashsize; i++) { in htb_offload_aggregate_stats() 1302 hlist_for_each_entry(c, &q->clhash.hash[i], common.hnode) { in htb_offload_aggregate_stats() 1634 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy() 1635 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) { in htb_destroy() 1644 for (i = 0; i < q->clhash.hashsize; i++) { in htb_destroy() [all …]
|