Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v5.4/arch/x86/include/asm/
Dchecksum_32.h42 int len, __wsum sum) in csum_partial_copy_nocheck()
49 int len, __wsum sum, in csum_partial_copy_from_user()
72 unsigned int sum; in ip_fast_csum() local
104 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
116 __wsum sum) in csum_tcpudp_nofold()
134 __wsum sum) in csum_tcpudp_magic()
152 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
179 int len, __wsum sum, in csum_and_copy_to_user()
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-v5.4/arch/xtensa/include/asm/
Dchecksum.h52 int len, __wsum sum) in csum_partial_copy_nocheck()
59 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
69 static __inline__ __sum16 csum_fold(__wsum sum) in csum_fold()
92 unsigned int sum, tmp, endaddr; in ip_fast_csum() local
127 __wsum sum) in csum_tcpudp_nofold()
160 __wsum sum) in csum_tcpudp_magic()
179 __wsum sum) in csum_ipv6_magic()
244 __wsum sum, int *err_ptr) in csum_and_copy_to_user()
/Linux-v5.4/arch/sh/include/asm/
Dchecksum_32.h46 int len, __wsum sum) in csum_partial_copy_nocheck()
53 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
63 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
88 unsigned int sum, __dummy0, __dummy1; 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()
197 int len, __wsum sum, in csum_and_copy_to_user()
/Linux-v5.4/arch/sparc/include/asm/
Dchecksum_32.h45 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
64 __wsum sum, int *err) in csum_partial_copy_from_user()
88 __wsum sum, int *err) in csum_partial_copy_to_user()
124 __sum16 sum; in ip_fast_csum() local
159 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
175 __wsum sum) in csum_tcpudp_nofold()
194 __wsum sum) in csum_tcpudp_magic()
203 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
Dchecksum_64.h51 __wsum sum, int *err) in csum_partial_copy_from_user()
70 __wsum sum, int *err) in csum_and_copy_to_user()
84 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
101 __wsum sum) in csum_tcpudp_nofold()
120 __wsum sum) in csum_tcpudp_magic()
129 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/Linux-v5.4/arch/x86/um/asm/
Dchecksum.h33 int len, __wsum sum) in csum_partial_copy_nocheck()
49 int len, __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
67 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
92 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
109 __wsum sum) in csum_tcpudp_magic()
121 unsigned int sum; in ip_fast_csum() local
/Linux-v5.4/arch/parisc/include/asm/
Dchecksum.h44 unsigned int sum; in ip_fast_csum() local
79 u32 sum = (__force u32)csum; in csum_fold() local
90 __wsum sum) in csum_tcpudp_nofold()
108 __wsum sum) in csum_tcpudp_magic()
127 __wsum sum) in csum_ipv6_magic()
194 int len, __wsum sum, in csum_and_copy_to_user()
/Linux-v5.4/arch/s390/include/asm/
Dchecksum.h30 csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
52 int len, __wsum sum, in csum_partial_copy_from_user()
62 csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
71 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
96 __wsum sum) in csum_tcpudp_nofold()
122 __wsum sum) in csum_tcpudp_magic()
/Linux-v5.4/include/net/
Dchecksum.h27 int len, __wsum sum, int *err_ptr) in csum_and_copy_from_user()
41 (const void *src, void __user *dst, int len, __wsum sum, int *err_ptr) in csum_and_copy_to_user()
86 u32 sum = (__force u32)csum2; in csum_block_add() local
112 static inline __wsum csum_partial_ext(const void *buff, int len, __wsum sum) in csum_partial_ext()
119 static inline void csum_replace_by_diff(__sum16 *sum, __wsum diff) in csum_replace_by_diff()
124 static inline void csum_replace4(__sum16 *sum, __be32 from, __be32 to) in csum_replace4()
137 static inline void csum_replace2(__sum16 *sum, __be16 old, __be16 new) in csum_replace2()
151 static inline void inet_proto_csum_replace2(__sum16 *sum, struct sk_buff *skb, in inet_proto_csum_replace2()
/Linux-v5.4/arch/arm/include/asm/
Dchecksum.h46 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
64 __wsum sum; in ip_fast_csum() local
89 __u8 proto, __wsum sum) in csum_tcpudp_nofold()
126 __u8 proto, __wsum sum) in csum_tcpudp_magic()
149 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic()
/Linux-v5.4/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-v5.4/arch/powerpc/include/asm/
Dchecksum.h32 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
40 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()
132 __wsum sum, tmp; in ip_fast_csum_nofold() local
167 static inline __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
/Linux-v5.4/arch/mips/include/asm/
Dchecksum.h50 __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
64 int len, __wsum sum, int *err_ptr) in csum_and_copy_from_user()
81 __wsum sum, int *err_ptr) in csum_and_copy_to_user()
113 u32 sum = (__force u32)csum; in csum_fold() local
165 __wsum sum) in csum_tcpudp_nofold()
221 __wsum sum) in csum_ipv6_magic()
/Linux-v5.4/arch/nios2/include/asm/
Dchecksum.h19 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
28 static inline __sum16 csum_fold(__wsum sum) in csum_fold()
49 __wsum sum) in csum_tcpudp_nofold()
72 __wsum sum) in csum_tcpudp_magic()
/Linux-v5.4/include/asm-generic/
Dchecksum.h38 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
56 u32 sum = (__force u32)csum; in csum_fold() local
76 __u8 proto, __wsum sum) in csum_tcpudp_magic()
/Linux-v5.4/lib/
Dchecksum.c127 unsigned int sum = (__force unsigned int)wsum; in csum_partial() local
153 __wsum sum, int *csum_err) in csum_partial_copy_from_user()
172 csum_partial_copy(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy()
190 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold()
/Linux-v5.4/sound/pci/ctxfi/
Dctamixer.c92 static int amixer_set_sum(struct amixer *amixer, struct sum *sum) in amixer_set_sum()
115 struct sum *sum; in amixer_commit_write() local
176 unsigned int scale, struct sum *sum) in amixer_setup()
363 static int sum_rsc_init(struct sum *sum, in sum_rsc_init()
378 static int sum_rsc_uninit(struct sum *sum) in sum_rsc_uninit()
390 struct sum *sum; in get_sum_rsc() local
435 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-v5.4/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-v5.4/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-v5.4/arch/m68k/lib/
Dchecksum.c38 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
133 int len, __wsum sum, int *csum_err) in csum_partial_copy_from_user()
327 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()
/Linux-v5.4/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
194 #define CSUMCOPY_BIGCHUNK_ALIGNED(src, dst, sum, off, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
216 #define CSUMCOPY_BIGCHUNK(src, dst, sum, off, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
239 #define CSUMCOPY_LASTCHUNK(src, dst, sum, off, t0, t1, t2, t3) \ argument
/Linux-v5.4/arch/parisc/lib/
Dchecksum.c101 __wsum csum_partial(const void *buff, int len, __wsum sum) in csum_partial()
114 int len, __wsum sum) in csum_partial_copy_nocheck()
133 __wsum sum, int *err_ptr) in csum_partial_copy_from_user()
/Linux-v5.4/arch/hexagon/lib/
Dchecksum.c36 u64 sum; in from64to16() local
51 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_magic()
59 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold()
184 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck()

12345678910>>...12