Searched refs:quantum (Results 1 – 11 of 11) sorted by relevance
/net/sched/ |
D | sch_ets.c | 42 u32 quantum; member 78 unsigned int *quantum, in ets_quantum_parse() argument 81 *quantum = nla_get_u32(attr); in ets_quantum_parse() 82 if (!*quantum) { in ets_quantum_parse() 113 unsigned int quantum; in ets_offload_change() local 130 q_sum += q->classes[i].quantum; in ets_offload_change() 133 quantum = q->classes[i].quantum; in ets_offload_change() 134 q_psum += quantum; in ets_offload_change() 135 w_psum = quantum ? q_psum * 100 / q_sum : 0; in ets_offload_change() 139 qopt.replace_params.quanta[i] = quantum; in ets_offload_change() [all …]
|
D | sch_drr.c | 28 u32 quantum; member 62 u32 quantum; in drr_change_class() local 76 quantum = nla_get_u32(tb[TCA_DRR_QUANTUM]); in drr_change_class() 77 if (quantum == 0) { in drr_change_class() 82 quantum = psched_mtu(qdisc_dev(sch)); in drr_change_class() 99 cl->quantum = quantum; in drr_change_class() 110 cl->quantum = quantum; in drr_change_class() 249 if (nla_put_u32(skb, TCA_DRR_QUANTUM, cl->quantum)) in drr_dump_class() 370 cl->deficit = cl->quantum; in drr_enqueue() 411 cl->deficit += cl->quantum; in drr_dequeue()
|
D | sch_fq_codel.c | 56 u32 quantum; /* psched_mtu(qdisc_dev(sch)); */ member 212 flow->deficit = q->quantum; in fq_codel_enqueue() 298 flow->deficit += q->quantum; in fq_codel_dequeue() 370 u32 quantum = 0; in fq_codel_change() local 389 quantum = max(256U, nla_get_u32(tb[TCA_FQ_CODEL_QUANTUM])); in fq_codel_change() 390 if (quantum > FQ_CODEL_QUANTUM_MAX) { in fq_codel_change() 421 if (quantum) in fq_codel_change() 422 q->quantum = quantum; in fq_codel_change() 466 q->quantum = psched_mtu(qdisc_dev(sch)); in fq_codel_init() 536 q->quantum) || in fq_codel_dump()
|
D | sch_sfq.c | 142 unsigned int quantum; /* Allotment per round: MUST BE >= MTU */ member 642 if (ctl->quantum) { in sfq_change() 643 unsigned int scaled = SFQ_ALLOT_SIZE(ctl->quantum); in sfq_change() 658 if (ctl->quantum) { in sfq_change() 659 q->quantum = ctl->quantum; in sfq_change() 660 q->scaled_quantum = SFQ_ALLOT_SIZE(q->quantum); in sfq_change() 756 q->quantum = psched_mtu(qdisc_dev(sch)); in sfq_init() 757 q->scaled_quantum = SFQ_ALLOT_SIZE(q->quantum); in sfq_init() 796 opt.v0.quantum = q->quantum; in sfq_dump()
|
D | sch_fq.c | 107 u32 quantum; member 484 f->credit = max_t(u32, f->credit, q->quantum); in fq_enqueue() 562 f->credit += q->quantum; in fq_dequeue() 615 plen = max(plen, q->quantum); in fq_dequeue() 842 u32 quantum = nla_get_u32(tb[TCA_FQ_QUANTUM]); in fq_change() local 844 if (quantum > 0 && quantum <= (1 << 20)) { in fq_change() 845 q->quantum = quantum; in fq_change() 938 q->quantum = 2 * psched_mtu(qdisc_dev(sch)); in fq_init() 988 nla_put_u32(skb, TCA_FQ_QUANTUM, q->quantum) || in fq_dump()
|
D | sch_hhf.c | 130 u32 quantum; /* psched_mtu(qdisc_dev(sch)); */ member 400 bucket->deficit = weight * q->quantum; in hhf_enqueue() 438 bucket->deficit += weight * q->quantum; in hhf_dequeue() 516 u32 new_quantum = q->quantum; in hhf_change() 542 q->quantum = new_quantum; in hhf_change() 584 q->quantum = psched_mtu(qdisc_dev(sch)); in hhf_init() 664 nla_put_u32(skb, TCA_HHF_QUANTUM, q->quantum) || in hhf_dump()
|
D | sch_htb.c | 101 int quantum; /* but stored for parent-to-leaf return */ member 920 cl->leaf.deficit[level] += cl->quantum; in htb_dequeue_tree() 1286 opt.quantum = cl->quantum; in htb_dump_class() 1822 if (hopt->quantum) { in htb_change_class() 2049 u64 quantum = cl->rate.rate_bytes_ps; in htb_change_class() local 2051 do_div(quantum, q->rate2quantum); in htb_change_class() 2052 cl->quantum = min_t(u64, quantum, INT_MAX); in htb_change_class() 2054 if (!hopt->quantum && cl->quantum < 1000) { in htb_change_class() 2056 cl->quantum = 1000; in htb_change_class() 2058 if (!hopt->quantum && cl->quantum > 200000) { in htb_change_class() [all …]
|
D | sch_fq_pie.c | 65 u32 quantum; member 189 sel_flow->deficit = q->quantum; in fq_pie_qdisc_enqueue() 254 flow->deficit += q->quantum; in fq_pie_qdisc_dequeue() 343 q->quantum = nla_get_u32(tb[TCA_FQ_PIE_QUANTUM]); in fq_pie_change() 420 q->quantum = psched_mtu(qdisc_dev(sch)); in fq_pie_init() 483 nla_put_u32(skb, TCA_FQ_PIE_QUANTUM, q->quantum) || in fq_pie_dump()
|
D | sch_cake.c | 2321 u32 quantum = 256; in cake_config_precedence() local 2334 b->tin_quantum = max_t(u16, 1U, quantum); in cake_config_precedence() 2340 quantum *= 7; in cake_config_precedence() 2341 quantum >>= 3; in cake_config_precedence() 2410 u32 quantum = 256; in cake_config_diffserv8() local 2426 b->tin_quantum = max_t(u16, 1U, quantum); in cake_config_diffserv8() 2432 quantum *= 7; in cake_config_diffserv8() 2433 quantum >>= 3; in cake_config_diffserv8() 2454 u32 quantum = 1024; in cake_config_diffserv4() local 2473 q->tins[0].tin_quantum = quantum; in cake_config_diffserv4() [all …]
|
/net/mac80211/ |
D | debugfs.c | 107 fq->quantum); in aqm_read() 139 else if (sscanf(buf, "fq_quantum %u", &local->fq.quantum) == 1) in aqm_write()
|
D | tx.c | 1545 local->fq.quantum = local->hw.wiphy->txq_quantum; in ieee80211_txq_set_params() 1547 local->hw.wiphy->txq_quantum = local->fq.quantum; in ieee80211_txq_set_params()
|