Searched refs:preh_val (Results 1 – 1 of 1) sorted by relevance
| /linux/lib/tests/ |
| H A D | test_kprobes.c | 21 static u32 rand1, preh_val, posth_val; variable 46 preh_val = recursed_target(rand1); in kp_pre_handler() 56 KUNIT_EXPECT_EQ(current_test, preh_val, expval); in kp_post_handler() 58 posth_val = preh_val + div_factor; in kp_post_handler() 73 KUNIT_EXPECT_NE(test, 0, preh_val); in test_kprobe() 111 preh_val = (rand1 / div_factor) + 1; in kp_pre_handler2() 118 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor) + 1); in kp_post_handler2() 119 posth_val = preh_val + div_factor; in kp_post_handler2() 135 preh_val = 0; in test_kprobes() 139 KUNIT_EXPECT_NE(test, 0, preh_val); in test_kprobes() [all …]
|