Home
last modified time | relevance | path

Searched refs:src1 (Results 1 – 25 of 69) sorted by relevance

123

/linux-6.6.21/drivers/crypto/caam/
Ddesc_constr.h416 #define append_math_add(desc, dest, src0, src1, len) \ argument
417 APPEND_MATH(ADD, desc, dest, src0, src1, len)
418 #define append_math_sub(desc, dest, src0, src1, len) \ argument
419 APPEND_MATH(SUB, desc, dest, src0, src1, len)
420 #define append_math_add_c(desc, dest, src0, src1, len) \ argument
421 APPEND_MATH(ADDC, desc, dest, src0, src1, len)
422 #define append_math_sub_b(desc, dest, src0, src1, len) \ argument
423 APPEND_MATH(SUBB, desc, dest, src0, src1, len)
424 #define append_math_and(desc, dest, src0, src1, len) \ argument
425 APPEND_MATH(AND, desc, dest, src0, src1, len)
[all …]
/linux-6.6.21/lib/crypto/
Dutils.c17 void __crypto_xor(u8 *dst, const u8 *src1, const u8 *src2, unsigned int len) in __crypto_xor() argument
23 int d = (((unsigned long)dst ^ (unsigned long)src1) | in __crypto_xor()
36 *dst++ = *src1++ ^ *src2++; in __crypto_xor()
43 u64 l = get_unaligned((u64 *)src1) ^ in __crypto_xor()
47 *(u64 *)dst = *(u64 *)src1 ^ *(u64 *)src2; in __crypto_xor()
50 src1 += 8; in __crypto_xor()
57 u32 l = get_unaligned((u32 *)src1) ^ in __crypto_xor()
61 *(u32 *)dst = *(u32 *)src1 ^ *(u32 *)src2; in __crypto_xor()
64 src1 += 4; in __crypto_xor()
71 u16 l = get_unaligned((u16 *)src1) ^ in __crypto_xor()
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
Dkvm_fpu.h14 extern void fps_fres(u64 *fpscr, u32 *dst, u32 *src1);
15 extern void fps_frsqrte(u64 *fpscr, u32 *dst, u32 *src1);
16 extern void fps_fsqrts(u64 *fpscr, u32 *dst, u32 *src1);
18 extern void fps_fadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
19 extern void fps_fdivs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
20 extern void fps_fmuls(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
21 extern void fps_fsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
23 extern void fps_fmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
25 extern void fps_fmsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
27 extern void fps_fnmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
[all …]
/linux-6.6.21/tools/include/linux/
Dbitmap.h71 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument
75 *dst = *src1 | *src2; in bitmap_or()
77 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
115 static inline bool bitmap_and(unsigned long *dst, const unsigned long *src1, in bitmap_and() argument
119 return (*dst = *src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_and()
120 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and()
131 static inline bool bitmap_equal(const unsigned long *src1, in bitmap_equal() argument
135 return !((*src1 ^ *src2) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_equal()
138 return !memcmp(src1, src2, nbits / 8); in bitmap_equal()
139 return __bitmap_equal(src1, src2, nbits); in bitmap_equal()
[all …]
/linux-6.6.21/include/linux/
Dbitmap.h140 bool __pure __bitmap_or_equal(const unsigned long *src1,
318 static inline bool bitmap_and(unsigned long *dst, const unsigned long *src1, in bitmap_and() argument
322 return (*dst = *src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_and()
323 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and()
326 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument
330 *dst = *src1 | *src2; in bitmap_or()
332 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
335 static inline void bitmap_xor(unsigned long *dst, const unsigned long *src1, in bitmap_xor() argument
339 *dst = *src1 ^ *src2; in bitmap_xor()
341 __bitmap_xor(dst, src1, src2, nbits); in bitmap_xor()
[all …]
Dlinkmode.h35 static inline int linkmode_andnot(unsigned long *dst, const unsigned long *src1, in linkmode_andnot() argument
38 return bitmap_andnot(dst, src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_andnot()
74 static inline int linkmode_equal(const unsigned long *src1, in linkmode_equal() argument
77 return bitmap_equal(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_equal()
80 static inline int linkmode_intersects(const unsigned long *src1, in linkmode_intersects() argument
83 return bitmap_intersects(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_intersects()
86 static inline int linkmode_subset(const unsigned long *src1, in linkmode_subset() argument
89 return bitmap_subset(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_subset()
Dnodemask.h162 #define nodes_and(dst, src1, src2) \ argument
163 __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES)
170 #define nodes_or(dst, src1, src2) \ argument
171 __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES)
178 #define nodes_xor(dst, src1, src2) \ argument
179 __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES)
186 #define nodes_andnot(dst, src1, src2) \ argument
187 __nodes_andnot(&(dst), &(src1), &(src2), MAX_NUMNODES)
202 #define nodes_equal(src1, src2) \ argument
203 __nodes_equal(&(src1), &(src2), MAX_NUMNODES)
[all …]
/linux-6.6.21/arch/ia64/lib/
Dcopy_user.S66 #define src1 r24 macro
103 mov src1=src // copy because of rotation
115 EX(.failure_in_pipe1,(p16) ld1 val1[0]=[src1],1)
130 and src2=0x7,src1 // src offset
197 EX(.failure_in_pipe2,(p16) ld1 val1[0]=[src1],1)
212 (p14) sub src1=src1,t2
213 (p15) sub src1=src1,t1
243 EX(3f,(p16) ld8 val1[1]=[src1],8); \
289 (p14) sub src1=src1,t1
300 sub len1=endsrc,src1,1
[all …]
Dmemcpy_mck.S34 #define src1 r3 macro
146 add src1=8,src0 // 2nd src pointer
158 EK(.ex_handler, (p16) ld8 r38=[src1],16)
163 EK(.ex_handler, (p16) ld8 r36=[src1],16)
173 EX(.ex_hndlr_s, (p7) ld8 t2=[src1],8)
177 EX(.ex_hndlr_s, (p8) ld8 t3=[src1])
206 add src1 = 3*8, src_pre_mem // first t3 src
224 EK(.ex_handler, (p[D]) ld8 t4 = [src1], 3*8) // M1
234 EK(.ex_handler, (p[D]) ld8 t7 = [src1], 3*8)
239 EK(.ex_handler, (p[D]) ld8 t10 = [src1], 8)
[all …]
Dcopy_page_mck.S70 #define src1 r3 macro
125 add src1 = 3*8, in1 // first t3 src
144 (p[D]) ld8 t4 = [src1], 3*8 // M1
154 (p[D]) ld8 t7 = [src1], 3*8
159 (p[D]) ld8 t10 = [src1], 8
164 (p[D]) ld8 t11 = [src1], 3*8
169 (p[D]) ld8 t14 = [src1], 8
174 (p[D]) ld8 t15 = [src1], 4*8
179 (p[D-1])ld8 t3 = [src1], 8
Dcopy_page.S29 #define src1 r20 macro
59 mov src1=in1
71 (p[0]) ld8 t1[0]=[src1],16
77 (p[0]) ld8 t3[0]=[src1],16
82 (p[0]) ld8 t5[0]=[src1],16
87 (p[0]) ld8 t7[0]=[src1],16
/linux-6.6.21/arch/arm64/lib/
Dstrcmp.S23 #define src1 x0 macro
57 sub off2, src2, src1
59 and tmp, src1, 7
67 ldr data2, [src1, off2]
68 ldr data1, [src1], 8
111 bic src1, src1, 7
112 ldr data2, [src1, off2]
113 ldr data1, [src1], 8
126 ldrb data1w, [src1], 1
131 tst src1, 7
[all …]
Dmemcmp.S20 #define src1 x0 macro
39 ldr data1, [src1], 8
47 ldr data1, [src1, limit]
52 ldr data1, [src1], 8
68 and tmp1, src1, 15
70 sub src1, src1, tmp1
78 ldp data1, data1h, [src1], 16
94 add src1, src1, limit
96 ldp data1, data1h, [src1]
121 ldr data1w, [src1], 4
[all …]
Dstrncmp.S24 #define src1 x0 macro
63 eor tmp1, src1, src2
66 and count, src1, #7
75 ldr data1, [src1], #8
164 bic src1, src1, #7
166 ldr data1, [src1], #8
186 ldrb data1w, [src1], #1
205 ldrb data1w, [src1], #1
237 ldr data1, [src1], #8
258 ldr data1, [src1], #8
[all …]
/linux-6.6.21/kernel/bpf/
Dcpumask.c135 __bpf_kfunc u32 bpf_cpumask_first_and(const struct cpumask *src1, in bpf_cpumask_first_and() argument
138 return cpumask_first_and(src1, src2); in bpf_cpumask_first_and()
250 const struct cpumask *src1, in bpf_cpumask_and() argument
253 return cpumask_and((struct cpumask *)dst, src1, src2); in bpf_cpumask_and()
265 const struct cpumask *src1, in bpf_cpumask_or() argument
268 cpumask_or((struct cpumask *)dst, src1, src2); in bpf_cpumask_or()
280 const struct cpumask *src1, in bpf_cpumask_xor() argument
283 cpumask_xor((struct cpumask *)dst, src1, src2); in bpf_cpumask_xor()
297 __bpf_kfunc bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) in bpf_cpumask_equal() argument
299 return cpumask_equal(src1, src2); in bpf_cpumask_equal()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dcpumask_common.h31 u32 bpf_cpumask_first_and(const struct cpumask *src1,
41 const struct cpumask *src1,
44 const struct cpumask *src1,
47 const struct cpumask *src1,
49 bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __ksym;
50 bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __ksym;
51 bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __ksym;
56 u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1, const struct cpumask *src2) __ksym;
/linux-6.6.21/arch/m68k/math-emu/
Dmulti_arith.h114 static inline void fp_submant(struct fp_ext *dest, struct fp_ext *src1, in fp_submant() argument
119 : "g,d" (src2->lowmant), "0,0" (src1->lowmant)); in fp_submant()
121 : "d" (src2->mant.m32[1]), "0" (src1->mant.m32[1])); in fp_submant()
123 : "d" (src2->mant.m32[0]), "0" (src1->mant.m32[0])); in fp_submant()
126 #define fp_mul64(desth, destl, src1, src2) ({ \ argument
128 : "dm" (src1), "0" (src2)); \
133 #define fp_add64(dest1, dest2, src1, src2) ({ \ argument
137 : "d" (src1), "0" (dest1)); \
165 static inline void fp_multiplymant(union fp_mant128 *dest, struct fp_ext *src1, in fp_multiplymant() argument
170 fp_mul64(dest->m32[0], dest->m32[1], src1->mant.m32[0], src2->mant.m32[0]); in fp_multiplymant()
[all …]
/linux-6.6.21/arch/arc/kernel/
Ddisasm.c113 state->src1 = state->words[1]; in disasm_instr()
115 state->src1 = get_reg(state->wb_reg, regs, cregs); in disasm_instr()
129 state->src1 = FIELD_C(state->words[0]); in disasm_instr()
130 if (state->src1 == REG_LIMM) { in disasm_instr()
132 state->src1 = state->words[1]; in disasm_instr()
134 state->src1 = get_reg(state->src1, regs, cregs); in disasm_instr()
219 state->src1 = state->words[1]; in disasm_instr()
221 state->src1 = get_reg(state->wb_reg, regs, in disasm_instr()
285 state->src1 = get_reg(FIELD_S_B(state->words[0]), regs, cregs); in disasm_instr()
328 state->src1 = get_reg(FIELD_S_B(state->words[0]), regs, cregs); in disasm_instr()
[all …]
Dunaligned.c139 set_reg(state->wb_reg, state->src1 + state->src2, regs, cregs); in fixup_load()
146 get32_unaligned_check(val, state->src1 + state->src2); in fixup_load()
148 get16_unaligned_check(val, state->src1 + state->src2); in fixup_load()
185 put32_unaligned_check(state->src1, state->src2 + state->src3); in fixup_store()
187 put16_unaligned_check(state->src1, state->src2 + state->src3); in fixup_store()
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dbridge_mdb.sh292 local src1=${src_prefix}1
307 source_list $src1
310 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
315 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
322 filter_mode exclude source_list $src1
326 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | \
340 filter_mode exclude source_list $src1
344 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
357 filter_mode include source_list $src1
361 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
[all …]
/linux-6.6.21/tools/testing/selftests/drivers/net/dsa/
Dbridge_mdb.sh292 local src1=${src_prefix}1
307 source_list $src1
310 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
315 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
322 filter_mode exclude source_list $src1
326 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | \
340 filter_mode exclude source_list $src1
344 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
357 filter_mode include source_list $src1
361 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
[all …]
/linux-6.6.21/include/crypto/
Dutils.h14 void __crypto_xor(u8 *dst, const u8 *src1, const u8 *src2, unsigned int size);
35 static inline void crypto_xor_cpy(u8 *dst, const u8 *src1, const u8 *src2, in crypto_xor_cpy() argument
42 unsigned long *s1 = (unsigned long *)src1; in crypto_xor_cpy()
52 __crypto_xor(dst, src1, src2, size); in crypto_xor_cpy()
/linux-6.6.21/arch/xtensa/lib/
Dumulsidi3.S199 .macro mul_mulsi3_body dst, src1, src2, tmp1, tmp2
202 extui \tmp2, \src1, 0, 1
206 extui \tmp2, \src1, 1, 1
210 extui \tmp2, \src1, 2, 1
214 extui \tmp2, \src1, 3, 1
217 srli \src1, \src1, 4
219 bnez \src1, 1b
/linux-6.6.21/tools/testing/selftests/net/
Dtest_vxlan_mdb.sh542 local src1=$1; shift
551 … add dev vx0 port vx0 grp $grp permanent filter_mode exclude source_list $src1 dst $vtep_ip src_vn…
555 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
558 …lace dev vx0 port vx0 grp $grp permanent filter_mode exclude source_list $src1 dst $vtep_ip src_vn…
562 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
569 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
577 …lace dev vx0 port vx0 grp $grp permanent filter_mode include source_list $src1 dst $vtep_ip src_vn…
580 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\""
582 run_cmd "bridge -n $ns1 -d -s mdb show dev vx0 | grep $grp | grep \"src $src1\" | grep blocked"
585 …lace dev vx0 port vx0 grp $grp permanent filter_mode exclude source_list $src1 dst $vtep_ip src_vn…
[all …]
/linux-6.6.21/arch/sparc/kernel/
Dvisemul.c603 u16 src1 = (rs1 >> (byte * 8)) & 0x00ff; in pmul() local
605 u32 prod = src1 * src2; in pmul()
629 u16 src1 = (rs1 >> (byte * 8)) & 0x00ff; in pmul() local
630 u32 prod = src1 * src2; in pmul()
653 u16 src1; in pmul() local
658 src1 = ((rs1 >> ((16 * byte) + ushift)) & 0x00ff); in pmul()
660 prod = src1 * src2; in pmul()
683 u16 src1; in pmul() local
688 src1 = ((rs1 >> ((16 * byte) + ushift)) & 0x00ff); in pmul()
690 prod = src1 * src2; in pmul()

123