Lines Matching refs:rand1
15 static u32 rand1, preh_val, posth_val; variable
40 preh_val = recursed_target(rand1); in kp_pre_handler()
47 u32 expval = recursed_target(rand1); in kp_post_handler()
65 target(rand1); in test_kprobe()
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()
135 target(rand1); in test_kprobes()
142 target2(rand1); in test_kprobes()
163 recursed_target(rand1); in test_kprobe_missed()
178 krph_val = (rand1 / div_factor); in entry_handler()
187 KUNIT_EXPECT_EQ(current_test, ret, rand1 / div_factor); in return_handler()
189 krph_val = rand1; in return_handler()
203 target(rand1); in test_kretprobe()
205 KUNIT_EXPECT_EQ(test, krph_val, rand1); in test_kretprobe()
212 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in return_handler2()
214 krph_val = rand1; in return_handler2()
235 target(rand1); in test_kretprobes()
236 KUNIT_EXPECT_EQ(test, krph_val, rand1); in test_kretprobes()
239 target2(rand1); in test_kretprobes()
240 KUNIT_EXPECT_EQ(test, krph_val, rand1); in test_kretprobes()
376 rand1 = get_random_u32_above(div_factor); in kprobes_test_init()