Searched refs:add_one (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/lib/kunit/ |
H A D | kunit-example-test.c | 155 static int add_one(int i) in add_one() function 158 KUNIT_STATIC_STUB_REDIRECT(add_one, i); in add_one() 177 KUNIT_EXPECT_EQ(test, add_one(1), 2); in example_static_stub_test() 180 kunit_activate_static_stub(test, add_one, subtract_one); in example_static_stub_test() 183 KUNIT_EXPECT_EQ(test, add_one(1), 0); in example_static_stub_test() 186 kunit_deactivate_static_stub(test, add_one); in example_static_stub_test() 187 KUNIT_EXPECT_EQ(test, add_one(1), 2); in example_static_stub_test()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | cma_trace.h | 352 DEFINE_CMA_CLIENT_EVENT(add_one);
|