Home
last modified time | relevance | path

Searched refs:test_state (Results 1 – 7 of 7) sorted by relevance

/tools/testing/selftests/x86/
A Dnx_stack.c97 static volatile int test_state = 0; variable
123 if (test_state == 0) { in sigsegv()
130 test_state = 1; in sigsegv()
131 } else if (test_state == 1) { in sigsegv()
139 test_state = 2; in sigsegv()
140 } else if (test_state == 2) { in sigsegv()
145 test_state = 3; in sigsegv()
/tools/testing/selftests/bpf/prog_tests/
A Dprog_tests_framework.c6 static void clear_test_state(struct test_state *state) in clear_test_state()
15 struct test_state *state = env.test_state; in test_prog_tests_framework()
/tools/testing/selftests/bpf/
A Dtest_progs.c353 if (test_state->error_cnt) in print_test_result()
404 const struct test_state *test_state, in dump_test_log() argument
429 print_test_log(test_state->log_buf, test_state->log_cnt); in dump_test_log()
435 jsonw_write_log_message(w, test_state->log_buf, test_state->log_cnt); in dump_test_log()
522 struct test_state *test_state = env.test_state; in test__end_subtest() local
526 test_state->error_cnt++; in test__end_subtest()
531 test_state->skip_cnt++; in test__end_subtest()
548 struct test_state *state = env.test_state; in test__start_subtest()
1382 env.test_state = state; in run_one_test()
1505 struct test_state *state; in dispatch_thread()
[all …]
A Dtest_progs.h82 struct test_state { struct
115 struct test_state *test_state; /* current running test state */ argument
/tools/usb/ffs-aio-example/multibuff/host_app/
A Dtest.c48 struct test_state { struct
59 int test_init(struct test_state *state) in test_init() argument
145 void test_exit(struct test_state *state) in test_exit()
156 struct test_state state; in main()
/tools/usb/ffs-aio-example/simple/host_app/
A Dtest.c48 struct test_state { struct
59 int test_init(struct test_state *state) in test_init() argument
145 void test_exit(struct test_state *state) in test_exit()
156 struct test_state state; in main()
/tools/testing/selftests/proc/
A Dproc-maps-race.c54 enum test_state { enum
101 enum test_state curr_state;
169 static void wait_for_state(struct vma_modifier_info *mod_info, enum test_state state) in wait_for_state()
177 static void signal_state(struct vma_modifier_info *mod_info, enum test_state state) in signal_state()

Completed in 15 milliseconds