Home
last modified time | relevance | path

Searched refs:fake_reg (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/clk/
Dclk-gate_test.c134 __le32 fake_reg; /* Keep at end, KASAN can detect out of bounds */ member
143 ctx->fake_mem = (void __force __iomem *)&ctx->fake_reg; in clk_gate_test_alloc_ctx()
169 KUNIT_EXPECT_EQ(test, enable_val, le32_to_cpu(ctx->fake_reg)); in clk_gate_test_enable()
186 KUNIT_ASSERT_EQ(test, enable_val, le32_to_cpu(ctx->fake_reg)); in clk_gate_test_disable()
189 KUNIT_EXPECT_EQ(test, disable_val, le32_to_cpu(ctx->fake_reg)); in clk_gate_test_disable()
249 KUNIT_EXPECT_EQ(test, enable_val, le32_to_cpu(ctx->fake_reg)); in clk_gate_test_invert_enable()
266 KUNIT_ASSERT_EQ(test, enable_val, le32_to_cpu(ctx->fake_reg)); in clk_gate_test_invert_disable()
269 KUNIT_EXPECT_EQ(test, disable_val, le32_to_cpu(ctx->fake_reg)); in clk_gate_test_invert_disable()
293 ctx->fake_reg = cpu_to_le32(BIT(15)); /* Default to off */ in clk_gate_test_invert_init()
322 KUNIT_EXPECT_EQ(test, enable_val, le32_to_cpu(ctx->fake_reg)); in clk_gate_test_hiword_enable()
[all …]
/linux-6.12.1/arch/alpha/kernel/
Dtraps.c668 unsigned long fake_reg, *reg_addr = &fake_reg; in do_entUnaUser() local
705 fake_reg = rdusp(); in do_entUnaUser()
708 fake_reg = 0; in do_entUnaUser()
825 fake_reg = s_reg_to_mem(alpha_read_fp_reg(reg)); in do_entUnaUser()
853 fake_reg = alpha_read_fp_reg(reg); in do_entUnaUser()
887 wrusp(fake_reg); in do_entUnaUser()
/linux-6.12.1/include/linux/
Dbpf_verifier.h780 struct bpf_reg_state fake_reg[2]; member
/linux-6.12.1/kernel/bpf/
Dverifier.c4673 struct bpf_reg_state *tmp_reg = &env->fake_reg[0]; in check_stack_write_fixed_off()
15308 struct bpf_reg_state fake_reg; in sync_linked_regs() local
15331 fake_reg.type = SCALAR_VALUE; in sync_linked_regs()
15332 __mark_reg_known(&fake_reg, (s32)reg->off - (s32)known_reg->off); in sync_linked_regs()
15343 scalar32_min_max_add(reg, &fake_reg); in sync_linked_regs()
15344 scalar_min_max_add(reg, &fake_reg); in sync_linked_regs()
15345 reg->var_off = tnum_add(reg->var_off, fake_reg.var_off); in sync_linked_regs()
15424 src_reg = &env->fake_reg[0]; in check_cond_jmp_op()
15504 memcpy(&env->fake_reg[1], &env->fake_reg[0], in check_cond_jmp_op()
15505 sizeof(env->fake_reg[0])); in check_cond_jmp_op()
[all …]