Searched refs:fsum (Results 1 – 3 of 3) sorted by relevance
/linux/net/netfilter/ |
H A D | nft_payload.c | 685 static inline void nft_csum_replace(__sum16 *sum, __wsum fsum, __wsum tsum) in nft_csum_replace() argument 687 *sum = csum_fold(csum_add(csum_sub(~csum_unfold(*sum), fsum), tsum)); in nft_csum_replace() 747 __wsum fsum, __wsum tsum) in nft_payload_l4csum_update() argument 765 nft_csum_replace(&sum, fsum, tsum); in nft_payload_l4csum_update() 767 skb->csum = ~csum_add(csum_sub(~(skb->csum), fsum), in nft_payload_l4csum_update() 771 sum = ~csum_fold(csum_add(csum_sub(csum_unfold(sum), fsum), in nft_payload_l4csum_update() 783 __wsum fsum, __wsum tsum, int csum_offset) in nft_payload_csum_inet() argument 790 nft_csum_replace(&sum, fsum, tsum); in nft_payload_csum_inet() 862 __wsum fsum, tsum; in nft_payload_set_eval() local 910 fsum = skb_checksum(skb, offset, priv->len, 0); in nft_payload_set_eval() [all …]
|
/linux/lib/crypto/ |
H A D | curve25519-hacl64.c | 340 static __always_inline void fsum(u64 *a, u64 *b) in fsum() function 498 fsum(x, z); in addanddouble_fmonty() 501 fsum(xprime, zprime); in addanddouble_fmonty() 518 fsum(xxprime, zzprime); in addanddouble_fmonty() 537 fsum(zzz, xx); in addanddouble_fmonty()
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_sysfs.c | 553 unsigned long long fsum, fmin, fmax, csum, cmin, cmax, cc; \ 556 fsum = lat->_name.fabric.sum * adapter->timer_ticks; \ 565 do_div(fsum, 1000); \ 573 fmin, fmax, fsum, cmin, cmax, csum, cc); \
|