Home
last modified time | relevance | path

Searched refs:test (Results 1 – 9 of 9) sorted by relevance

/include/kunit/
Dtest.h161 void (*run_case)(struct kunit *test);
232 int (*init)(struct kunit *test);
233 void (*exit)(struct kunit *test);
283 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure() argument
285 WRITE_ONCE(test->status, KUNIT_FAILURE); in kunit_set_failure()
288 void kunit_init_test(struct kunit *test, const char *name, char *log);
382 struct kunit_resource *kunit_alloc_and_get_resource(struct kunit *test,
442 int kunit_add_resource(struct kunit *test,
457 int kunit_add_named_resource(struct kunit *test,
480 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource() argument
[all …]
Dassert.h44 struct kunit *test; member
70 .test = kunit, \
105 #define KUNIT_INIT_FAIL_ASSERT_STRUCT(test, type) { \ argument
106 .assert = KUNIT_INIT_ASSERT_STRUCT(test, \
140 #define KUNIT_INIT_UNARY_ASSERT_STRUCT(test, type, cond, expect_true) { \ argument
141 .assert = KUNIT_INIT_ASSERT_STRUCT(test, \
178 #define KUNIT_INIT_PTR_NOT_ERR_STRUCT(test, type, txt, val) { \ argument
179 .assert = KUNIT_INIT_ASSERT_STRUCT(test, \
226 #define KUNIT_INIT_BINARY_ASSERT_STRUCT(test, \ argument
233 .assert = KUNIT_INIT_ASSERT_STRUCT(test, \
[all …]
Dtry-catch.h48 struct kunit *test; member
/include/linux/
Dbitops.h324 #define bit_clear_unless(ptr, clear, test) \ argument
326 const typeof(*(ptr)) clear__ = (clear), test__ = (test);\
Dfs.h2617 int (*test)(struct super_block *, struct fs_context *),
2620 int (*test)(struct super_block *,void *),
3192 unsigned long hashval, int (*test)(struct inode *, void *),
3195 int (*test)(struct inode *, void *), void *data);
3199 int (*test)(struct inode *, void *),
3202 extern struct inode * iget5_locked(struct super_block *, unsigned long, int (*test)(struct inode *,…
3212 extern int insert_inode_locked4(struct inode *, unsigned long, int (*test)(struct inode *, void *),…
Dmodule.h61 int (*test)(struct module *); member
/include/video/
Domapfb_dss.h698 int (*run_test)(struct omap_dss_device *display, int test);
/include/uapi/linux/
Dbpf.h1391 } test; member
/include/net/
Ddevlink.h720 int (*test)(struct devlink_health_reporter *reporter, member