/openbmc/linux/lib/ |
H A 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()
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | checksum.h | 9 #define do_csum do_csum macro 10 unsigned int do_csum(const void *voidptr, int len);
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | checksum.h | 44 extern unsigned int do_csum(const unsigned char *buff, int len); 45 #define do_csum do_csum macro
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | checksum.h | 61 extern unsigned int do_csum(const unsigned char *buff, int len); 62 #define do_csum do_csum macro
|
/openbmc/linux/arch/alpha/lib/ |
H A 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()
|
/openbmc/linux/arch/ia64/lib/ |
H A 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()
|
H A D | do_csum.S | 127 GLOBAL_ENTRY(do_csum) 324 END(do_csum)
|
H A D | Makefile | 10 flush.o ip_fast_csum.o do_csum.o \
|
H A D | ip_fast_csum.S | 90 br.call.sptk.many b0=do_csum
|
/openbmc/linux/usr/ |
H A D | gen_init_cpio.c | 30 static bool do_csum = false; variable 84 do_csum ? "070702" : "070701", /* magic */ in cpio_trailer() 116 do_csum ? "070702" : "070701", /* magic */ in cpio_mkslink() 165 do_csum ? "070702" : "070701", /* magic */ in cpio_mkgeneric() 259 do_csum ? "070702" : "070701", /* magic */ in cpio_mknod() 368 if (do_csum && cpio_mkfile_csum(file, buf.st_size, &csum) < 0) { in cpio_mkfile() 384 do_csum ? "070702" : "070701", /* magic */ in cpio_mkfile() 599 do_csum = true; in main()
|
/openbmc/linux/arch/parisc/lib/ |
H A 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()
|
/openbmc/linux/arch/loongarch/lib/ |
H A D | csum.c | 22 unsigned int __no_sanitize_address do_csum(const unsigned char *buff, int len) in do_csum() function
|
/openbmc/linux/arch/arm64/lib/ |
H A D | csum.c | 21 unsigned int __no_sanitize_address do_csum(const unsigned char *buff, int len) in do_csum() function
|
/openbmc/linux/arch/hexagon/lib/ |
H A D | checksum.c | 85 unsigned int do_csum(const void *voidptr, int len) in do_csum() function
|
/openbmc/linux/net/netfilter/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-mac.c | 1275 goto do_csum; in emac_tso_csum() 1309 do_csum: in emac_tso_csum()
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 1780 int do_tstamp, do_csum, do_vlan; in gfar_start_xmit() local 1790 do_csum = (CHECKSUM_PARTIAL == skb->ip_summed); in gfar_start_xmit() 1795 if (do_csum || do_vlan) in gfar_start_xmit() 1851 if (do_csum) { in gfar_start_xmit()
|
/openbmc/qemu/tests/data/qobject/ |
H A D | qdict.txt | 4652 do_csum.S: 2991
|