Lines Matching refs:kunit
12 #include <kunit/test.h>
67 * void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp)
153 int __kunit_add_resource(struct kunit *test,
169 static inline int kunit_add_resource(struct kunit *test,
180 kunit_find_named_resource(struct kunit *test, const char *name);
191 static inline int kunit_add_named_resource(struct kunit *test,
237 kunit_alloc_and_get_resource(struct kunit *test,
280 static inline void *kunit_alloc_resource(struct kunit *test,
299 typedef bool (*kunit_resource_match_t)(struct kunit *test,
309 static inline bool kunit_resource_name_match(struct kunit *test,
323 kunit_find_resource(struct kunit *test,
351 kunit_find_named_resource(struct kunit *test,
367 int kunit_destroy_resource(struct kunit *test,
371 static inline int kunit_destroy_named_resource(struct kunit *test,
388 void kunit_remove_resource(struct kunit *test, struct kunit_resource *res);
434 int kunit_add_action(struct kunit *test, kunit_action_t *action, void *ctx);
459 int kunit_add_action_or_reset(struct kunit *test, kunit_action_t *action,
476 void kunit_remove_action(struct kunit *test,
500 void kunit_release_action(struct kunit *test,