Home
last modified time | relevance | path

Searched refs:csum_fold (Results 1 – 23 of 23) sorted by relevance

/arch/arc/include/asm/
Dchecksum.h25 static inline __sum16 csum_fold(__wsum s) in csum_fold() function
62 return csum_fold(sum); in ip_fast_csum()
92 #define csum_fold csum_fold macro
/arch/arm64/include/asm/
Dchecksum.h15 static inline __sum16 csum_fold(__wsum csum) in csum_fold() function
21 #define csum_fold csum_fold macro
40 return csum_fold((__force u32)(sum >> 32)); in ip_fast_csum()
/arch/mips/include/asm/
Dchecksum.h77 static inline __sum16 csum_fold(__wsum csum) in csum_fold() function
88 #define csum_fold csum_fold macro
125 return csum_fold(csum); in ip_fast_csum()
180 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
248 return csum_fold(sum); in csum_ipv6_magic()
/arch/arm/include/asm/
Dchecksum.h57 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
95 return csum_fold(sum); in ip_fast_csum()
139 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
150 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
162 return csum_fold(__csum_ipv6_magic(saddr, daddr, htonl(len), in csum_ipv6_magic()
/arch/sh/include/asm/
Dchecksum_32.h62 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
110 return csum_fold(sum); in ip_fast_csum()
143 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
152 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
187 return csum_fold(sum); in csum_ipv6_magic()
/arch/csky/include/asm/
Dchecksum.h10 static inline __sum16 csum_fold(__wsum csum) in csum_fold() function
24 #define csum_fold csum_fold macro
/arch/xtensa/include/asm/
Dchecksum.h67 static __inline__ __sum16 csum_fold(__wsum sum) in csum_fold() function
120 return csum_fold(sum); in ip_fast_csum()
160 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
170 return csum_fold (csum_partial(buff, len, 0)); in ip_compute_csum()
233 return csum_fold(sum); in csum_ipv6_magic()
/arch/m68k/include/asm/
Dchecksum.h67 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
105 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
115 return csum_fold (csum_partial(buff, len, 0)); in ip_compute_csum()
146 return csum_fold(sum); in csum_ipv6_magic()
/arch/parisc/include/asm/
Dchecksum.h63 static inline __sum16 csum_fold(__wsum csum) in csum_fold() function
96 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
105 return csum_fold (csum_partial(buf, len, 0)); in ip_compute_csum()
173 return csum_fold(sum); in csum_ipv6_magic()
/arch/s390/include/asm/
Dchecksum.h45 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
71 return csum_fold((__force __wsum)(csum >> 32)); in ip_fast_csum()
98 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
106 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
127 return csum_fold((__force __wsum)(sum >> 32)); in csum_ipv6_magic()
/arch/sparc/include/asm/
Dchecksum_64.h51 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
89 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
123 return csum_fold(sum); in csum_ipv6_magic()
129 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
Dchecksum_32.h118 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
155 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
189 return csum_fold(sum); in csum_ipv6_magic()
195 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
/arch/x86/include/asm/
Dchecksum_32.h99 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
131 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
141 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
165 return csum_fold(sum); in csum_ipv6_magic()
Dchecksum_64.h23 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
117 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
/arch/x86/um/asm/
Dchecksum_32.h10 return csum_fold (csum_partial(buff, len, 0)); in ip_compute_csum()
35 return csum_fold(sum); in csum_ipv6_magic()
Dchecksum.h31 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
75 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
/arch/nios2/include/asm/
Dchecksum.h21 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
67 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
/arch/powerpc/include/asm/
Dchecksum.h39 static inline __sum16 csum_fold(__wsum sum) in csum_fold() function
90 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
149 return csum_fold(ip_fast_csum_nofold(iph, ihl)); in ip_fast_csum()
205 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
/arch/ia64/include/asm/
Dchecksum.h49 static inline __sum16 csum_fold(__wsum csum) in csum_fold() function
/arch/alpha/include/asm/
Dchecksum.h62 static inline __sum16 csum_fold(__wsum csum) in csum_fold() function
/arch/x86/lib/
Dcsum-wrappers_64.c96 return csum_fold( in csum_ipv6_magic()
Dcsum-partial_64.c147 return csum_fold(csum_partial(buff,len,0)); in ip_compute_csum()
/arch/arm64/lib/
Dcsum.c155 return csum_fold((__force __wsum)(sum >> 32)); in csum_ipv6_magic()