Home
last modified time | relevance | path

Searched defs:sum (Results 1 – 25 of 66) sorted by relevance

123

/arch/x86/um/asm/
Dchecksum.h33 int len, __wsum sum) in csum_partial_copy_nocheck()
49 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
67 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
92 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
109 __wsum sum) in csum_tcpudp_magic()
121 unsigned int sum; in ip_fast_csum() local
Dchecksum_32.h17 __wsum sum) in csum_ipv6_magic()
44 int len, __wsum sum, int *err_ptr) in csum_and_copy_to_user()
/arch/x86/include/asm/
Dchecksum_32.h42 int len, __wsum sum) in csum_partial_copy_nocheck()
49 int len, __wsum sum, in csum_partial_copy_from_user()
72 unsigned int sum; in ip_fast_csum() local
104 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
116 __wsum sum) in csum_tcpudp_nofold()
134 __wsum sum) in csum_tcpudp_magic()
152 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
179 int len, __wsum sum, in csum_and_copy_to_user()
Dchecksum_64.h23 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
48 unsigned int sum; in ip_fast_csum() local
89 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
115 __wsum sum) in csum_tcpudp_magic()
/arch/xtensa/include/asm/
Dchecksum.h52 int len, __wsum sum) in csum_partial_copy_nocheck()
59 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
69 static __inline__ __sum16 csum_fold(__wsum sum) in csum_fold()
92 unsigned int sum, tmp, endaddr; in ip_fast_csum() local
127 __wsum sum) in csum_tcpudp_nofold()
160 __wsum sum) in csum_tcpudp_magic()
179 __wsum sum) in csum_ipv6_magic()
244 __wsum sum, int *err_ptr) in csum_and_copy_to_user()
/arch/sparc/include/asm/
Dchecksum_32.h45 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
64 __wsum sum, int *err) in csum_partial_copy_from_user()
88 __wsum sum, int *err) in csum_partial_copy_to_user()
124 __sum16 sum; in ip_fast_csum() local
159 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
175 __wsum sum) in csum_tcpudp_nofold()
194 __wsum sum) in csum_tcpudp_magic()
203 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
Dchecksum_64.h51 __wsum sum, int *err) in csum_partial_copy_from_user()
70 __wsum sum, int *err) in csum_and_copy_to_user()
84 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
101 __wsum sum) in csum_tcpudp_nofold()
120 __wsum sum) in csum_tcpudp_magic()
129 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/arch/sh/include/asm/
Dchecksum_32.h46 int len, __wsum sum) in csum_partial_copy_nocheck()
53 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
63 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
88 unsigned int sum, __dummy0, __dummy1; in ip_fast_csum() local
116 __wsum sum) in csum_tcpudp_nofold()
142 __wsum sum) in csum_tcpudp_magic()
159 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
197 int len, __wsum sum, in csum_and_copy_to_user()
/arch/s390/include/asm/
Dchecksum.h30 csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
52 int len, __wsum sum, in csum_partial_copy_from_user()
62 csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
71 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
96 __wsum sum) in csum_tcpudp_nofold()
122 __wsum sum) in csum_tcpudp_magic()
/arch/nios2/include/asm/
Dchecksum.h19 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
28 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
49 __wsum sum) in csum_tcpudp_nofold()
72 __wsum sum) in csum_tcpudp_magic()
/arch/arm/include/asm/
Dchecksum.h46 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
64 __wsum sum; in ip_fast_csum() local
89 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
126 __u8 proto, __wsum sum) in csum_tcpudp_magic()
149 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/arch/m68k/include/asm/
Dchecksum.h48 unsigned int sum = 0; in ip_fast_csum() local
67 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
83 unsigned short proto, __wsum sum) in csum_tcpudp_nofold()
103 unsigned short proto, __wsum sum) in csum_tcpudp_magic()
121 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/arch/parisc/include/asm/
Dchecksum.h44 unsigned int sum; in ip_fast_csum() local
80 u32 sum = (__force u32)csum; in csum_fold() local
91 __wsum sum) in csum_tcpudp_nofold()
109 __wsum sum) in csum_tcpudp_magic()
128 __wsum sum) in csum_ipv6_magic()
199 int len, __wsum sum, in csum_and_copy_to_user()
/arch/powerpc/include/asm/
Dchecksum.h32 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
40 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
58 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
89 __u8 proto, __wsum sum) in csum_tcpudp_magic()
132 __wsum sum, tmp; in ip_fast_csum_nofold() local
167 static inline __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
/arch/mips/include/asm/
Dchecksum.h50 __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
64 int len, __wsum sum, int *err_ptr) in csum_and_copy_from_user()
81 __wsum sum, int *err_ptr) in csum_and_copy_to_user()
113 u32 sum = (__force u32)csum; in csum_fold() local
165 __wsum sum) in csum_tcpudp_nofold()
221 __wsum sum) in csum_ipv6_magic()
/arch/ia64/lib/
Dchecksum.c39 __u8 proto, __wsum sum) in csum_tcpudp_magic()
50 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
80 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
/arch/m68k/lib/
Dchecksum.c38 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
133 int len, __wsum sum, int *csum_err) in csum_partial_copy_from_user()
327 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
/arch/arm64/include/asm/
Dchecksum.h12 u32 sum = (__force u32)csum; in csum_fold() local
21 u64 sum; in ip_fast_csum() local
/arch/powerpc/lib/
Dchecksum_wrappers.c15 int len, __wsum sum, int *err_ptr) in csum_and_copy_from_user()
58 __wsum sum, int *err_ptr) in csum_and_copy_to_user()
/arch/parisc/lib/
Dchecksum.c101 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
114 int len, __wsum sum) in csum_partial_copy_nocheck()
133 __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
/arch/arc/include/asm/
Dchecksum.h41 unsigned int tmp, tmp2, sum; in ip_fast_csum() local
71 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
/arch/alpha/lib/
Dchecksum.c46 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_magic()
55 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold()
163 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
/arch/hexagon/lib/
Dchecksum.c36 u64 sum; in from64to16() local
51 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_magic()
59 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold()
184 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
/arch/sparc/lib/
Dchecksum_32.S20 #define CSUM_BIGCHUNK(buf, offset, sum, t0, t1, t2, t3, t4, t5) \ argument
34 #define CSUM_LASTCHUNK(buf, offset, sum, t0, t1, t2, t3) \ argument
194 #define CSUMCOPY_BIGCHUNK_ALIGNED(src, dst, sum, off, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
216 #define CSUMCOPY_BIGCHUNK(src, dst, sum, off, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
239 #define CSUMCOPY_LASTCHUNK(src, dst, sum, off, t0, t1, t2, t3) \ argument
/arch/alpha/include/asm/
Dchecksum.h62 u32 sum = (__force u32)csum; in csum_fold() local

123