Lines Matching refs:current_test

18 static struct kunit *current_test;  variable
32 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler()
40 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler()
41 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor)); in kp_post_handler()
53 current_test = test; in test_kprobe()
102 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor) + 1); in kp_post_handler2()
116 current_test = test; in test_kprobes()
144 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler()
153 KUNIT_EXPECT_FALSE(current_test, preemptible()); in return_handler()
154 KUNIT_EXPECT_EQ(current_test, ret, rand1 / div_factor); in return_handler()
155 KUNIT_EXPECT_NE(current_test, krph_val, 0); in return_handler()
168 current_test = test; in test_kretprobe()
179 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in return_handler2()
180 KUNIT_EXPECT_NE(current_test, krph_val, 0); in return_handler2()
195 current_test = test; in test_kretprobes()
220 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_return_handler()
221 KUNIT_EXPECT_EQ(current_test, retval, target_return_address[1]); in stacktrace_return_handler()
229 KUNIT_EXPECT_NE(current_test, ret, 0); in stacktrace_return_handler()
235 KUNIT_EXPECT_NE(current_test, i, ret); in stacktrace_return_handler()
243 KUNIT_EXPECT_NE(current_test, ret, 0); in stacktrace_return_handler()
244 KUNIT_EXPECT_EQ(current_test, stack_buf[0], target_return_address[1]); in stacktrace_return_handler()
259 current_test = test; in test_stacktrace_on_kretprobe()
281 KUNIT_EXPECT_FALSE(current_test, preemptible()); in stacktrace_internal_return_handler()
282 KUNIT_EXPECT_EQ(current_test, retval, target_return_address[0]); in stacktrace_internal_return_handler()
290 KUNIT_EXPECT_NE(current_test, ret, 0); in stacktrace_internal_return_handler()
294 KUNIT_EXPECT_EQ(current_test, stack_buf[i + 1], target_return_address[1]); in stacktrace_internal_return_handler()
298 KUNIT_EXPECT_NE(current_test, i, ret); in stacktrace_internal_return_handler()
303 KUNIT_EXPECT_NE(current_test, ret, 0); in stacktrace_internal_return_handler()
304 KUNIT_EXPECT_EQ(current_test, stack_buf[0], target_return_address[0]); in stacktrace_internal_return_handler()
305 KUNIT_EXPECT_EQ(current_test, stack_buf[1], target_return_address[1]); in stacktrace_internal_return_handler()
321 current_test = test; in test_stacktrace_on_nested_kretprobe()