Searched refs:__wsum (Results 51 - 75 of 144) sorted by relevance

123456

/linux-master/include/linux/
H A Dptp_classify.h147 static inline __wsum ptp_check_diff8(__be64 old, __be64 new, __wsum oldsum)
H A Dskbuff.h1010 __wsum csum;
3772 bool csum_and_copy_from_iter_full(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i)
3781 __wsum csum = 0;
4070 __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, u8 *to,
4117 __wsum (*update)(const void *mem, int len, __wsum wsum);
4118 __wsum (*combine)(__wsum csum, __wsum csum2, int offset, int len);
4123 __wsum __skb_checksu
[all...]
/linux-master/arch/arm64/lib/
H A Dcsum.c134 __u32 len, __u8 proto, __wsum csum)
155 return csum_fold((__force __wsum)(sum >> 32));
/linux-master/drivers/infiniband/sw/siw/
H A Dsiw.h674 static inline __wsum siw_csum_update(const void *buff, int len, __wsum sum)
676 return (__force __wsum)crc32c((__force __u32)sum, buff, len);
679 static inline __wsum siw_csum_combine(__wsum csum, __wsum csum2, int offset,
682 return (__force __wsum)__crc32c_le_combine((__force __u32)csum,
692 __wsum crc = *(u32 *)shash_desc_ctx(srx->mpa_crc_hd);
/linux-master/tools/testing/selftests/bpf/
H A Dnetwork_helpers.h85 __wsum csum)
101 __wsum csum)
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdping_kern.c44 static __always_inline __u16 csum_fold_helper(__wsum sum)
52 __wsum sum;
/linux-master/arch/riscv/lib/
H A Dcsum.c22 __u32 len, __u8 proto, __wsum csum)
77 return csum_fold((__force __wsum)sum);
/linux-master/arch/alpha/lib/
H A Dcsum_partial_copy.c316 static __wsum __csum_and_copy(const void __user *src, void *dst, int len)
346 return (__force __wsum)from64to16 (checksum);
349 __wsum
357 __wsum
/linux-master/net/core/
H A Dutils.c432 (__force __wsum)from),
433 (__force __wsum)to);
436 (__force __wsum)from),
437 (__force __wsum)to));
476 __wsum diff, bool pseudohdr)
H A Ddatagram.c742 __wsum next, *csum = priv2;
753 __wsum *csum = priv2;
754 __wsum next = csum_partial_copy_nocheck(from + progress, iter_to, len);
761 __wsum csum;
769 __wsum sum;
803 __wsum *csump)
832 __wsum csum;
/linux-master/include/net/
H A Dudp.h130 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb)
132 __wsum csum = csum_partial(skb_transport_header(skb),
140 static inline __wsum udp_csum(struct sk_buff *skb)
142 __wsum csum = csum_partial(skb_transport_header(skb),
152 __be32 daddr, __wsum base)
H A Dping.h53 __wsum wcheck;
H A Dip_vs.h1716 static inline __wsum ip_vs_check_diff4(__be32 old, __be32 new, __wsum oldsum)
1724 static inline __wsum ip_vs_check_diff16(const __be32 *old, const __be32 *new,
1725 __wsum oldsum)
1734 static inline __wsum ip_vs_check_diff2(__be16 old, __be16 new, __wsum oldsum)
/linux-master/net/sunrpc/
H A Dsocklib.c31 __wsum csum;
69 __wsum csum2;
185 __wsum csum2;
/linux-master/net/ipv4/
H A Dtcp_offload.c69 __wsum delta;
114 delta = (__force __wsum)htonl(oldlen + thlen + mss);
168 delta = (__force __wsum)htonl(oldlen +
H A Dudp_offload.c30 __wsum partial;
43 partial = (__force __wsum)uh->len;
45 partial = (__force __wsum)htonl(skb->len);
137 (__force __wsum)htonl(len)));
381 __wsum csum;
/linux-master/drivers/net/ethernet/sfc/
H A Drx_common.h85 unsigned int n_frags, u8 *eh, __wsum csum);
H A Def100_rx.c64 __wsum csum = 0;
127 csum = (__force __wsum) sum;
/linux-master/drivers/net/ethernet/sfc/siena/
H A Drx_common.h79 unsigned int n_frags, u8 *eh, __wsum csum);
/linux-master/net/sctp/
H A Doffload.c34 SKB_GSO_CB(skb)->csum = (__force __wsum)~0;
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c569 static inline __wsum get_fixed_vlan_csum(__wsum hw_checksum,
572 return csum_add(hw_checksum, *(__wsum *)vlanh);
579 static int get_fixed_ipv4_csum(__wsum hw_checksum, struct sk_buff *skb,
583 __wsum csum_pseudo_header = 0;
601 static int get_fixed_ipv6_csum(__wsum hw_checksum, struct sk_buff *skb,
605 __wsum temp;
613 temp = csum_add(hw_checksum, *(__wsum *)ipv6h);
615 skb->csum = csum_add(temp, (__force __wsum)*(__be16 *)&ipv6h->nexthdr);
628 __wsum hw_checksu
[all...]
/linux-master/net/netfilter/
H A Dnft_payload.c690 static inline void nft_csum_replace(__sum16 *sum, __wsum fsum, __wsum tsum)
752 __wsum fsum, __wsum tsum)
788 __wsum fsum, __wsum tsum, int csum_offset)
821 __wsum fsum, tsum;
H A Dxt_TCPMSS.c242 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)oldlen),
243 (__force __wsum)newlen);
/linux-master/tools/virtio/linux/
H A Dkernel.h36 typedef unsigned int __wsum; typedef
/linux-master/fs/nfsd/
H A Dnfscache.c88 nfsd_cacherep_alloc(struct svc_rqst *rqstp, __wsum csum,
365 static __wsum nfsd_cache_csum(struct xdr_buf *buf, unsigned int start,
370 __wsum csum = 0;
484 __wsum csum;

Completed in 571 milliseconds

123456