/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | verifier_masking.c | 16 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 …]
|
D | verifier_precision.c | 9 __msg("mark_precise: frame0: regs=r2 stack= before 3: (bf) r1 = r10") 10 __msg("mark_precise: frame0: regs=r2 stack= before 2: (55) if r2 != 0xfffffff8 goto pc+2") 11 __msg("mark_precise: frame0: regs=r2 stack= before 1: (87) r2 = -r2") 12 __msg("mark_precise: frame0: regs=r2 stack= before 0: (b7) r2 = 8") 16 "r2 = 8;" in bpf_neg() 17 "r2 = -r2;" in bpf_neg() 18 "if r2 != -8 goto 1f;" in bpf_neg() 20 "r1 += r2;" in bpf_neg() 29 __msg("mark_precise: frame0: regs=r2 stack= before 3: (bf) r1 = r10") 30 __msg("mark_precise: frame0: regs=r2 stack= before 2: (55) if r2 != 0x0 goto pc+2") [all …]
|
D | verifier_helper_value_access.c | 47 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 …]
|
D | verifier_var_off.c | 22 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 variable stack access prohibited for !root") [all …]
|
D | verifier_helper_access_var_len.c | 51 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 indirect 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 …]
|
D | verifier_regalloc.c | 31 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 …]
|
D | verifier_direct_packet_access.c | 15 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 …]
|
/linux-6.12.1/crypto/ |
D | serpent_generic.c | 228 static noinline void __serpent_setkey_sbox(u32 r0, u32 r1, u32 r2, in __serpent_setkey_sbox() argument 232 S3(r3, r4, r0, r1, r2); store_and_load_keys(r1, r2, r4, r3, 28, 24); in __serpent_setkey_sbox() 233 S4(r1, r2, r4, r3, r0); store_and_load_keys(r2, r4, r3, r0, 24, 20); in __serpent_setkey_sbox() 234 S5(r2, r4, r3, r0, r1); store_and_load_keys(r1, r2, r4, r0, 20, 16); in __serpent_setkey_sbox() 235 S6(r1, r2, r4, r0, r3); store_and_load_keys(r4, r3, r2, r0, 16, 12); in __serpent_setkey_sbox() 236 S7(r4, r3, r2, r0, r1); store_and_load_keys(r1, r2, r0, r4, 12, 8); in __serpent_setkey_sbox() 237 S0(r1, r2, r0, r4, r3); store_and_load_keys(r0, r2, r4, r1, 8, 4); in __serpent_setkey_sbox() 238 S1(r0, r2, r4, r1, r3); store_and_load_keys(r3, r4, r1, r0, 4, 0); in __serpent_setkey_sbox() 239 S2(r3, r4, r1, r0, r2); store_and_load_keys(r2, r4, r3, r0, 0, -4); in __serpent_setkey_sbox() 240 S3(r2, r4, r3, r0, r1); store_and_load_keys(r0, r1, r4, r2, -4, -8); in __serpent_setkey_sbox() [all …]
|
/linux-6.12.1/arch/nios2/mm/ |
D | uaccess.c | 16 " 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-6.12.1/arch/arc/lib/ |
D | strchr-700.S | 16 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 …]
|
D | strcmp.S | 16 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 …]
|
D | strcmp-archs.S | 9 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-6.12.1/arch/sh/lib/ |
D | __clear_user.S | 22 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-6.12.1/arch/sh/kernel/cpu/sh2/ |
D | entry.S | 43 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-6.12.1/arch/arm/crypto/ |
D | curve25519-core.S | 61 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-6.12.1/drivers/memory/ |
D | ti-emif-sram-pm.S | 47 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-6.12.1/include/media/ |
D | v4l2-rect.h | 73 * 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-6.12.1/arch/hexagon/lib/ |
D | memset.S | 29 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-6.12.1/arch/arm/kernel/ |
D | iwmmxt.S | 72 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-6.12.1/arch/arm/mach-omap2/ |
D | sleep43xx.S | 69 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-6.12.1/arch/sh/include/asm/ |
D | switch_to_32.h | 12 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-6.12.1/arch/hexagon/kernel/ |
D | head.S | 36 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-6.12.1/arch/arm/mach-socfpga/ |
D | self-refresh.S | 41 * 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-6.12.1/arch/arm/lib/ |
D | bitops.h | 11 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 …]
|
/linux-6.12.1/tools/testing/memblock/tests/ |
D | basic_api.c | 110 * | | r1 | | r2 | | 128 struct region r2 = { in memblock_add_disjoint_check() local 137 memblock_add(r2.base, r2.size); in memblock_add_disjoint_check() 142 ASSERT_EQ(rgn2->base, r2.base); in memblock_add_disjoint_check() 143 ASSERT_EQ(rgn2->size, r2.size); in memblock_add_disjoint_check() 146 ASSERT_EQ(memblock.memory.total_size, r1.size + r2.size); in memblock_add_disjoint_check() 154 * A test that tries to add two memory blocks r1 and r2, where r2 overlaps 155 * with the beginning of r1 (that is r1.base < r2.base + r2.size): 158 * | | |r2 | r1 | | 164 * r2.base [all …]
|