Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Diters_num.c16 __s64 sum = 0, i; in num_empty_zero() local
30 __s64 sum = 0, i; in num_empty_int_min() local
44 __s64 sum = 0, i; in num_empty_int_max() local
58 __s64 sum = 0, i; in num_empty_minus_one() local
72 __s64 sum = 0, i; in num_simple_sum() local
86 __s64 sum = 0, i; in num_neg_sum() local
100 __s64 sum = 0, i; in num_very_neg_sum() local
114 __s64 sum = 0, i; in num_very_big_sum() local
128 __s64 sum = 0, i; in num_neg_pos_sum() local
Diters.c267 int *v, i = 0, sum = 0; in iter_limit_cond_break_loop() local
292 int *v, sum = 0; in iter_obfuscate_counter() local
373 int sum, i; in iter_array_fill() local
399 int sum, row, col; in iter_nested_iters() local
444 int sum = 0; in iter_nested_deeply_iters() local
476 int sum = 0, col; in sum_inner_dimension() local
491 int sum, row, col; in iter_subprog_iters() local
629 long arr1[16], arr2[16], sum = 0; in iter_stack_array_loop() local
673 static __noinline int sum(struct bpf_iter_num *it, int *arr, __u32 n) in sum() function
675 int *t, i, sum = 0;; in sum() local
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
Diters_testmod_seq.c27 __s64 sum = 0, *i; in testmod_seq_empty() local
45 __s64 sum = 0, *i; in testmod_seq_full() local
65 __s64 sum = 0, *i; in testmod_seq_truncated() local
/linux-6.6.21/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.6.21/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.6.21/arch/arm/include/asm/
Dchecksum.h58 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
76 __wsum sum; in ip_fast_csum() local
101 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
138 __u8 proto, __wsum sum) in csum_tcpudp_magic()
161 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/linux-6.6.21/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.6.21/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.6.21/arch/s390/include/asm/
Dchecksum.h30 static inline __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
48 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
82 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
99 __u8 proto, __wsum sum) in csum_tcpudp_magic()
117 __u64 sum = (__force __u64)csum; in csum_ipv6_magic() local
/linux-6.6.21/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.h22 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
47 unsigned int sum; in ip_fast_csum() local
88 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
114 __wsum sum) in csum_tcpudp_magic()
/linux-6.6.21/include/net/
Dchecksum.h41 __wsum sum = csum_partial(src, len, ~0U); in csum_and_copy_to_user() local
86 static __always_inline __wsum csum_shift(__wsum sum, int offset) in csum_shift()
119 __wsum csum_partial_ext(const void *buff, int len, __wsum sum) in csum_partial_ext()
126 static __always_inline void csum_replace_by_diff(__sum16 *sum, __wsum diff) in csum_replace_by_diff()
131 static __always_inline void csum_replace4(__sum16 *sum, __be32 from, __be32 to) in csum_replace4()
144 static __always_inline void csum_replace2(__sum16 *sum, __be16 old, __be16 new) in csum_replace2()
164 void inet_proto_csum_replace2(__sum16 *sum, struct sk_buff *skb, in inet_proto_csum_replace2()
/linux-6.6.21/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.6.21/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.6.21/arch/sh/include/asm/
Dchecksum_32.h63 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
88 __wsum sum; in ip_fast_csum() local
117 __wsum sum) in csum_tcpudp_nofold()
143 __wsum sum) in csum_tcpudp_magic()
160 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/linux-6.6.21/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.6.21/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()
/linux-6.6.21/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.6.21/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.6.21/lib/
Dchecksum_kunit.c214 #define full_csum(buff, len, sum) csum_fold(csum_partial(buff, len, sum)) argument
248 __wsum sum; in test_csum_fixed_random_inputs() local
274 __wsum sum; in test_csum_all_carry_inputs() local
314 __wsum sum; in test_csum_no_carry_inputs() local
/linux-6.6.21/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.6.21/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.6.21/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()

12345678910>>...14