Lines Matching refs:KUNIT_EXPECT_EQ
48 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_entry_handler()
68 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_exit_handler()
69 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in fp_exit_handler()
71 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor)); in fp_exit_handler()
72 KUNIT_EXPECT_EQ(current_test, entry_val, (rand1 / div_factor)); in fp_exit_handler()
77 KUNIT_EXPECT_EQ(current_test, *(u32 *)data, entry_val); in fp_exit_handler()
95 KUNIT_EXPECT_EQ(current_test, ip, target_nest_ip); in nest_exit_handler()
109 KUNIT_EXPECT_EQ(test, 0, register_fprobe(&fp_entry, "fprobe_selftest_target*", NULL)); in test_fprobe_entry()
115 KUNIT_EXPECT_EQ(test, 0, exit_val); in test_fprobe_entry()
121 KUNIT_EXPECT_EQ(test, 0, exit_val); in test_fprobe_entry()
123 KUNIT_EXPECT_EQ(test, 0, unregister_fprobe(&fp_entry)); in test_fprobe_entry()
134 KUNIT_EXPECT_EQ(test, 0, register_fprobe(&fp, "fprobe_selftest_target*", NULL)); in test_fprobe()
140 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe()
146 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe()
148 KUNIT_EXPECT_EQ(test, 0, unregister_fprobe(&fp)); in test_fprobe()
160 KUNIT_EXPECT_EQ(test, 0, register_fprobe_syms(&fp, syms, 2)); in test_fprobe_syms()
166 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe_syms()
172 KUNIT_EXPECT_EQ(test, entry_val + div_factor, exit_val); in test_fprobe_syms()
174 KUNIT_EXPECT_EQ(test, 0, unregister_fprobe(&fp)); in test_fprobe_syms()
187 KUNIT_EXPECT_EQ(test, 0, register_fprobe(&fp, "fprobe_selftest_target", NULL)); in test_fprobe_data()
191 KUNIT_EXPECT_EQ(test, 0, unregister_fprobe(&fp)); in test_fprobe_data()
205 KUNIT_EXPECT_EQ(test, 0, register_fprobe_syms(&fp, syms, 2)); in test_fprobe_nest()
208 KUNIT_EXPECT_EQ(test, 1, fp.nmissed); in test_fprobe_nest()
210 KUNIT_EXPECT_EQ(test, 0, unregister_fprobe(&fp)); in test_fprobe_nest()
221 KUNIT_EXPECT_EQ(test, 0, register_fprobe(&fp, "fprobe_selftest_target", NULL)); in test_fprobe_skip()
228 KUNIT_EXPECT_EQ(test, 0, exit_val); in test_fprobe_skip()
229 KUNIT_EXPECT_EQ(test, 0, fp.nmissed); in test_fprobe_skip()
232 KUNIT_EXPECT_EQ(test, 0, unregister_fprobe(&fp)); in test_fprobe_skip()