Searched refs:__wsum (Results 1 - 25 of 133) sorted by relevance

123456

/linux-master/arch/x86/include/asm/
H A Dchecksum_64.h23 static inline __sum16 csum_fold(__wsum sum)
87 static inline __wsum
89 __u8 proto, __wsum sum)
115 __wsum sum)
130 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
133 extern __visible __wsum csum_partial_copy_generic(const void *src, void *dst, int len);
135 extern __wsum csum_and_copy_from_user(const void __user *src, void *dst, int len);
136 extern __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len);
137 extern __wsum csum_partial_copy_nochec
[all...]
H A Dchecksum_32.h20 asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum);
30 asmlinkage __wsum csum_partial_copy_generic(const void *src, void *dst, int len);
39 static inline __wsum csum_partial_copy_nocheck(const void *src, void *dst, int len)
44 static inline __wsum csum_and_copy_from_user(const void __user *src,
47 __wsum ret;
99 static inline __sum16 csum_fold(__wsum sum)
109 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
111 __wsum sum)
129 __wsum su
[all...]
/linux-master/include/net/
H A Dchecksum.h26 __wsum csum_and_copy_from_user (const void __user *src, void *dst,
36 static __always_inline __wsum csum_and_copy_to_user
39 __wsum sum = csum_partial(src, len, ~0U);
48 static __always_inline __wsum
57 static __always_inline __wsum csum_add(__wsum csum, __wsum addend)
61 return (__force __wsum)(res + (res < (__force u32)addend));
65 static __always_inline __wsum csum_sub(__wsum csu
[all...]
/linux-master/arch/ia64/include/asm/
H A Dchecksum.h21 __u32 len, __u8 proto, __wsum sum);
23 extern __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
24 __u32 len, __u8 proto, __wsum sum);
38 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
49 static inline __sum16 csum_fold(__wsum csum)
61 __u32 len, __u8 proto, __wsum csum);
/linux-master/arch/arm/include/asm/
H A Dchecksum.h27 __wsum csum_partial(const void *buff, int len, __wsum sum);
37 __wsum
40 __wsum
46 __wsum csum_and_copy_from_user(const void __user *src, void *dst, int len)
57 static inline __sum16 csum_fold(__wsum sum)
75 __wsum sum;
98 static inline __wsum
100 __u8 proto, __wsum sum)
137 __u8 proto, __wsum su
[all...]
/linux-master/arch/sparc/include/asm/
H A Dchecksum_64.h33 __wsum csum_partial(const void * buff, int len, __wsum sum);
41 __wsum csum_partial_copy_nocheck(const void *src, void *dst, int len);
42 __wsum csum_and_copy_from_user(const void __user *src, void *dst, int len);
43 __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len);
51 static inline __sum16 csum_fold(__wsum sum)
66 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
68 __wsum sum)
87 __wsum sum)
96 __u32 len, __u8 proto, __wsum su
[all...]
H A Dchecksum_32.h33 __wsum csum_partial(const void *buff, int len, __wsum sum);
44 static inline __wsum
59 return (__force __wsum)ret;
62 static inline __wsum
70 static inline __wsum
118 static inline __sum16 csum_fold(__wsum sum)
132 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
134 __wsum sum)
153 __wsum su
[all...]
/linux-master/arch/m68k/lib/
H A Dchecksum.c38 __wsum csum_partial(const void *buff, int len, __wsum sum)
131 __wsum
140 __wsum sum = ~0U;
275 __wsum
279 __wsum sum = 0;
/linux-master/arch/nios2/include/asm/
H A Dchecksum.h14 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
21 static inline __sum16 csum_fold(__wsum sum)
40 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
42 __wsum sum)
65 __wsum sum)
/linux-master/include/asm-generic/
H A Dchecksum.h17 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
31 static inline __sum16 csum_fold(__wsum csum)
45 extern __wsum
47 __u8 proto, __wsum sum);
53 __u8 proto, __wsum sum)
/linux-master/arch/hexagon/include/asm/
H A Dchecksum.h17 __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
18 __u32 len, __u8 proto, __wsum sum);
22 __u32 len, __u8 proto, __wsum sum);
/linux-master/include/net/sctp/
H A Dchecksum.h31 static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum)
36 return (__force __wsum)crc32c((__force __u32)sum, buff, len);
39 static inline __wsum sctp_csum_combine(__wsum csum, __wsum csum2,
42 return (__force __wsum)__crc32c_le_combine((__force __u32)csum,
56 __wsum new;
59 new = ~__skb_checksum(skb, offset, skb->len - offset, ~(__wsum)0,
/linux-master/arch/alpha/include/asm/
H A Dchecksum.h18 __u32 len, __u8 proto, __wsum sum);
20 __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
21 __u32 len, __u8 proto, __wsum sum);
35 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
46 __wsum csum_and_copy_from_user(const void __user *src, void *dst, int len);
48 __wsum csum_partial_copy_nocheck(const void *src, void *dst, int len);
62 static inline __sum16 csum_fold(__wsum csum)
73 __u32 len, __u8 proto, __wsum sum);
/linux-master/arch/mips/include/asm/
H A Dchecksum.h35 __wsum csum_partial(const void *buff, int len, __wsum sum);
37 __wsum __csum_partial_copy_from_user(const void __user *src, void *dst, int len);
38 __wsum __csum_partial_copy_to_user(const void *src, void __user *dst, int len);
42 __wsum csum_and_copy_from_user(const void __user *src, void *dst, int len)
55 __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len)
68 __wsum __csum_partial_copy_nocheck(const void *src, void *dst, int len);
69 static inline __wsum csum_partial_copy_nocheck(const void *src, void *dst, int len)
77 static inline __sum16 csum_fold(__wsum csum)
82 csum = (__force __wsum)(su
[all...]
/linux-master/arch/microblaze/include/asm/
H A Dchecksum.h15 static inline __wsum
17 __u8 proto, __wsum sum)
/linux-master/arch/powerpc/include/asm/
H A Dchecksum.h21 extern __wsum csum_partial_copy_generic(const void *src, void *dst, int len);
24 extern __wsum csum_and_copy_from_user(const void __user *src, void *dst,
27 extern __wsum csum_and_copy_to_user(const void *src, void __user *dst,
39 static inline __sum16 csum_fold(__wsum sum)
56 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len,
57 __u8 proto, __wsum sum)
69 return (__force __wsum) from64to32(s);
88 __u8 proto, __wsum sum)
94 static __always_inline __wsum csum_add(__wsum csu
[all...]
/linux-master/arch/x86/lib/
H A Dcsum-wrappers_64.c23 __wsum
26 __wsum sum;
48 __wsum
51 __wsum sum;
71 __wsum
80 __u32 len, __u8 proto, __wsum sum)
97 (__force __wsum)add32_with_carry(sum64 & 0xffffffff, sum64>>32));
/linux-master/arch/parisc/include/asm/
H A Dchecksum.h19 extern __wsum csum_partial(const void *, int, __wsum);
63 static inline __sum16 csum_fold(__wsum csum)
74 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
76 __wsum sum)
94 __wsum sum)
113 __wsum sum)
/linux-master/arch/m68k/include/asm/
H A Dchecksum.h23 __wsum csum_partial(const void *buff, int len, __wsum sum);
35 extern __wsum csum_and_copy_from_user(const void __user *src,
39 extern __wsum csum_partial_copy_nocheck(const void *src,
67 static inline __sum16 csum_fold(__wsum sum)
81 static inline __wsum
83 unsigned short proto, __wsum sum)
103 unsigned short proto, __wsum sum)
121 __u32 len, __u8 proto, __wsum sum)
/linux-master/arch/csky/include/asm/
H A Dchecksum.h9 static inline __sum16 csum_fold(__wsum csum)
25 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
26 unsigned short len, unsigned short proto, __wsum sum)
/linux-master/arch/sh/include/asm/
H A Dchecksum_32.h23 asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum);
33 asmlinkage __wsum csum_partial_copy_generic(const void *src, void *dst, int len);
44 __wsum csum_partial_copy_nocheck(const void *src, void *dst, int len)
51 __wsum csum_and_copy_from_user(const void __user *src, void *dst, int len)
62 static inline __sum16 csum_fold(__wsum sum)
87 __wsum sum;
114 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
116 __wsum sum)
142 __wsum su
[all...]
/linux-master/arch/powerpc/lib/
H A Dchecksum_wrappers.c14 __wsum csum_and_copy_from_user(const void __user *src, void *dst,
17 __wsum csum;
29 __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len)
31 __wsum csum;
/linux-master/arch/xtensa/include/asm/
H A Dchecksum.h30 asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum);
40 asmlinkage __wsum csum_partial_copy_generic(const void *src, void *dst, int len);
48 __wsum csum_partial_copy_nocheck(const void *src, void *dst, int len)
55 __wsum csum_and_copy_from_user(const void __user *src, void *dst,
67 static __inline__ __sum16 csum_fold(__wsum sum)
123 static __inline__ __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
125 __wsum sum)
158 __wsum sum)
177 __wsum su
[all...]
/linux-master/arch/x86/um/asm/
H A Dchecksum.h21 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
31 static inline __sum16 csum_fold(__wsum sum)
54 static inline __wsum
56 __u8 proto, __wsum sum)
73 __wsum sum)
/linux-master/arch/s390/include/asm/
H A Dchecksum.h30 static inline __wsum csum_partial(const void *buff, int len, __wsum sum)
47 static inline __sum16 csum_fold(__wsum sum)
73 return csum_fold((__force __wsum)(csum >> 32));
80 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len,
81 __u8 proto, __wsum sum)
90 return (__force __wsum)(csum >> 32);
98 __u8 proto, __wsum sum)
114 __u32 len, __u8 proto, __wsum csum)
129 return csum_fold((__force __wsum)(su
[all...]

Completed in 145 milliseconds

123456