/Linux-v5.10/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.10/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.10/arch/arm64/include/asm/ |
D | checksum.h | 44 extern unsigned int do_csum(const unsigned char *buff, int len); 45 #define do_csum do_csum macro
|
/Linux-v5.10/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.10/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 | 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.10/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.10/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.10/arch/c6x/lib/ |
D | csum_64plus.S | 223 ;do_csum(unsigned char *buff, unsigned int len) 287 ENTRY(do_csum) 377 ENDPROC(do_csum) 382 ; unsigned int result = do_csum(buff, len); 393 || CALLP .S2 do_csum,B3 410 || CALLP .S2 do_csum,B3
|
/Linux-v5.10/arch/arm64/lib/ |
D | csum.c | 21 unsigned int __no_sanitize_address do_csum(const unsigned char *buff, int len) in do_csum() function
|
/Linux-v5.10/arch/hexagon/lib/ |
D | checksum.c | 85 unsigned int do_csum(const void *voidptr, int len) in do_csum() function
|
/Linux-v5.10/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.10/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()
|
/Linux-v5.10/samples/bpf/ |
D | xdpsock_user.c | 585 static unsigned int do_csum(const unsigned char *buff, int len) in do_csum() function 652 return (__force __sum16)~do_csum(iph, ihl * 4); in ip_fast_csum()
|
/Linux-v5.10/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 1272 goto do_csum; in emac_tso_csum() 1306 do_csum: in emac_tso_csum()
|
/Linux-v5.10/drivers/net/ethernet/freescale/ |
D | gianfar.c | 1809 int do_tstamp, do_csum, do_vlan; in gfar_start_xmit() local 1819 do_csum = (CHECKSUM_PARTIAL == skb->ip_summed); in gfar_start_xmit() 1824 if (do_csum || do_vlan) in gfar_start_xmit() 1880 if (do_csum) { in gfar_start_xmit()
|