Home
last modified time | relevance | path

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

1234

/arch/x86/um/asm/
Dchecksum.h31 int len, __wsum sum) in csum_partial_copy_nocheck()
47 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
65 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
90 unsigned short proto, __wsum sum) in csum_tcpudp_nofold()
108 __wsum sum) in csum_tcpudp_magic()
120 unsigned int sum; in ip_fast_csum() local
/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()
117 __wsum sum) in csum_tcpudp_nofold()
136 __wsum sum) in csum_tcpudp_magic()
155 __wsum sum) in csum_ipv6_magic()
182 int len, __wsum sum, in csum_and_copy_to_user()
Dchecksum_64.h22 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
47 unsigned int sum; in ip_fast_csum() local
88 unsigned short proto, __wsum sum) in csum_tcpudp_nofold()
114 unsigned short proto, __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
128 __wsum sum) in csum_tcpudp_nofold()
162 __wsum sum) in csum_tcpudp_magic()
181 __wsum sum) in csum_ipv6_magic()
246 __wsum sum, int *err_ptr) in csum_and_copy_to_user()
/arch/sh/include/asm/
Dchecksum_32.h49 int len, __wsum sum) in csum_partial_copy_nocheck()
56 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
66 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
91 unsigned int sum, __dummy0, __dummy1; in ip_fast_csum() local
120 __wsum sum) in csum_tcpudp_nofold()
147 __wsum sum) in csum_tcpudp_magic()
165 __wsum sum) in csum_ipv6_magic()
203 int len, __wsum sum, in csum_and_copy_to_user()
/arch/sparc/include/asm/
Dchecksum_32.h44 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
63 __wsum sum, int *err) in csum_partial_copy_from_user()
87 __wsum sum, int *err) in csum_partial_copy_to_user()
123 __sum16 sum; in ip_fast_csum() local
158 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
175 __wsum sum) in csum_tcpudp_nofold()
195 __wsum sum) in csum_tcpudp_magic()
205 __wsum sum) in csum_ipv6_magic()
Dchecksum_64.h50 __wsum sum, int *err) in csum_partial_copy_from_user()
69 __wsum sum, int *err) in csum_and_copy_to_user()
83 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
101 __wsum sum) in csum_tcpudp_nofold()
121 __wsum sum) in csum_tcpudp_magic()
131 __wsum sum) in csum_ipv6_magic()
/arch/avr32/include/asm/
Dchecksum.h45 int len, __wsum sum) in csum_partial_copy_nocheck()
52 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
64 unsigned int sum, tmp; in ip_fast_csum() local
98 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
116 __wsum sum) in csum_tcpudp_nofold()
137 __wsum sum) in csum_tcpudp_magic()
/arch/mn10300/lib/
Dchecksum.c19 static inline unsigned short from32to16(__wsum sum) in from32to16()
36 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
54 __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy()
62 int len, __wsum sum) in csum_partial_copy_nocheck()
71 int len, __wsum sum, in csum_partial_copy_from_user()
87 int len, __wsum sum, in csum_and_copy_to_user()
/arch/parisc/include/asm/
Dchecksum.h43 unsigned int sum; in ip_fast_csum() local
78 u32 sum = (__force u32)csum; in csum_fold() local
90 __wsum sum) in csum_tcpudp_nofold()
109 __wsum sum) in csum_tcpudp_magic()
128 __wsum sum) in csum_ipv6_magic()
195 int len, __wsum sum, in csum_and_copy_to_user()
/arch/s390/include/asm/
Dchecksum.h29 csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
51 int len, __wsum sum, in csum_partial_copy_from_user()
61 csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
70 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
96 __wsum sum) in csum_tcpudp_nofold()
123 __wsum sum) in csum_tcpudp_magic()
/arch/score/include/asm/
Dchecksum.h36 __wsum sum, int *err_ptr) in csum_and_copy_to_user()
52 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
85 unsigned int sum; in ip_fast_csum() local
131 unsigned short proto, __wsum sum) in csum_tcpudp_nofold()
165 unsigned short proto, __wsum sum) in csum_tcpudp_magic()
184 __wsum sum) in csum_ipv6_magic()
/arch/frv/include/asm/
Dchecksum.h57 unsigned int tmp, inc, sum = 0; in ip_fast_csum() local
87 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
109 unsigned short proto, __wsum sum) in csum_tcpudp_nofold()
124 unsigned short proto, __wsum sum) in csum_tcpudp_magic()
138 __u32 len, unsigned short proto, __wsum sum) in csum_ipv6_magic()
/arch/arm/include/asm/
Dchecksum.h45 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
63 __wsum sum; in ip_fast_csum() local
88 unsigned short proto, __wsum sum) in csum_tcpudp_nofold()
125 unsigned short proto, __wsum sum) in csum_tcpudp_magic()
148 unsigned short proto, __wsum sum) in csum_ipv6_magic()
/arch/m68k/include/asm/
Dchecksum.h47 unsigned int sum = 0; in ip_fast_csum() local
66 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
82 unsigned short proto, __wsum sum) in csum_tcpudp_nofold()
102 unsigned short proto, __wsum sum) in csum_tcpudp_magic()
120 __u32 len, unsigned short proto, __wsum sum) in csum_ipv6_magic()
/arch/metag/include/asm/
Dchecksum.h37 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
45 u32 sum = (__force u32)csum; in csum_fold() local
64 __wsum sum) in csum_tcpudp_nofold()
82 unsigned short proto, __wsum sum) in csum_tcpudp_magic()
/arch/m32r/include/asm/
Dchecksum.h57 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
82 __wsum sum; in ip_fast_csum() local
119 __wsum sum) in csum_tcpudp_nofold()
150 __wsum sum) in csum_tcpudp_magic()
169 __wsum sum) in csum_ipv6_magic()
/arch/powerpc/include/asm/
Dchecksum.h71 #define csum_partial_copy_from_user(src, dst, len, sum, errp) \ argument
75 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
83 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
107 __wsum sum) in csum_tcpudp_nofold()
/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()
219 __wsum sum) in csum_ipv6_magic()
/arch/mn10300/include/asm/
Dchecksum.h28 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
44 __wsum sum) in csum_tcpudp_nofold()
71 __wsum sum) in csum_tcpudp_magic()
/arch/ia64/lib/
Dchecksum.c38 unsigned short proto, __wsum sum) in csum_tcpudp_magic()
49 unsigned short proto, __wsum sum) in csum_tcpudp_nofold()
79 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
/arch/m68k/lib/
Dchecksum.c42 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
137 int len, __wsum sum, int *csum_err) in csum_partial_copy_from_user()
331 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
/arch/m32r/lib/
Dcsum_partial_copy.c31 csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
46 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
/arch/score/lib/
Dchecksum_copy.c31 int len, unsigned int sum) in csum_partial_copy()
40 int len, unsigned int sum, in csum_partial_copy_from_user()
/arch/frv/lib/
Dchecksum.c107 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
136 int len, __wsum sum, int *csum_err) in csum_partial_copy_from_user()
160 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()

1234