Searched refs:wsum (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/lib/ |
D | checksum.c | 125 __wsum csum_partial(const void *buff, int len, __wsum wsum) in csum_partial() argument 127 unsigned int sum = (__force unsigned int)wsum; in csum_partial()
|
/linux-6.1.9/net/sched/ |
D | sch_qfq.c | 186 u32 wsum; /* weight sum */ member 303 q->wsum += in qfq_update_agg() 305 q->iwsum = ONE_FP / q->wsum; in qfq_update_agg() 331 q->wsum -= agg->class_weight; in qfq_destroy_agg() 332 if (q->wsum != 0) in qfq_destroy_agg() 333 q->iwsum = ONE_FP / q->wsum; in qfq_destroy_agg() 443 if (q->wsum + delta_w > QFQ_MAX_WSUM) { in qfq_change_class() 445 delta_w, q->wsum); in qfq_change_class()
|
/linux-6.1.9/block/ |
D | bfq-wf2q.c | 631 st->wsum -= entity->weight; in bfq_forget_entity() 728 old_st->wsum -= entity->weight; in __bfq_entity_update_weight_prio() 787 new_st->wsum += entity->weight; in __bfq_entity_update_weight_prio() 823 st->vtime += bfq_delta(served, st->wsum); in bfq_bfqq_served() 975 st->wsum += entity->weight; in __bfq_activate_entity()
|
D | bfq-iosched.c | 583 unsigned long wsum; in bfqq_request_over_limit() local 624 wsum = bfq_entity_service_tree(entity)->wsum; in bfqq_request_over_limit() 634 wsum = 0; in bfqq_request_over_limit() 636 wsum = wsum * IOPRIO_BE_NR + in bfqq_request_over_limit() 637 sched_data->service_tree[i].wsum; in bfqq_request_over_limit() 640 limit = DIV_ROUND_CLOSEST(limit * entity->weight, wsum); in bfqq_request_over_limit()
|
D | bfq-iosched.h | 60 unsigned long wsum; member
|
/linux-6.1.9/net/core/ |
D | gro.c | 787 __wsum wsum; in __skb_gro_checksum_complete() local 790 wsum = skb_checksum(skb, skb_gro_offset(skb), skb_gro_len(skb), 0); in __skb_gro_checksum_complete() 793 sum = csum_fold(csum_add(NAPI_GRO_CB(skb)->csum, wsum)); in __skb_gro_checksum_complete() 801 NAPI_GRO_CB(skb)->csum = wsum; in __skb_gro_checksum_complete()
|
/linux-6.1.9/drivers/net/ |
D | thunderbolt.c | 954 __wsum wsum = htonl(skb->len - skb_transport_offset(skb)); in tbnet_xmit_csum_and_map() local 1030 wsum = csum_partial(dest, len, wsum); in tbnet_xmit_csum_and_map() 1036 *tucso = csum_fold(wsum); in tbnet_xmit_csum_and_map()
|
/linux-6.1.9/include/linux/ |
D | skbuff.h | 3973 __wsum (*update)(const void *mem, int len, __wsum wsum);
|