Lines Matching refs:div_factor
11 #define div_factor 3 macro
27 return (value / div_factor); in fprobe_selftest_target()
32 return (value / div_factor) + 1; in fprobe_selftest_target2()
43 entry_val = (rand1 / div_factor); in fp_entry_handler()
63 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in fp_exit_handler()
65 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor)); in fp_exit_handler()
66 KUNIT_EXPECT_EQ(current_test, entry_val, (rand1 / div_factor)); in fp_exit_handler()
67 exit_val = entry_val + div_factor; in fp_exit_handler()
118 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe()
124 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe()
144 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe_syms()
150 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe_syms()
203 entry_only_val = (rand1 / div_factor); in entry_only_handler()
217 entry_val = (rand1 / div_factor); in fprobe_entry_multi_handler()
231 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor)); in fprobe_exit_multi_handler()
250 KUNIT_EXPECT_EQ(test, (rand1 / div_factor), entry_only_val); in check_fprobe_multi()
251 KUNIT_EXPECT_EQ(test, (rand1 / div_factor), entry_val); in check_fprobe_multi()
252 KUNIT_EXPECT_EQ(test, (rand1 / div_factor), exit_val); in check_fprobe_multi()
301 rand1 = get_random_u32_above(div_factor); in fprobe_test_init()