Home
last modified time | relevance | path

Searched refs:do_csum (Results 1 – 19 of 19) sorted by relevance

/arch/blackfin/lib/
Dchecksum.c37 static unsigned short do_csum(const unsigned char *buff, int len)__attribute__((l1_text));
40 static unsigned short do_csum(const unsigned char *buff, int len) in do_csum() function
78 return (__force __sum16)~do_csum(iph, ihl * 4); in ip_fast_csum()
103 sum += do_csum(buff, len); in csum_partial()
117 return (__force __sum16)~do_csum(buff, len); in ip_compute_csum()
/arch/m68knommu/lib/
Dchecksum.c46 static unsigned long do_csum(const unsigned char * buff, int len) in do_csum() function
101 return (__force __sum16)~do_csum(iph,ihl*4); in ip_fast_csum()
118 unsigned int result = do_csum(buff, len); in csum_partial()
135 return (__force __sum16)~do_csum(buff,len); in ip_compute_csum()
/arch/h8300/lib/
Dchecksum.c46 static unsigned long do_csum(const unsigned char * buff, int len) in do_csum() function
101 return (__force __sum16)~do_csum(iph,ihl*4); in ip_fast_csum()
122 unsigned int result = do_csum(buff, len); in csum_partial()
139 return (__force __sum16)~do_csum(buff,len); in ip_compute_csum()
/arch/ia64/lib/
Dchecksum.c65 extern unsigned long do_csum (const unsigned char *, long);
81 u64 result = do_csum(buff, len); in csum_partial()
98 return (__force __sum16)~do_csum(buff,len); in ip_compute_csum()
Dcsum_partial_copy.c105 extern unsigned long do_csum(const unsigned char *, long);
122 result = do_csum(dst, len); in csum_partial_copy_from_user()
DMakefile11 flush.o ip_fast_csum.o do_csum.o \
Ddo_csum.S126 GLOBAL_ENTRY(do_csum)
323 END(do_csum)
Dip_fast_csum.S88 br.call.sptk.many b0=do_csum
/arch/mn10300/lib/
Ddo_csum.S18 # unsigned int do_csum(const unsigned char *buff, size_t len)
21 .globl do_csum symbol
22 .type do_csum,@function
23 do_csum: label
162 .size do_csum, do_csum_end-do_csum
Dchecksum.c31 return ~do_csum(iph, ihl * 4); in ip_fast_csum()
39 result = do_csum(buff, len); in csum_partial()
49 return ~from32to16(do_csum(buff, len)); in ip_compute_csum()
Dinternal.h15 extern unsigned int do_csum(const unsigned char *, size_t);
DMakefile6 lib-y += do_csum.o
/arch/alpha/lib/
Dchecksum.c81 static inline unsigned long do_csum(const unsigned char * buff, int len) in do_csum() function
149 return (__force __sum16)~do_csum(iph,ihl*4); in ip_fast_csum()
166 unsigned long result = do_csum(buff, len); in csum_partial()
183 return (__force __sum16)~from64to16(do_csum(buff,len)); in ip_compute_csum()
/arch/frv/lib/
Dchecksum.c46 static unsigned long do_csum(const unsigned char * buff, int len) in do_csum() function
109 unsigned int result = do_csum(buff, len); in csum_partial()
126 return (__force __sum16)~do_csum(buff, len); in ip_compute_csum()
/arch/x86/lib/
Dcsum-partial_64.c34 static unsigned do_csum(const unsigned char *buff, unsigned len) in do_csum() function
135 return (__force __wsum)add32_with_carry(do_csum(buff, len), in csum_partial()
/arch/sh/lib64/
Dc-checksum.c55 static unsigned long do_csum(const unsigned char *buff, int len) in do_csum() function
121 unsigned long long result = do_csum(buff, len); in csum_partial()
187 return (__force __sum16)~do_csum(iph, ihl * 4); in ip_fast_csum()
/arch/parisc/lib/
Dchecksum.c43 static inline unsigned int do_csum(const unsigned char * buff, int len) in do_csum() function
109 unsigned int result = do_csum(buff, len); in csum_partial()
/arch/cris/include/arch-v32/arch/
Dcryptocop.h112 unsigned char do_csum:1; member
/arch/cris/arch-v32/drivers/
Dcryptocop.c2393 if (crp_op->do_csum && (crp_op->csum_start < ch_ix)) ch_ix = crp_op->csum_start; in first_cfg_change_ix()
2420 if (crp_op->do_csum && ((crp_op->csum_start + crp_op->csum_len) > ix)){ in next_cfg_change_ix()
2675 if (oper.do_csum){ in cryptocop_ioctl_process()
2775 if (oper.do_csum) cop->tfrm_op.outlen += 2; in cryptocop_ioctl_process()
2839 if (oper.do_csum && (oper.csum_start < next_ix) && (prev_ix < (oper.csum_start + oper.csum_len))){ in cryptocop_ioctl_process()
2875 if (oper.do_csum) { in cryptocop_ioctl_process()
2927 if (oper.do_csum){ in cryptocop_ioctl_process()
3266 cop->do_csum, in print_strcop_crypto_op()