Searched refs:ktest_test_context (Results 1 – 5 of 5) sorted by relevance
| /src/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); 60 #define KTEST_FUNC(X) static int __ktest_##X(struct ktest_test_context *ctx) 73 bool ktest_start_msg(struct ktest_test_context *ctx); 74 void ktest_add_msg_meta(struct ktest_test_context *ctx, const char *func, 76 void ktest_add_msg_text(struct ktest_test_context *ctx, int msg_level, 78 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()
|
| /src/sys/netlink/ |
| H A D | ktest_netlink_message_writer.c | 56 test_nlbuf_parser(struct ktest_test_context *ctx, struct nlattr *nla) in test_nlbuf_parser() 67 test_nlbuf_writer_allocation(struct ktest_test_context *ctx) in test_nlbuf_writer_allocation()
|
| /src/sys/netinet/ |
| H A D | tcp_hpts_test.c | 125 dump_hpts_entry(struct ktest_test_context *ctx, struct tcp_hpts_entry *hpts) in dump_hpts_entry() 155 struct ktest_test_context *ctx = tp->t_fb_ptr; in dump_tcpcb() 307 struct ktest_test_context *ctx = tp->t_fb_ptr; in test_tcp_output() 335 struct ktest_test_context *ctx = tp->t_fb_ptr; in test_tfb_do_queued_segments() 370 test_hpts_create_tcpcb(struct ktest_test_context *ctx, struct tcp_hptsi *pace) in test_hpts_create_tcpcb()
|