/arch/blackfin/lib/ |
D | checksum.c | 37 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/ |
D | checksum.c | 46 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/ |
D | checksum.c | 46 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/ |
D | checksum.c | 65 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()
|
D | csum_partial_copy.c | 105 extern unsigned long do_csum(const unsigned char *, long); 122 result = do_csum(dst, len); in csum_partial_copy_from_user()
|
D | Makefile | 11 flush.o ip_fast_csum.o do_csum.o \
|
D | do_csum.S | 126 GLOBAL_ENTRY(do_csum) 323 END(do_csum)
|
D | ip_fast_csum.S | 88 br.call.sptk.many b0=do_csum
|
/arch/mn10300/lib/ |
D | do_csum.S | 18 # 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
|
D | checksum.c | 31 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()
|
D | internal.h | 15 extern unsigned int do_csum(const unsigned char *, size_t);
|
D | Makefile | 6 lib-y += do_csum.o
|
/arch/alpha/lib/ |
D | checksum.c | 81 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/ |
D | checksum.c | 46 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/ |
D | csum-partial_64.c | 34 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/ |
D | c-checksum.c | 55 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/ |
D | checksum.c | 43 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/ |
D | cryptocop.h | 112 unsigned char do_csum:1; member
|
/arch/cris/arch-v32/drivers/ |
D | cryptocop.c | 2393 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()
|