• Home
  • Raw
  • Download

Lines Matching refs:kunit

92 struct kunit;
142 void (*run_case)(struct kunit *test);
184 int (*init)(struct kunit *test);
185 void (*exit)(struct kunit *test);
204 struct kunit { struct
228 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure() argument
233 void kunit_init_test(struct kunit *test, const char *name, char *log);
327 struct kunit_resource *kunit_alloc_and_get_resource(struct kunit *test,
387 int kunit_add_resource(struct kunit *test,
402 int kunit_add_named_resource(struct kunit *test,
425 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource()
443 typedef bool (*kunit_resource_match_t)(struct kunit *test,
456 static inline bool kunit_resource_instance_match(struct kunit *test, in kunit_resource_instance_match()
469 static inline bool kunit_resource_name_match(struct kunit *test, in kunit_resource_name_match()
483 kunit_find_resource(struct kunit *test, in kunit_find_resource()
510 kunit_find_named_resource(struct kunit *test, in kunit_find_named_resource()
526 int kunit_destroy_resource(struct kunit *test,
530 static inline int kunit_destroy_named_resource(struct kunit *test, in kunit_destroy_named_resource()
547 void kunit_remove_resource(struct kunit *test, struct kunit_resource *res);
559 void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp);
566 void kunit_kfree(struct kunit *test, const void *ptr);
576 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc()
581 void kunit_cleanup(struct kunit *test);
644 void kunit_do_assertion(struct kunit *test,