Home
last modified time | relevance | path

Searched defs:sum (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/linux-6.1.9/arch/m68k/include/asm/
Dchecksum.h48 unsigned int sum = 0; in ip_fast_csum() local
67 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
83 unsigned short proto, __wsum sum) in csum_tcpudp_nofold()
103 unsigned short proto, __wsum sum) in csum_tcpudp_magic()
121 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/linux-6.1.9/arch/powerpc/include/asm/
Dchecksum.h39 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
58 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
89 __u8 proto, __wsum sum) in csum_tcpudp_magic()
116 static __always_inline __wsum csum_shift(__wsum sum, int offset) in csum_shift()
138 __wsum sum, tmp; in ip_fast_csum_nofold() local
173 static __always_inline __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
/linux-6.1.9/arch/parisc/include/asm/
Dchecksum.h29 unsigned int sum; in ip_fast_csum() local
65 u32 sum = (__force u32)csum; in csum_fold() local
76 __wsum sum) in csum_tcpudp_nofold()
94 __wsum sum) in csum_tcpudp_magic()
113 __wsum sum) in csum_ipv6_magic()
/linux-6.1.9/arch/arm/include/asm/
Dchecksum.h57 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
75 __wsum sum; in ip_fast_csum() local
100 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
137 __u8 proto, __wsum sum) in csum_tcpudp_magic()
160 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/linux-6.1.9/arch/x86/um/asm/
Dchecksum.h31 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
56 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
73 __wsum sum) in csum_tcpudp_magic()
85 unsigned int sum; in ip_fast_csum() local
/linux-6.1.9/arch/s390/include/asm/
Dchecksum.h30 static inline __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
47 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
81 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
98 __u8 proto, __wsum sum) in csum_tcpudp_magic()
116 __u64 sum = (__force __u64)csum; in csum_ipv6_magic() local
/linux-6.1.9/arch/x86/include/asm/
Dchecksum_32.h67 unsigned int sum; in ip_fast_csum() local
99 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
111 __wsum sum) in csum_tcpudp_nofold()
129 __wsum sum) in csum_tcpudp_magic()
147 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
Dchecksum_64.h23 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
48 unsigned int sum; in ip_fast_csum() local
89 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
115 __wsum sum) in csum_tcpudp_magic()
/linux-6.1.9/include/net/
Dchecksum.h39 __wsum sum = csum_partial(src, len, ~0U); in csum_and_copy_to_user() local
84 static __always_inline __wsum csum_shift(__wsum sum, int offset) in csum_shift()
117 __wsum csum_partial_ext(const void *buff, int len, __wsum sum) in csum_partial_ext()
124 static __always_inline void csum_replace_by_diff(__sum16 *sum, __wsum diff) in csum_replace_by_diff()
129 static __always_inline void csum_replace4(__sum16 *sum, __be32 from, __be32 to) in csum_replace4()
142 static __always_inline void csum_replace2(__sum16 *sum, __be16 old, __be16 new) in csum_replace2()
162 void inet_proto_csum_replace2(__sum16 *sum, struct sk_buff *skb, in inet_proto_csum_replace2()
/linux-6.1.9/arch/sparc/include/asm/
Dchecksum_32.h83 __sum16 sum; in ip_fast_csum() local
118 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
134 __wsum sum) in csum_tcpudp_nofold()
153 __wsum sum) in csum_tcpudp_magic()
162 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
Dchecksum_64.h51 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
68 __wsum sum) in csum_tcpudp_nofold()
87 __wsum sum) in csum_tcpudp_magic()
96 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/linux-6.1.9/arch/xtensa/include/asm/
Dchecksum.h67 static __inline__ __sum16 csum_fold(__wsum sum) in csum_fold()
90 unsigned int sum, tmp, endaddr; in ip_fast_csum() local
125 __wsum sum) in csum_tcpudp_nofold()
158 __wsum sum) in csum_tcpudp_magic()
177 __wsum sum) in csum_ipv6_magic()
/linux-6.1.9/arch/sh/include/asm/
Dchecksum_32.h62 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
87 __wsum sum; in ip_fast_csum() local
116 __wsum sum) in csum_tcpudp_nofold()
142 __wsum sum) in csum_tcpudp_magic()
159 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_rdonly_maps.c21 unsigned sum; member
29 unsigned iters = 0, sum = 0; in skip_loop() local
48 unsigned iters = 0, sum = 0; in part_loop() local
68 unsigned iters = 0, sum = 0; in full_loop() local
/linux-6.1.9/arch/nios2/include/asm/
Dchecksum.h21 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
42 __wsum sum) in csum_tcpudp_nofold()
65 __wsum sum) in csum_tcpudp_magic()
/linux-6.1.9/sound/pci/ctxfi/
Dctamixer.c91 static int amixer_set_sum(struct amixer *amixer, struct sum *sum) in amixer_set_sum()
114 struct sum *sum; in amixer_commit_write() local
175 unsigned int scale, struct sum *sum) in amixer_setup()
361 static int sum_rsc_init(struct sum *sum, in sum_rsc_init()
376 static int sum_rsc_uninit(struct sum *sum) in sum_rsc_uninit()
388 struct sum *sum; in get_sum_rsc() local
433 static int put_sum_rsc(struct sum_mgr *mgr, struct sum *sum) in put_sum_rsc()
Dctamixer.h23 struct sum { struct
28 /* Define sum resource request description info */ argument
56 struct sum *sum; /* Put amixer output to this summation node */ member
/linux-6.1.9/arch/m68k/lib/
Dchecksum.c38 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
140 __wsum sum = ~0U; in csum_and_copy_from_user() local
277 __wsum sum = 0; in csum_partial_copy_nocheck() local
/linux-6.1.9/crypto/
Dtea.c59 u32 y, z, n, sum = 0; in tea_encrypt() local
87 u32 y, z, n, sum; in tea_decrypt() local
132 u32 y, z, sum = 0; in xtea_encrypt() local
153 u32 y, z, sum; in xtea_decrypt() local
176 u32 y, z, sum = 0; in xeta_encrypt() local
197 u32 y, z, sum; in xeta_decrypt() local
/linux-6.1.9/arch/sparc/lib/
Dchecksum_32.S20 #define CSUM_BIGCHUNK(buf, offset, sum, t0, t1, t2, t3, t4, t5) \ argument
34 #define CSUM_LASTCHUNK(buf, offset, sum, t0, t1, t2, t3) \ argument
164 #define CSUMCOPY_BIGCHUNK_ALIGNED(src, dst, sum, off, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
186 #define CSUMCOPY_BIGCHUNK(src, dst, sum, off, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
209 #define CSUMCOPY_LASTCHUNK(src, dst, sum, off, t0, t1, t2, t3) \ argument
/linux-6.1.9/arch/x86/lib/
Dcsum-wrappers_64.c26 __wsum sum; in csum_and_copy_from_user() local
50 __wsum sum; in csum_and_copy_to_user() local
78 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/linux-6.1.9/arch/ia64/lib/
Dchecksum.c39 __u8 proto, __wsum sum) in csum_tcpudp_magic()
50 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
80 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
/linux-6.1.9/arch/arm64/lib/
Dcsum.c11 static u64 accumulate(u64 sum, u64 data) in accumulate()
23 unsigned int offset, shift, sum; in do_csum() local
137 u64 sum = (__force u64)csum; in csum_ipv6_magic() local
/linux-6.1.9/arch/alpha/lib/
Dchecksum.c46 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_magic()
55 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold()
163 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
/linux-6.1.9/include/asm-generic/
Dchecksum.h33 u32 sum = (__force u32)csum; in csum_fold() local
53 __u8 proto, __wsum sum) in csum_tcpudp_magic()

12345678910>>...14