Home
last modified time | relevance | path

Searched defs:csum (Results 1 – 25 of 251) sorted by relevance

1234567891011

/linux-6.6.21/include/net/
Dchecksum.h59 static __always_inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add()
67 static __always_inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub()
72 static __always_inline __sum16 csum16_add(__sum16 csum, __be16 addend) in csum16_add()
80 static __always_inline __sum16 csum16_sub(__sum16 csum, __be16 addend) in csum16_sub()
96 csum_block_add(__wsum csum, __wsum csum2, int offset) in csum_block_add()
102 csum_block_add_ext(__wsum csum, __wsum csum2, int offset, int len) in csum_block_add_ext()
108 csum_block_sub(__wsum csum, __wsum csum2, int offset) in csum_block_sub()
149 static inline void csum_replace(__wsum *csum, __wsum old, __wsum new) in csum_replace()
171 static __always_inline __wsum remcsum_adjust(void *ptr, __wsum csum, in remcsum_adjust()
/linux-6.6.21/net/netfilter/
Dutils.c14 __sum16 csum = 0; in nf_ip_checksum() local
48 __sum16 csum = 0; in nf_ip_checksum_partial() local
68 __sum16 csum = 0; in nf_ip6_checksum() local
103 __sum16 csum = 0; in nf_ip6_checksum_partial() local
127 __sum16 csum = 0; in nf_checksum() local
146 __sum16 csum = 0; in nf_checksum_partial() local
/linux-6.6.21/arch/s390/include/asm/
Dchecksum.h50 u32 csum = (__force u32) sum; in csum_fold() local
63 __u64 csum = 0; in ip_fast_csum() local
84 __u64 csum = (__force __u64)sum; in csum_tcpudp_nofold() local
115 __u32 len, __u8 proto, __wsum csum) in csum_ipv6_magic()
Dos_info.h26 u32 csum; member
31 u32 csum; member
/linux-6.6.21/arch/powerpc/lib/
Dchecksum_wrappers.c17 __wsum csum; in csum_and_copy_from_user() local
30 __wsum csum; in csum_and_copy_to_user() local
/linux-6.6.21/samples/bpf/
Dxdp_adjust_tail_kern.c58 static __always_inline __u16 csum_fold_helper(__u32 csum) in csum_fold_helper()
64 __u32 *csum) in ipv4_csum()
85 __u32 csum = 0; in send_icmp4_too_big() local
/linux-6.6.21/fs/ext4/
Dbitmap.c45 __u32 csum; in ext4_inode_bitmap_csum_set() local
85 __u32 csum; in ext4_block_bitmap_csum_set() local
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_eeprom.c117 u8 csum = 0, len; in flash_csum() local
150 u8 csum, *bguid; in qib_get_eeprom_info() local
/linux-6.6.21/include/linux/
Dpim.h58 __be16 csum; member
65 __be16 csum; member
/linux-6.6.21/include/uapi/linux/
Digmp.h34 __sum16 csum; member
57 __sum16 csum; member
66 __sum16 csum; member
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c354 u8 *pp, csum; in __calc_hdr_byte_sum() local
370 u8 *pp, csum; in __calc_ras_info_byte_sum() local
389 u8 csum; in amdgpu_ras_eeprom_correct_header_tag() local
420 u8 csum; in amdgpu_ras_eeprom_reset_table() local
721 u8 *buf, *pp, csum; in amdgpu_ras_eeprom_update_header() local
1235 u8 csum, *buf, *pp; in __verify_ras_table_checksum() local
/linux-6.6.21/block/partitions/
Dsgi.c32 __be32 csum; /* Disk label checksum */ member
38 int i, csum; in sgi_partition() local
Dsun.c24 __be16 csum; in sun_partition() local
64 __be16 csum; /* Label xor'd checksum */ in sun_partition() member
/linux-6.6.21/arch/mips/include/asm/
Dchecksum.h77 static inline __sum16 csum_fold(__wsum csum) in csum_fold()
101 unsigned int csum; in ip_fast_csum() local
/linux-6.6.21/arch/ia64/include/asm/
Dchecksum.h49 static inline __sum16 csum_fold(__wsum csum) in csum_fold()
/linux-6.6.21/arch/alpha/include/asm/
Dchecksum.h62 static inline __sum16 csum_fold(__wsum csum) in csum_fold()
/linux-6.6.21/drivers/input/touchscreen/
Delo.c59 unsigned char csum; member
224 unsigned char csum = 0xaa + ELO10_LEAD_BYTE; in elo_command_10() local
/linux-6.6.21/fs/nfsd/
Dnfscache.c88 nfsd_cacherep_alloc(struct svc_rqst *rqstp, __wsum csum, in nfsd_cacherep_alloc()
393 __wsum csum = 0; in nfsd_cache_csum() local
507 __wsum csum; in nfsd_cache_lookup() local
/linux-6.6.21/include/asm-generic/
Dchecksum.h31 static inline __sum16 csum_fold(__wsum csum) in csum_fold()
/linux-6.6.21/arch/csky/include/asm/
Dchecksum.h9 static inline __sum16 csum_fold(__wsum csum) in csum_fold()
/linux-6.6.21/arch/arm64/include/asm/
Dchecksum.h15 static inline __sum16 csum_fold(__wsum csum) in csum_fold()
/linux-6.6.21/drivers/md/persistent-data/
Ddm-space-map-common.h42 __le32 csum; member
111 __le32 csum; member
/linux-6.6.21/include/net/sctp/
Dchecksum.h39 static inline __wsum sctp_csum_combine(__wsum csum, __wsum csum2, in sctp_csum_combine()
/linux-6.6.21/arch/parisc/kernel/
Dtoc.c110 unsigned int csum = 0; in setup_toc() local
/linux-6.6.21/tools/bootconfig/
Dmain.c180 uint32_t size = 0, csum = 0, rcsum; in load_xbc_from_initrd() local
366 uint32_t size, csum; in apply_xbc() local

1234567891011