Searched refs:preh_val (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/lib/ |
D | test_kprobes.c | 15 static u32 rand1, preh_val, posth_val; variable 33 preh_val = (rand1 / div_factor); in kp_pre_handler() 41 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor)); in kp_post_handler() 42 posth_val = preh_val + div_factor; in kp_post_handler() 57 KUNIT_EXPECT_NE(test, 0, preh_val); in test_kprobe() 95 preh_val = (rand1 / div_factor) + 1; in kp_pre_handler2() 102 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor) + 1); in kp_post_handler2() 103 posth_val = preh_val + div_factor; in kp_post_handler2() 123 preh_val = 0; in test_kprobes() 127 KUNIT_EXPECT_NE(test, 0, preh_val); in test_kprobes() [all …]
|