Home
last modified time | relevance | path

Searched full:r2 (Results 1 – 25 of 958) sorted by relevance

12345678910>>...39

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_masking.c16 r2 -= r1; \ in test_out_of_bounds_1()
17 r2 |= r1; \ in test_out_of_bounds_1()
18 r2 = -r2; \ in test_out_of_bounds_1()
19 r2 s>>= 63; \ in test_out_of_bounds_1()
20 r1 &= r2; \ in test_out_of_bounds_1()
36 r2 -= r1; \ in test_out_of_bounds_2()
37 r2 |= r1; \ in test_out_of_bounds_2()
38 r2 = -r2; \ in test_out_of_bounds_2()
39 r2 s>>= 63; \ in test_out_of_bounds_2()
40 r1 &= r2; \ in test_out_of_bounds_2()
[all …]
H A Dverifier_helper_value_access.c47 r2 = r10; \ in access_to_map_full_range()
48 r2 += -8; \ in access_to_map_full_range()
50 *(u64*)(r2 + 0) = r1; \ in access_to_map_full_range()
55 r2 = %[sizeof_test_val]; \ in access_to_map_full_range()
73 r2 = r10; \ in access_to_map_partial_range()
74 r2 += -8; \ in access_to_map_partial_range()
76 *(u64*)(r2 + 0) = r1; \ in access_to_map_partial_range()
81 r2 = 8; \ in access_to_map_partial_range()
99 __failure __msg("R2 invalid zero-sized read: u64=[0,0]")
103 r2 = r10; \ in access_to_map_empty_range()
[all …]
H A Dverifier_precision.c10 __msg("mark_precise: frame0: regs=r2 stack= before 3: (bf) r1 = r10")
11 __msg("mark_precise: frame0: regs=r2 stack= before 2: (55) if r2 != 0xfffffff8 goto pc+2")
12 __msg("mark_precise: frame0: regs=r2 stack= before 1: (87) r2 = -r2")
13 __msg("mark_precise: frame0: regs=r2 stack= before 0: (b7) r2 = 8")
17 "r2 = 8;" in bpf_neg()
18 "r2 in bpf_neg()
[all...]
H A Dverifier_var_off.c22 r2 = *(u32*)(r1 + 0); \ in variable_offset_ctx_access()
24 r2 &= 4; \ in variable_offset_ctx_access()
28 r1 += r2; \ in variable_offset_ctx_access()
38 __msg_unpriv("R2 variable stack access prohibited for !root")
47 r2 = *(u32*)(r1 + 0); \ in stack_read_priv_vs_unpriv()
49 r2 &= 4; \ in stack_read_priv_vs_unpriv()
50 r2 -= 8; \ in stack_read_priv_vs_unpriv()
54 r2 += r10; \ in stack_read_priv_vs_unpriv()
56 r0 = *(u32*)(r2 + 0); \ in stack_read_priv_vs_unpriv()
65 __failure_unpriv __msg_unpriv("R2 variabl
[all...]
H A Dverifier_helper_access_var_len.c51 r2 = 16; \ in bitwise_and_jmp_correct_bounds()
52 *(u64*)(r1 - 128) = r2; \ in bitwise_and_jmp_correct_bounds()
53 r2 = *(u64*)(r1 - 128); \ in bitwise_and_jmp_correct_bounds()
54 r2 &= 64; \ in bitwise_and_jmp_correct_bounds()
56 if r4 >= r2 goto l0_%=; \ in bitwise_and_jmp_correct_bounds()
70 __msg_unpriv("invalid read from stack R2 off -64+0 size 64")
84 r2 = r10; \ in stack_bitwise_and_zero_included()
85 r2 += -64; \ in stack_bitwise_and_zero_included()
107 r2 = *(u64*)(r1 + 8); \ in bitwise_and_jmp_wrong_max()
110 *(u64*)(r1 - 128) = r2; \ in bitwise_and_jmp_wrong_max()
[all …]
H A Dverifier_direct_packet_access.c15 r2 = *(u32*)(r1 + %[__sk_buff_data]); \ in __retval()
16 r0 -= r2; \ in __retval()
30 r2 = *(u32*)(r1 + %[__sk_buff_data]); \ in direct_packet_access_test1()
32 r0 = r2; \ in direct_packet_access_test1()
35 r0 = *(u8*)(r2 + 0); \ in direct_packet_access_test1()
61 r2 = *(u32*)(r1 + %[__sk_buff_len]); \ in direct_packet_access_test2()
62 r2 <<= 49; \ in direct_packet_access_test2()
63 r2 >>= 49; \ in direct_packet_access_test2()
64 r3 += r2; \ in direct_packet_access_test2()
65 r2 = r3; \ in direct_packet_access_test2()
[all …]
H A Dverifier_regalloc.c31 r2 = r10; \ in __flag()
32 r2 += -8; \ in __flag()
38 r2 = r0; \ in __flag()
40 if r2 s< 0 goto l0_%=; \ in __flag()
42 r7 += r2; \ in __flag()
61 r2 = r10; \ in regalloc_negative()
62 r2 += -8; \ in regalloc_negative()
68 r2 = r0; \ in regalloc_negative()
70 if r2 s< 0 goto l0_%=; \ in regalloc_negative()
72 r7 += r2; \ in regalloc_negative()
[all …]
H A Dverifier_bounds_mix_sign_unsign.c26 r2 = r10; \ in signed_and_unsigned_positive_bounds()
27 r2 += -8; \ in signed_and_unsigned_positive_bounds()
32 r2 = 2; \ in signed_and_unsigned_positive_bounds()
33 if r2 >= r1 goto l0_%=; \ in signed_and_unsigned_positive_bounds()
58 r2 = r10; \ in checks_mixing_signed_and_unsigned()
59 r2 += -8; \ in checks_mixing_signed_and_unsigned()
64 r2 = -1; \ in checks_mixing_signed_and_unsigned()
65 if r1 > r2 goto l0_%=; \ in checks_mixing_signed_and_unsigned()
90 r2 = r10; \ in signed_and_unsigned_variant_2()
91 r2 += -8; \ in signed_and_unsigned_variant_2()
[all …]
H A Dcompute_live_registers.c26 __msg(" 2: .1........ (bf) r2 = r1")
27 __msg(" 3: ..2....... (bf) r3 = r2")
41 "r2 = r1;" in assign_chain()
42 "r3 = r2;" in assign_chain()
58 __msg("2: .......... (b7) r2 = 7")
60 __msg("4: ..23...... (0f) r2 += r3")
68 "r2 = 7;" in arithmetics()
70 "r2 += r3;" in arithmetics()
81 __msg(" 3: .1........ (b7) r2 = 42")
82 __msg(" 4: .12....... (7b) *(u64 *)(r1 +0) = r2")
[all …]
/linux/arch/nios2/mm/
H A Duaccess.c16 " movi r2,7\n"
18 " bge r2,r6,1f\n"
19 " xor r2,r4,r5\n"
20 " andi r2,r2,3\n"
22 " beq r2,zero,4f\n"
24 " movi r2,-1\n"
25 " beq r6,r2,3f\n"
26 " mov r7,r2\n"
27 "2: ldbu r2,0(r5)\n"
30 " stb r2,0(r3)\n"
[all …]
/linux/arch/arc/lib/
H A Dstrchr-700.S16 bmsk r2,r0,1
19 breq.d r2,r0,.Laligned
21 sub_s r0,r0,r2
22 asl r7,r2,3
23 ld_s r2,[r0]
31 sub r12,r2,r7
32 bic_s r12,r12,r2
35 xor r6,r2,r5
36 ld.a r2,[r0,4]
47 bic r2,r7,r6
[all …]
H A Dstrcmp.S16 or r2,r0,r1
17 bmsk_s r2,r2,1
18 brne r2,0,.Lcharloop
22 ld.ab r2,[r0,4]
25 sub r4,r2,r12
26 bic r4,r4,r2
29 breq r2,r3,.Lwordloop
31 xor r0,r2,r3 ; mask for difference
36 and_s r2,r2,r0
39 cmp_s r2,r3
[all …]
H A Dstrcmp-archs.S9 or r2, r0, r1
10 bmsk_s r2, r2, 1
11 brne r2, 0, @.Lcharloop
14 ld.ab r2, [r0, 4]
22 sub r4, r2, r12
24 bic r4, r4, r2
28 cmp r2, r3
30 mov.eq r2, r5
36 swape r2, r2
40 cmp_s r2, r3
[all …]
/linux/lib/crypto/arm/
H A Dcurve25519-core.S61 vld1.8 {d8}, [r2]
62 vld1.8 {d10}, [r2]
63 add r2, r2, #6
64 vld1.8 {d12}, [r2]
65 vld1.8 {d14}, [r2]
66 add r2, r2, #6
67 vld1.8 {d16}, [r2]
68 add r2, r2, #4
69 vld1.8 {d18}, [r2]
70 vld1.8 {d20}, [r2]
[all …]
/linux/arch/sh/lib/
H A D__clear_user.S22 mov r4, r2
27 add #31, r2
28 and r1, r2
29 cmp/eq r4, r2
31 mov r2, r3
34 mov r4, r2
37 0: mov.b r0, @r2
39 add #1, r2
42 mov r2, r4
47 cmp/hi r2, r3
[all …]
/linux/arch/sh/kernel/cpu/sh2/
H A Dentry.S43 mov.l r2,@-sp
46 mov.l $cpu_mode,r2
52 add r3,r2
54 mov.l @r2,r0
62 mov.l r0,@r2 ! enter kernel mode
63 mov.l $current_thread_info,r2
69 add r0,r2
71 mov.l @r2,r2
74 add r2,r0
75 mov r15,r2 ! r2 = user stack top
[all …]
/linux/drivers/memory/
H A Dti-emif-sram-pm.S47 ldr r2, [r4, #EMIF_PM_REGS_VIRT_OFFSET]
51 str r1, [r2, #EMIF_SDCFG_VAL_OFFSET]
54 str r1, [r2, #EMIF_REF_CTRL_VAL_OFFSET]
57 str r1, [r2, #EMIF_TIMING1_VAL_OFFSET]
60 str r1, [r2, #EMIF_TIMING2_VAL_OFFSET]
63 str r1, [r2, #EMIF_TIMING3_VAL_OFFSET]
66 str r1, [r2, #EMIF_PMCR_VAL_OFFSET]
69 str r1, [r2, #EMIF_PMCR_SHDW_VAL_OFFSET]
72 str r1, [r2, #EMIF_ZQCFG_VAL_OFFSET]
75 str r1, [r2, #EMIF_DDR_PHY_CTLR_1_OFFSET]
[all …]
/linux/include/media/
H A Dv4l2-rect.h73 * v4l2_rect_same_size() - return true if r1 has the same size as r2
75 * @r2: rectangle.
80 const struct v4l2_rect *r2) in v4l2_rect_same_size() argument
82 return r1->width == r2->width && r1->height == r2->height; in v4l2_rect_same_size()
86 * v4l2_rect_same_position() - return true if r1 has the same position as r2
88 * @r2: rectangle.
93 const struct v4l2_rect *r2) in v4l2_rect_same_position() argument
95 return r1->top == r2->top && r1->left == r2->left; in v4l2_rect_same_position()
99 * v4l2_rect_equal() - return true if r1 equals r2
101 * @r2: rectangle.
[all …]
/linux/arch/hexagon/lib/
H A Dmemset.S29 p0 = cmp.eq(r2, #0)
30 p1 = cmp.gtu(r2, #7)
47 loop0(1f, r2) /* byte loop */
59 p1 = cmp.eq(r2, #1)
72 p1 = cmp.eq(r2, #2)
84 p0 = cmp.gtu(r2, #7)
85 p1 = cmp.eq(r2, #4)
91 p0 = cmp.gtu(r2, #11)
97 r10 = lsr(r2, #3)
114 p1 = cmp.eq(r2, #8)
[all …]
/linux/arch/arm/kernel/
H A Diwmmxt.S72 mrc p15, 0, r2, c15, c1, 0
74 tst r2, #0x3
77 orr r2, r2, #0x3
78 mcr p15, 0, r2, c15, c1, 0
81 ldr r2, [r0, #S_PC] @ current task pc value
83 sub r2, r2, #4 @ adjust pc back
84 str r2, [r0, #S_PC]
88 mrc p15, 0, r2, c2, c0, 0
89 mov r2, r2 @ cpwait
103 tmrc r2, wCon
[all …]
/linux/arch/arm/mach-omap2/
H A Dsleep43xx.S69 ldr r2, [r3, #AMX3_PM_RO_SRAM_DATA_VIRT_OFFSET]
70 str r4, [r2, #AMX3_PM_WFI_FLAGS_OFFSET]
122 mov r2, r0
123 ldr r0, [r2, #L2X0_AUX_CTRL]
125 ldr r0, [r2, #L310_PREFETCH_CTRL]
129 str r0, [r2, #L2X0_CLEAN_INV_WAY]
131 ldr r0, [r2, #L2X0_CLEAN_INV_WAY]
144 mov r2, r0
146 str r0, [r2, #L2X0_CACHE_SYNC]
148 ldr r0, [r2, #L2X0_CACHE_SYNC]
[all …]
/linux/arch/sh/include/asm/
H A Dswitch_to_32.h12 register u32 *__ts2 __asm__ ("r2") = \
16 "movs.l @r2+, a0\n\t" \
17 "movs.l @r2+, a1\n\t" \
18 "movs.l @r2+, a0g\n\t" \
19 "movs.l @r2+, a1g\n\t" \
20 "movs.l @r2+, m0\n\t" \
21 "movs.l @r2+, m1\n\t" \
22 "movs.l @r2+, x0\n\t" \
23 "movs.l @r2+, x1\n\t" \
24 "movs.l @r2+, y0\n\t" \
[all …]
/linux/arch/hexagon/kernel/
H A Dhead.S36 r2.h = #0xffc0;
37 r2.l = #0x0000;
38 r25 = and(r2,r25); /* R25 holds PHYS_OFFSET now */
62 r2.l = #LO(stext);
67 r2.h = #HI(stext);
71 r1 = sub(r1, r2);
78 r2.h = #0xffc0;
79 r2.l = #0x0000; /* round back down to 4MB boundary */
80 r1 = and(r1,r2);
81 r2 = lsr(r1, #22) /* 4MB page number */ define
[all …]
/linux/arch/arm/mach-socfpga/
H A Dself-refresh.S41 * r2 : temp storage of register values
49 mrc p15, 0, r2, c15, c0, 0
50 orr r2, r2, #1
51 mcr p15, 0, r2, c15, c0, 0
54 ldr r2, [r0, #SDR_CTRLGRP_LOWPWREQ_ADDR]
55 orr r2, r2, #SELFRSHREQ_MASK
56 str r2, [r0, #SDR_CTRLGRP_LOWPWREQ_ADDR]
61 ldr r2, [r0, #SDR_CTRLGRP_LOWPWRACK_ADDR]
62 and r2, r2, #SELFRFSHACK_MASK
63 cmp r2, #SELFRFSHACK_MASK
[all …]
/linux/arch/arm/lib/
H A Dbitops.h11 mov r2, #1
20 mov r3, r2, lsl r3
21 1: ldrex r2, [r1]
22 \instr r2, r2, r3
23 strex r0, r2, [r1]
36 mov r2, #1
40 mov r3, r2, lsl r3 @ create mask
47 1: ldrex r2, [r1]
48 ands r0, r2, r3 @ save old value of bit
49 \instr r2, r2, r3 @ toggle bit
[all …]

12345678910>>...39