Searched refs:kunit_add_resource (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/lib/kunit/ |
H A D | test.c | 405 int kunit_add_resource(struct kunit *test, in kunit_add_resource() function 431 EXPORT_SYMBOL_GPL(kunit_add_resource); variable 453 return kunit_add_resource(test, init, free, res, data); in kunit_add_named_resource() 470 ret = kunit_add_resource(test, init, free, res, data); in kunit_alloc_and_get_resource()
|
H A D | kunit-test.c | 318 KUNIT_EXPECT_EQ(test, kunit_add_resource(test, NULL, NULL, &res, &ctx), in kunit_resource_test_static()
|
/kernel/linux/linux-6.6/include/kunit/ |
H A D | resource.h | 160 * kunit_add_resource() - Add a *test managed resource*. 169 static inline int kunit_add_resource(struct kunit *test, in kunit_add_resource() function
|
/kernel/linux/linux-5.10/include/kunit/ |
H A D | test.h | 378 * kunit_add_resource() - Add a *test managed resource*. 387 int kunit_add_resource(struct kunit *test, 437 if (!kunit_add_resource(test, init, free, res, context)) in kunit_alloc_resource()
|
/kernel/linux/linux-6.6/lib/kunit/ |
H A D | kunit-test.c | 360 KUNIT_EXPECT_EQ(test, kunit_add_resource(test, NULL, NULL, &res, &ctx), in kunit_resource_test_static()
|
Completed in 6 milliseconds