/linux-6.12.1/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-6.12.1/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-6.12.1/arch/riscv/include/asm/ |
D | checksum.h | 15 extern unsigned int do_csum(const unsigned char *buff, int len); 16 #define do_csum do_csum macro
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | checksum.h | 61 extern unsigned int do_csum(const unsigned char *buff, int len); 62 #define do_csum do_csum macro
|
/linux-6.12.1/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-6.12.1/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() 167 unsigned long result = do_csum(buff, len); in csum_partial() 184 return (__force __sum16)~from64to16(do_csum(buff,len)); in ip_compute_csum()
|
/linux-6.12.1/usr/ |
D | gen_init_cpio.c | 31 static bool do_csum = false; variable 85 do_csum ? "070702" : "070701", /* magic */ in cpio_trailer() 117 do_csum ? "070702" : "070701", /* magic */ in cpio_mkslink() 166 do_csum ? "070702" : "070701", /* magic */ in cpio_mkgeneric() 260 do_csum ? "070702" : "070701", /* magic */ in cpio_mknod() 375 if (do_csum && cpio_mkfile_csum(file, buf.st_size, &csum) < 0) { in cpio_mkfile() 391 do_csum ? "070702" : "070701", /* magic */ in cpio_mkfile() 608 do_csum = true; in main()
|
/linux-6.12.1/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-6.12.1/arch/loongarch/lib/ |
D | csum.c | 22 unsigned int __no_sanitize_address do_csum(const unsigned char *buff, int len) in do_csum() function
|
/linux-6.12.1/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-6.12.1/arch/riscv/lib/ |
D | csum.c | 306 unsigned int do_csum(const unsigned char *buff, int len) in do_csum() function
|
/linux-6.12.1/arch/hexagon/lib/ |
D | checksum.c | 85 unsigned int do_csum(const void *voidptr, int len) in do_csum() function
|
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/qualcomm/emac/ |
D | emac-mac.c | 1275 goto do_csum; in emac_tso_csum() 1309 do_csum: in emac_tso_csum()
|
/linux-6.12.1/drivers/net/ethernet/freescale/ |
D | gianfar.c | 1782 int do_tstamp, do_csum, do_vlan; in gfar_start_xmit() local 1792 do_csum = (CHECKSUM_PARTIAL == skb->ip_summed); in gfar_start_xmit() 1797 if (do_csum || do_vlan) in gfar_start_xmit() 1853 if (do_csum) { in gfar_start_xmit()
|