Home
last modified time | relevance | path

Searched refs:deficit (Results 1 – 23 of 23) sorted by relevance

/linux-6.12.1/net/sched/
Dsch_drr.c28 u32 deficit; member
267 xstats.deficit = cl->deficit; in drr_dump_class_stats()
361 cl->deficit = cl->quantum; in drr_enqueue()
387 if (len <= cl->deficit) { in drr_dequeue()
388 cl->deficit -= len; in drr_dequeue()
402 cl->deficit += cl->quantum; in drr_dequeue()
Dsch_fq_codel.c46 int deficit; member
212 flow->deficit = q->quantum; in fq_codel_enqueue()
297 if (flow->deficit <= 0) { in fq_codel_dequeue()
298 flow->deficit += q->quantum; in fq_codel_dequeue()
316 flow->deficit -= qdisc_pkt_len(skb); in fq_codel_dequeue()
656 xstats.class_stats.deficit = flow->deficit; in fq_codel_dump_class_stats()
Dsch_ets.c43 u32 deficit; member
439 cl->deficit = cl->quantum; in ets_qdisc_enqueue()
483 if (len <= cl->deficit) { in ets_qdisc_dequeue()
484 cl->deficit -= len; in ets_qdisc_dequeue()
493 cl->deficit += cl->quantum; in ets_qdisc_dequeue()
653 q->classes[i].deficit = quanta[i]; in ets_qdisc_change()
680 q->classes[i].deficit = 0; in ets_qdisc_change()
Dsch_hhf.c124 int deficit; member
400 bucket->deficit = weight * q->quantum; in hhf_enqueue()
434 if (bucket->deficit <= 0) { in hhf_dequeue()
438 bucket->deficit += weight * q->quantum; in hhf_dequeue()
458 bucket->deficit -= qdisc_pkt_len(skb); in hhf_dequeue()
Dsch_fq_pie.c47 s32 deficit; member
190 sel_flow->deficit = q->quantum; in fq_pie_qdisc_enqueue()
254 if (flow->deficit <= 0) { in fq_pie_qdisc_dequeue()
255 flow->deficit += q->quantum; in fq_pie_qdisc_dequeue()
278 flow->deficit -= pkt_len; in fq_pie_qdisc_dequeue()
Dsch_qfq.c139 int deficit; /* DRR deficit counter. */ member
479 cl->deficit = lmax; in qfq_change_class()
985 cl->deficit -= (int) len; in agg_dequeue()
989 else if (cl->deficit < qdisc_pkt_len(cl->qdisc->ops->peek(cl->qdisc))) { in agg_dequeue()
990 cl->deficit += agg->lmax; in agg_dequeue()
1262 == cl && cl->deficit < len) in qfq_enqueue()
1269 cl->deficit = agg->lmax; in qfq_enqueue()
Dsch_cake.c131 s32 deficit; member
1861 flow->deficit = (b->flow_quantum * in cake_enqueue()
2048 if (flow->deficit <= 0) { in cake_dequeue()
2085 flow->deficit += (b->flow_quantum * quantum_div[host_load] + in cake_dequeue()
2158 flow->deficit -= len; in cake_dequeue()
2182 flow->deficit -= len; in cake_dequeue()
3031 PUT_STAT_S32(DEFICIT, flow->deficit); in cake_dump_class_stats()
Dsch_htb.c125 int deficit[TC_HTB_MAXDEPTH]; member
921 cl->leaf.deficit[level] -= qdisc_pkt_len(skb); in htb_dequeue_tree()
922 if (cl->leaf.deficit[level] < 0) { in htb_dequeue_tree()
923 cl->leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()
/linux-6.12.1/include/net/
Dfq_impl.h110 if (flow->deficit <= 0) { in fq_tin_dequeue()
111 flow->deficit += fq->quantum; in fq_tin_dequeue()
130 flow->deficit -= skb->len; in fq_tin_dequeue()
229 flow->deficit = fq->quantum; in fq_tin_enqueue()
Dfq.h36 int deficit; member
/linux-6.12.1/net/mac80211/
Ddebugfs_sta.c206 s32 deficit[IEEE80211_NUM_ACS]; in sta_airtime_read() local
217 deficit[ac] = sta->airtime[ac].deficit; in sta_airtime_read()
225 deficit[0], deficit[1], deficit[2], deficit[3]); in sta_airtime_read()
243 sta->airtime[ac].deficit = sta->airtime_weight; in sta_airtime_write()
Dsta_info.h142 s32 deficit; member
Dtx.c4014 return air_info->deficit - atomic_read(&air_info->aql_tx_pending); in ieee80211_sta_deficit()
4077 s32 deficit = ieee80211_sta_deficit(sta, txqi->txq.ac); in ieee80211_next_txq() local
4082 if (deficit < 0) in ieee80211_next_txq()
4083 sta->airtime[txqi->txq.ac].deficit += in ieee80211_next_txq()
4086 if (deficit < 0 || !aql_check) { in ieee80211_next_txq()
4227 sta->airtime[ac].deficit += sta->airtime_weight; in ieee80211_txq_may_transmit()
4232 if (sta->airtime[ac].deficit >= 0) in ieee80211_txq_may_transmit()
4235 sta->airtime[ac].deficit += sta->airtime_weight; in ieee80211_txq_may_transmit()
Dsta_info.c635 sta->airtime[i].deficit = sta->airtime_weight; in __sta_info_alloc()
2294 sta->airtime[ac].deficit -= airtime; in ieee80211_sta_register_airtime()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio_mcu.c33 sdio->sched.deficit = txdwcnt << 2; in mt7663s_mcu_init_sched()
Ddebugfs.c543 seq_printf(s, "sched_deficit\t%d\n", sdio->sched.deficit); in mt7663s_sched_quota_read()
/linux-6.12.1/tools/include/uapi/linux/
Dpkt_sched.h562 __u32 deficit; member
741 __s32 deficit; member
/linux-6.12.1/include/uapi/linux/
Dpkt_sched.h583 __u32 deficit; member
782 __s32 deficit; member
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7921/
Ddebugfs.c259 seq_printf(s, "sched_deficit\t%d\n", sdio->sched.deficit); in mt7921s_sched_quota_read()
Dmcu.c513 sdio->sched.deficit = tx_res->pp_padding; in mt7921_mcu_parse_tx_resource()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
Dsdio_txrx.c188 pse_sz = DIV_ROUND_UP(buf_sz + sdio->sched.deficit, in mt76s_tx_pick_quota()
Dmt76.h644 int deficit; member
/linux-6.12.1/Documentation/admin-guide/pm/
Dintel-speed-select.rst365 distribute all remaining (excess/deficit) budgets in proportion to a defined