Searched refs:wsum (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/lib/ |
A 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.3-rc2/net/sched/ |
A 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.3-rc2/block/ |
A D | bfq-wf2q.c | 632 st->wsum -= entity->weight; in bfq_forget_entity() 713 old_st->wsum -= entity->weight; in __bfq_entity_update_weight_prio() 768 new_st->wsum += entity->weight; in __bfq_entity_update_weight_prio() 804 st->vtime += bfq_delta(served, st->wsum); in bfq_bfqq_served() 956 st->wsum += entity->weight; in __bfq_activate_entity()
|
A D | bfq-iosched.c | 595 unsigned long wsum; in bfqq_request_over_limit() local 636 wsum = bfq_entity_service_tree(entity)->wsum; in bfqq_request_over_limit() 646 wsum = 0; in bfqq_request_over_limit() 648 wsum = wsum * IOPRIO_BE_NR + in bfqq_request_over_limit() 649 sched_data->service_tree[i].wsum; in bfqq_request_over_limit() 652 limit = DIV_ROUND_CLOSEST(limit * entity->weight, wsum); in bfqq_request_over_limit()
|
A D | bfq-iosched.h | 68 unsigned long wsum; member
|
/linux-6.3-rc2/net/core/ |
A D | gro.c | 796 __wsum wsum; in __skb_gro_checksum_complete() local 799 wsum = skb_checksum(skb, skb_gro_offset(skb), skb_gro_len(skb), 0); in __skb_gro_checksum_complete() 802 sum = csum_fold(csum_add(NAPI_GRO_CB(skb)->csum, wsum)); in __skb_gro_checksum_complete() 810 NAPI_GRO_CB(skb)->csum = wsum; in __skb_gro_checksum_complete()
|
/linux-6.3-rc2/drivers/net/thunderbolt/ |
A D | main.c | 993 __wsum wsum = htonl(skb->len - skb_transport_offset(skb)); in tbnet_xmit_csum_and_map() local 1071 wsum = csum_partial(dest, len, wsum); in tbnet_xmit_csum_and_map() 1079 *tucso = csum_fold(wsum); in tbnet_xmit_csum_and_map()
|
/linux-6.3-rc2/include/linux/ |
A D | skbuff.h | 4001 __wsum (*update)(const void *mem, int len, __wsum wsum);
|
Completed in 49 milliseconds