Lines Matching refs:bytes
658 static inline void htb_accnt_tokens(struct htb_class *cl, int bytes, s64 diff) in htb_accnt_tokens() argument
664 toks -= (s64) psched_l2t_ns(&cl->rate, bytes); in htb_accnt_tokens()
671 static inline void htb_accnt_ctokens(struct htb_class *cl, int bytes, s64 diff) in htb_accnt_ctokens() argument
677 toks -= (s64) psched_l2t_ns(&cl->ceil, bytes); in htb_accnt_ctokens()
702 int bytes = qdisc_pkt_len(skb); in htb_charge_class() local
711 htb_accnt_tokens(cl, bytes, diff); in htb_charge_class()
716 htb_accnt_ctokens(cl, bytes, diff); in htb_charge_class()
1295 u64 bytes = 0, packets = 0; in htb_offload_aggregate_stats() local
1311 bytes += u64_stats_read(&c->bstats_bias.bytes); in htb_offload_aggregate_stats()
1314 bytes += u64_stats_read(&c->leaf.q->bstats.bytes); in htb_offload_aggregate_stats()
1319 _bstats_update(&cl->bstats, bytes, packets); in htb_offload_aggregate_stats()
1348 u64_stats_read(&cl->bstats_bias.bytes), in htb_dump_class_stats()
1570 u64_stats_read(&q->bstats.bytes), in htb_destroy_class_offload()
1933 u64_stats_read(&old_q->bstats.bytes), in htb_change_class()