Lines Matching refs:div_factor
13 #define div_factor 3 macro
27 return (value / div_factor); in kprobe_target()
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()
63 return (value / div_factor) + 1; in kprobe_target2()
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()
145 krph_val = (rand1 / div_factor); in entry_handler()
154 KUNIT_EXPECT_EQ(current_test, ret, rand1 / div_factor); in return_handler()
179 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in return_handler2()
345 } while (rand1 <= div_factor); in kprobes_test_init()