Home
last modified time | relevance | path

Searched refs:wsum (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/lib/
A Dchecksum.c125 __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 Dsch_qfq.c186 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 Dbfq-wf2q.c632 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 Dbfq-iosched.c595 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 Dbfq-iosched.h68 unsigned long wsum; member
/linux-6.3-rc2/net/core/
A Dgro.c796 __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 Dmain.c993 __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 Dskbuff.h4001 __wsum (*update)(const void *mem, int len, __wsum wsum);

Completed in 49 milliseconds