Lines Matching refs:div_factor
13 #define div_factor 3 macro
28 return (value / div_factor); in kprobe_target()
33 return (value / div_factor); in kprobe_recursed_target()
52 posth_val = preh_val + div_factor; in kp_post_handler()
73 return (value / div_factor) + 1; in kprobe_target2()
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()
178 krph_val = (rand1 / div_factor); in entry_handler()
187 KUNIT_EXPECT_EQ(current_test, ret, rand1 / div_factor); in return_handler()
212 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in return_handler2()
376 rand1 = get_random_u32_above(div_factor); in kprobes_test_init()