Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.3-rc2/arch/m68k/include/asm/
A 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.3-rc2/arch/powerpc/include/asm/
A 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.3-rc2/arch/arm/include/asm/
A 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.3-rc2/arch/parisc/include/asm/
A 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.3-rc2/arch/x86/um/asm/
A 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.3-rc2/arch/s390/include/asm/
A Dchecksum.h36 static inline __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
53 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
87 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
104 __u8 proto, __wsum sum) in csum_tcpudp_magic()
122 __u64 sum = (__force __u64)csum; in csum_ipv6_magic() local
/linux-6.3-rc2/arch/x86/include/asm/
A 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()
A 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.3-rc2/include/net/
A 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.3-rc2/arch/sparc/include/asm/
A 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()
A 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.3-rc2/arch/xtensa/include/asm/
A 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.3-rc2/arch/sh/include/asm/
A 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.3-rc2/tools/testing/selftests/bpf/progs/
A 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.3-rc2/arch/nios2/include/asm/
A 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.3-rc2/sound/pci/ctxfi/
A 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()
A 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.3-rc2/arch/m68k/lib/
A 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.3-rc2/crypto/
A 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.3-rc2/arch/sparc/lib/
A 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.3-rc2/arch/x86/lib/
A 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.3-rc2/arch/ia64/lib/
A 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.3-rc2/arch/arm64/lib/
A 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.3-rc2/arch/alpha/lib/
A 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.3-rc2/include/asm-generic/
A Dchecksum.h33 u32 sum = (__force u32)csum; in csum_fold() local
53 __u8 proto, __wsum sum) in csum_tcpudp_magic()

Completed in 45 milliseconds

12345678910>>...14