| /Linux-v5.4/arch/hexagon/include/asm/ |
| D | checksum.h | 9 #define do_csum do_csum macro 10 unsigned int do_csum(const void *voidptr, int len);
|
| /Linux-v5.4/lib/ |
| D | checksum.c | 36 #ifndef do_csum 46 static unsigned int do_csum(const unsigned char *buff, int len) in do_csum() function 108 return (__force __sum16)~do_csum(iph, ihl*4); in ip_fast_csum() 128 unsigned int result = do_csum(buff, len); in csum_partial() 144 return (__force __sum16)~do_csum(buff, len); in ip_compute_csum()
|
| /Linux-v5.4/arch/alpha/lib/ |
| D | checksum.c | 79 static inline unsigned long do_csum(const unsigned char * buff, int len) in do_csum() function 147 return (__force __sum16)~do_csum(iph,ihl*4); in ip_fast_csum() 165 unsigned long result = do_csum(buff, len); in csum_partial() 182 return (__force __sum16)~from64to16(do_csum(buff,len)); in ip_compute_csum()
|
| /Linux-v5.4/arch/ia64/lib/ |
| D | checksum.c | 66 extern unsigned long do_csum (const unsigned char *, long); 82 u64 result = do_csum(buff, len); in csum_partial() 99 return (__force __sum16)~do_csum(buff,len); in ip_compute_csum()
|
| D | csum_partial_copy.c | 106 extern unsigned long do_csum(const unsigned char *, long); 123 result = do_csum(dst, len); in csum_partial_copy_from_user()
|
| D | do_csum.S | 127 GLOBAL_ENTRY(do_csum) 324 END(do_csum)
|
| D | Makefile | 10 flush.o ip_fast_csum.o do_csum.o \
|
| D | ip_fast_csum.S | 90 br.call.sptk.many b0=do_csum
|
| /Linux-v5.4/arch/x86/lib/ |
| D | csum-partial_64.c | 35 static unsigned do_csum(const unsigned char *buff, unsigned len) in do_csum() function 136 return (__force __wsum)add32_with_carry(do_csum(buff, len), in csum_partial()
|
| /Linux-v5.4/arch/parisc/lib/ |
| D | checksum.c | 37 static inline unsigned int do_csum(const unsigned char * buff, int len) in do_csum() function 103 unsigned int result = do_csum(buff, len); in csum_partial()
|
| /Linux-v5.4/arch/c6x/lib/ |
| D | csum_64plus.S | 225 ;do_csum(unsigned char *buff, unsigned int len) 289 ENTRY(do_csum) 379 ENDPROC(do_csum) 384 ; unsigned int result = do_csum(buff, len); 395 || CALLP .S2 do_csum,B3 412 || CALLP .S2 do_csum,B3
|
| /Linux-v5.4/net/netfilter/ |
| D | nf_nat_proto.c | 42 enum nf_nat_manip_type maniptype, bool do_csum) in __udp_manip_pkt() argument 55 if (do_csum) { in __udp_manip_pkt() 71 bool do_csum; in udp_manip_pkt() local 77 do_csum = hdr->check || skb->ip_summed == CHECKSUM_PARTIAL; in udp_manip_pkt() 79 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, do_csum); in udp_manip_pkt()
|
| /Linux-v5.4/arch/hexagon/lib/ |
| D | checksum.c | 85 unsigned int do_csum(const void *voidptr, int len) in do_csum() function
|
| /Linux-v5.4/drivers/net/wimax/i2400m/ |
| D | fw.c | 645 unsigned int direct, unsigned int do_csum) in i2400m_download_chunk() argument 658 addr, direct, do_csum); in i2400m_download_chunk() 664 __chunk_len & 0x3 ? 0 : do_csum, in i2400m_download_chunk() 674 addr, direct, do_csum, ret); in i2400m_download_chunk()
|
| /Linux-v5.4/drivers/net/ethernet/qualcomm/emac/ |
| D | emac-mac.c | 1272 goto do_csum; in emac_tso_csum() 1309 do_csum: in emac_tso_csum()
|
| /Linux-v5.4/drivers/net/ethernet/freescale/ |
| D | gianfar.c | 1804 int do_tstamp, do_csum, do_vlan; in gfar_start_xmit() local 1814 do_csum = (CHECKSUM_PARTIAL == skb->ip_summed); in gfar_start_xmit() 1819 if (do_csum || do_vlan) in gfar_start_xmit() 1883 if (do_csum) { in gfar_start_xmit()
|