Searched refs:clhash (Results 1 - 5 of 5) sorted by last modified time

/linux-master/net/sched/
H A Dsch_htb.c150 struct Qdisc_class_hash clhash; member in struct:htb_sched
191 clc = qdisc_class_find(&q->clhash, handle);
1003 for (i = 0; i < q->clhash.hashsize; i++) {
1004 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) {
1102 err = qdisc_class_hash_init(&q->clhash);
1298 for (i = 0; i < q->clhash.hashsize; i++) {
1299 hlist_for_each_entry(c, &q->clhash.hash[i], common.hnode) {
1631 for (i = 0; i < q->clhash.hashsize; i++) {
1632 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) {
1641 for (i = 0; i < q->clhash
[all...]
H A Dsch_hfsc.c171 struct Qdisc_class_hash clhash; /* class hash */ member in struct:hfsc_sched
868 clc = qdisc_class_find(&q->clhash, classid);
1078 qdisc_class_hash_insert(&q->clhash, &cl->cl_common);
1085 qdisc_class_hash_grow(sch, &q->clhash);
1122 qdisc_class_hash_remove(&q->clhash, &cl->cl_common);
1366 for (i = 0; i < q->clhash.hashsize; i++) {
1367 hlist_for_each_entry(cl, &q->clhash.hash[i],
1408 err = qdisc_class_hash_init(&q->clhash);
1430 qdisc_class_hash_insert(&q->clhash, &q->root.cl_common);
1431 qdisc_class_hash_grow(sch, &q->clhash);
[all...]
H A Dsch_api.c685 void qdisc_class_hash_grow(struct Qdisc *sch, struct Qdisc_class_hash *clhash) argument
694 if (clhash->hashelems * 4 <= clhash->hashsize * 3)
696 nsize = clhash->hashsize * 2;
702 ohash = clhash->hash;
703 osize = clhash->hashsize;
712 clhash->hash = nhash;
713 clhash->hashsize = nsize;
714 clhash->hashmask = nmask;
721 int qdisc_class_hash_init(struct Qdisc_class_hash *clhash) argument
735 qdisc_class_hash_destroy(struct Qdisc_class_hash *clhash) argument
741 qdisc_class_hash_insert(struct Qdisc_class_hash *clhash, struct Qdisc_class_common *cl) argument
753 qdisc_class_hash_remove(struct Qdisc_class_hash *clhash, struct Qdisc_class_common *cl) argument
[all...]
H A Dsch_qfq.c181 struct Qdisc_class_hash clhash; member in struct:qfq_sched
210 clc = qdisc_class_find(&q->clhash, classid);
516 qdisc_class_hash_insert(&q->clhash, &cl->common);
519 qdisc_class_hash_grow(sch, &q->clhash);
554 qdisc_class_hash_remove(&q->clhash, &cl->common);
671 for (i = 0; i < q->clhash.hashsize; i++) {
672 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) {
1436 err = qdisc_class_hash_init(&q->clhash);
1469 for (i = 0; i < q->clhash.hashsize; i++) {
1470 hlist_for_each_entry(cl, &q->clhash
[all...]
H A Dsch_drr.c35 struct Qdisc_class_hash clhash; member in struct:drr_sched
43 clc = qdisc_class_find(&q->clhash, classid);
130 qdisc_class_hash_insert(&q->clhash, &cl->common);
133 qdisc_class_hash_grow(sch, &q->clhash);
160 qdisc_class_hash_remove(&q->clhash, &cl->common);
286 for (i = 0; i < q->clhash.hashsize; i++) {
287 hlist_for_each_entry(cl, &q->clhash.hash[i], common.hnode) {
418 err = qdisc_class_hash_init(&q->clhash);
431 for (i = 0; i < q->clhash.hashsize; i++) {
432 hlist_for_each_entry(cl, &q->clhash
[all...]

Completed in 160 milliseconds