Searched refs:ktest_test_context (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/tests/ |
H A D | ktest.h | 42 struct ktest_test_context { struct 50 typedef int (*ktest_run_t)(struct ktest_test_context *ctx); argument 51 typedef int (*ktest_parse_t)(struct ktest_test_context *ctx, struct nlattr *container); 69 bool ktest_start_msg(struct ktest_test_context *ctx); 70 void ktest_add_msg_meta(struct ktest_test_context *ctx, const char *func, 72 void ktest_add_msg_text(struct ktest_test_context *ctx, int msg_level, 74 void ktest_end_msg(struct ktest_test_context *ctx);
|
H A D | ktest_example.c | 34 test_something(struct ktest_test_context *ctx) in test_something() 46 test_something_else(struct ktest_test_context *ctx) in test_something_else() 52 test_failed(struct ktest_test_context *ctx) in test_failed() 58 test_failed2(struct ktest_test_context *ctx) in test_failed2() 84 test_with_params_parser(struct ktest_test_context *ctx, struct nlattr *nla) in test_with_params_parser() 95 test_with_params(struct ktest_test_context *ctx) in test_with_params()
|
H A D | ktest.c | 210 struct ktest_test_context ctx = { in run_test() 303 ktest_start_msg(struct ktest_test_context *ctx) in ktest_start_msg() 309 ktest_add_msg_meta(struct ktest_test_context *ctx, const char *func, in ktest_add_msg_meta() 324 ktest_add_msg_text(struct ktest_test_context *ctx, int msg_level, in ktest_add_msg_text() 338 ktest_end_msg(struct ktest_test_context *ctx) in ktest_end_msg()
|
/freebsd/sys/netlink/ |
H A D | ktest_netlink_message_writer.c | 58 test_nlbuf_parser(struct ktest_test_context *ctx, struct nlattr *nla) in test_nlbuf_parser() 69 test_nlbuf_writer_allocation(struct ktest_test_context *ctx) in test_nlbuf_writer_allocation()
|