Home
last modified time | relevance | path

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

/net/sched/
Dsch_drr.c29 u32 deficit; member
266 xstats.deficit = cl->deficit; in drr_dump_class_stats()
360 cl->deficit = cl->quantum; in drr_enqueue()
386 if (len <= cl->deficit) { in drr_dequeue()
387 cl->deficit -= len; in drr_dequeue()
401 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()
643 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_fq_pie.c46 s32 deficit; member
189 sel_flow->deficit = q->quantum; in fq_pie_qdisc_enqueue()
253 if (flow->deficit <= 0) { in fq_pie_qdisc_dequeue()
254 flow->deficit += q->quantum; in fq_pie_qdisc_dequeue()
277 flow->deficit -= pkt_len; in fq_pie_qdisc_dequeue()
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_qfq.c141 int deficit; /* DRR deficit counter. */ member
480 cl->deficit = lmax; in qfq_change_class()
984 cl->deficit -= (int) len; in agg_dequeue()
988 else if (cl->deficit < qdisc_pkt_len(cl->qdisc->ops->peek(cl->qdisc))) { in agg_dequeue()
989 cl->deficit += agg->lmax; in agg_dequeue()
1261 == cl && cl->deficit < len) in qfq_enqueue()
1268 cl->deficit = agg->lmax; in qfq_enqueue()
Dsch_cake.c130 s32 deficit; member
1874 flow->deficit = (b->flow_quantum * in cake_enqueue()
2061 if (flow->deficit <= 0) { in cake_dequeue()
2098 flow->deficit += (b->flow_quantum * quantum_div[host_load] + in cake_dequeue()
2171 flow->deficit -= len; in cake_dequeue()
2195 flow->deficit -= len; in cake_dequeue()
3028 PUT_STAT_S32(DEFICIT, flow->deficit); in cake_dump_class_stats()
Dsch_htb.c126 int deficit[TC_HTB_MAXDEPTH]; member
918 cl->leaf.deficit[level] -= qdisc_pkt_len(skb); in htb_dequeue_tree()
919 if (cl->leaf.deficit[level] < 0) { in htb_dequeue_tree()
920 cl->leaf.deficit[level] += cl->quantum; in htb_dequeue_tree()
/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.c3917 return air_info->deficit - atomic_read(&air_info->aql_tx_pending); in ieee80211_sta_deficit()
3983 s32 deficit = ieee80211_sta_deficit(sta, txqi->txq.ac); in ieee80211_next_txq() local
3988 if (deficit < 0) in ieee80211_next_txq()
3989 sta->airtime[txqi->txq.ac].deficit += in ieee80211_next_txq()
3992 if (deficit < 0 || !aql_check) { in ieee80211_next_txq()
4133 sta->airtime[ac].deficit += sta->airtime_weight; in ieee80211_txq_may_transmit()
4138 if (sta->airtime[ac].deficit >= 0) in ieee80211_txq_may_transmit()
4141 sta->airtime[ac].deficit += sta->airtime_weight; in ieee80211_txq_may_transmit()
Dsta_info.c627 sta->airtime[i].deficit = sta->airtime_weight; in __sta_info_alloc()
2130 sta->airtime[ac].deficit -= airtime; in ieee80211_sta_register_airtime()