Searched refs:clhash (Results 1 – 6 of 6) sorted by relevance
/linux/net/sched/ |
A D | sch_drr.c | 36 struct Qdisc_class_hash clhash; member 44 clc = qdisc_class_find(&q->clhash, classid); in drr_find_class() 131 qdisc_class_hash_insert(&q->clhash, &cl->common); in drr_change_class() 134 qdisc_class_hash_grow(sch, &q->clhash); in drr_change_class() 159 qdisc_class_hash_remove(&q->clhash, &cl->common); in drr_delete_class() 285 for (i = 0; i < q->clhash.hashsize; i++) { in drr_walk() 424 err = qdisc_class_hash_init(&q->clhash); in drr_init_qdisc() 437 for (i = 0; i < q->clhash.hashsize; i++) { in drr_reset_qdisc() 457 for (i = 0; i < q->clhash.hashsize; i++) { in drr_destroy_qdisc() 458 hlist_for_each_entry_safe(cl, next, &q->clhash.hash[i], in drr_destroy_qdisc() [all …]
|
A D | sch_cbq.c | 170 clc = qdisc_class_find(&q->clhash, classid); in cbq_class_lookup() 891 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_normalize_quanta() 931 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_sync_defmap() 934 hlist_for_each_entry(c, &q->clhash.hash[h], in cbq_sync_defmap() 1044 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_reset() 1187 err = qdisc_class_hash_init(&q->clhash); in cbq_init() 1460 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_destroy() 1466 for (h = 0; h < q->clhash.hashsize; h++) { in cbq_destroy() 1471 qdisc_class_hash_destroy(&q->clhash); in cbq_destroy() 1665 qdisc_class_hash_grow(sch, &q->clhash); in cbq_change_class() [all …]
|
A D | sch_hfsc.c | 172 struct Qdisc_class_hash clhash; /* class hash */ member 869 clc = qdisc_class_find(&q->clhash, classid); in hfsc_find_class() 1072 qdisc_class_hash_grow(sch, &q->clhash); in hfsc_change_class() 1349 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_walk() 1350 hlist_for_each_entry(cl, &q->clhash.hash[i], in hfsc_walk() 1398 err = qdisc_class_hash_init(&q->clhash); in hfsc_init_qdisc() 1421 qdisc_class_hash_grow(sch, &q->clhash); in hfsc_init_qdisc() 1481 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_reset_qdisc() 1499 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_destroy_qdisc() 1505 for (i = 0; i < q->clhash.hashsize; i++) { in hfsc_destroy_qdisc() [all …]
|
A D | sch_api.c | 684 if (clhash->hashelems * 4 <= clhash->hashsize * 3) in qdisc_class_hash_grow() 692 ohash = clhash->hash; in qdisc_class_hash_grow() 693 osize = clhash->hashsize; in qdisc_class_hash_grow() 702 clhash->hash = nhash; in qdisc_class_hash_grow() 703 clhash->hashsize = nsize; in qdisc_class_hash_grow() 704 clhash->hashmask = nmask; in qdisc_class_hash_grow() 716 if (!clhash->hash) in qdisc_class_hash_init() 720 clhash->hashelems = 0; in qdisc_class_hash_init() 727 kvfree(clhash->hash); in qdisc_class_hash_destroy() 739 clhash->hashelems++; in qdisc_class_hash_insert() [all …]
|
A D | sch_htb.c | 151 struct Qdisc_class_hash clhash; member 192 clc = qdisc_class_find(&q->clhash, handle); in htb_find() 997 for (i = 0; i < q->clhash.hashsize; i++) { in htb_reset() 1105 err = qdisc_class_hash_init(&q->clhash); in htb_init() 1163 qdisc_class_hash_destroy(&q->clhash); in htb_init() 1166 q->clhash.hash = NULL; in htb_init() 1167 q->clhash.hashsize = 0; in htb_init() 1321 for (i = 0; i < q->clhash.hashsize; i++) { in htb_offload_aggregate_stats() 1680 qdisc_class_hash_remove(&q->clhash, in htb_destroy() 1692 qdisc_class_hash_destroy(&q->clhash); in htb_destroy() [all …]
|
A D | sch_qfq.c | 182 struct Qdisc_class_hash clhash; member 211 clc = qdisc_class_find(&q->clhash, classid); in qfq_find_class() 507 qdisc_class_hash_insert(&q->clhash, &cl->common); in qfq_change_class() 510 qdisc_class_hash_grow(sch, &q->clhash); in qfq_change_class() 543 qdisc_class_hash_remove(&q->clhash, &cl->common); in qfq_delete_class() 660 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_walk() 1420 err = qdisc_class_hash_init(&q->clhash); in qfq_init_qdisc() 1453 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_reset_qdisc() 1474 for (i = 0; i < q->clhash.hashsize; i++) { in qfq_destroy_qdisc() 1475 hlist_for_each_entry_safe(cl, next, &q->clhash.hash[i], in qfq_destroy_qdisc() [all …]
|
Completed in 31 milliseconds