Searched refs:kunit_resource (Results 1 – 11 of 11) sorted by relevance
| /linux/lib/kunit/ |
| A D | kunit-test.c | 117 static int fake_resource_init(struct kunit_resource *res, void *context) in fake_resource_init() 126 static void fake_resource_free(struct kunit_resource *res) in fake_resource_free() 145 struct kunit_resource *res; in kunit_resource_test_alloc_resource() 175 struct kunit_resource *res = kunit_alloc_and_get_resource( in kunit_resource_test_destroy_resource() 197 struct kunit_resource *resources[5]; in kunit_resource_test_cleanup_resources() 241 static void fake_resource_2_free(struct kunit_resource *res) in fake_resource_2_free() 251 struct kunit_resource *res2; in fake_resource_1_init() 268 static void fake_resource_1_free(struct kunit_resource *res) in fake_resource_1_free() 283 struct kunit_resource *res; in kunit_resource_test_proper_free_ordering() 316 struct kunit_resource res; in kunit_resource_test_static() [all …]
|
| A D | test.c | 600 struct kunit_resource *res, in kunit_add_resource() 629 struct kunit_resource *res, in kunit_add_named_resource() 633 struct kunit_resource *existing; in kunit_add_named_resource() 650 struct kunit_resource *kunit_alloc_and_get_resource(struct kunit *test, in kunit_alloc_and_get_resource() 656 struct kunit_resource *res; in kunit_alloc_and_get_resource() 676 void kunit_remove_resource(struct kunit *test, struct kunit_resource *res) in kunit_remove_resource() 690 struct kunit_resource *res = kunit_find_resource(test, match, in kunit_destroy_resource() 722 static void kunit_kmalloc_array_free(struct kunit_resource *res) in kunit_kmalloc_array_free() 745 struct kunit_resource *res; in kunit_kfree() 763 struct kunit_resource *res; in kunit_cleanup() [all …]
|
| A D | string-stream.c | 21 static int string_stream_fragment_init(struct kunit_resource *res, in string_stream_fragment_init() 41 static void string_stream_fragment_free(struct kunit_resource *res) in string_stream_fragment_free() 172 static int string_stream_init(struct kunit_resource *res, void *context) in string_stream_init() 190 static void string_stream_free(struct kunit_resource *res) in string_stream_free()
|
| A D | executor_test.c | 174 static void kfree_res_free(struct kunit_resource *res) in kfree_res_free() 191 static void free_subsuite_res_free(struct kunit_resource *res) in free_subsuite_res_free()
|
| /linux/include/kunit/ |
| A D | test.h | 29 struct kunit_resource; 91 struct kunit_resource { struct 414 struct kunit_resource *res = container_of(kref, struct kunit_resource, in kunit_release_resource() 454 struct kunit_resource *res, 469 struct kunit_resource *res, 495 struct kunit_resource *res; in kunit_alloc_resource() 508 struct kunit_resource *res, 521 struct kunit_resource *res, in kunit_resource_instance_match() 534 struct kunit_resource *res, in kunit_resource_name_match() 546 static inline struct kunit_resource * [all …]
|
| /linux/lib/ |
| A D | slub_kunit.c | 9 static struct kunit_resource resource;
|
| A D | test_kasan.c | 38 static struct kunit_resource resource;
|
| /linux/mm/kasan/ |
| A D | report.c | 340 struct kunit_resource *resource; in kasan_update_kunit_status()
|
| /linux/Documentation/dev-tools/kunit/ |
| A D | tips.rst | 128 something more flexible you could use a named ``kunit_resource``, see
|
| /linux/drivers/thunderbolt/ |
| A D | test.c | 15 static int __ida_init(struct kunit_resource *res, void *context) in __ida_init() 24 static void __ida_destroy(struct kunit_resource *res) in __ida_destroy()
|
| /linux/mm/ |
| A D | slub.c | 575 struct kunit_resource *resource; in slab_add_kunit_errors()
|
Completed in 43 milliseconds