Searched refs:preh_val (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/lib/ |
D | test_kprobes.c | 15 static u32 rand1, preh_val, posth_val; variable 40 preh_val = recursed_target(rand1); in kp_pre_handler() 50 KUNIT_EXPECT_EQ(current_test, preh_val, expval); in kp_post_handler() 52 posth_val = preh_val + div_factor; in kp_post_handler() 67 KUNIT_EXPECT_NE(test, 0, preh_val); in test_kprobe() 105 preh_val = (rand1 / div_factor) + 1; in kp_pre_handler2() 112 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor) + 1); in kp_post_handler2() 113 posth_val = preh_val + div_factor; in kp_post_handler2() 133 preh_val = 0; in test_kprobes() 137 KUNIT_EXPECT_NE(test, 0, preh_val); in test_kprobes() [all …]
|