Searched refs:test_state (Results 1 – 13 of 13) sorted by relevance
| /linux/tools/testing/selftests/bpf/ |
| A D | test_progs.c | 266 if (test_state->error_cnt) in print_test_result() 317 const struct test_state *test_state, in dump_test_log() argument 342 print_test_log(test_state->log_buf, test_state->log_cnt); in dump_test_log() 348 jsonw_write_log_message(w, test_state->log_buf, test_state->log_cnt); in dump_test_log() 440 struct test_state *test_state = env.test_state; in test__end_subtest() local 444 test_state->error_cnt++; in test__end_subtest() 449 test_state->skip_cnt++; in test__end_subtest() 465 struct test_state *state = env.test_state; in test__start_subtest() 1258 env.test_state = state; in run_one_test() 1375 struct test_state *state; in dispatch_thread() [all …]
|
| A D | test_progs.h | 82 struct test_state { struct 115 struct test_state *test_state; /* current running test state */ argument
|
| /linux/tools/testing/selftests/x86/ |
| A D | nx_stack.c | 97 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()
|
| /linux/kernel/power/ |
| A D | suspend_test.c | 186 suspend_state_t test_state; in test_suspend() local 192 for (test_state = PM_SUSPEND_MIN; test_state < PM_SUSPEND_MAX; test_state++) { in test_suspend() 193 const char *state_label = pm_states[test_state]; in test_suspend() 198 if (test_state == PM_SUSPEND_MAX) { in test_suspend() 215 test_wakealarm(rtc, test_state); in test_suspend()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | prog_tests_framework.c | 6 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()
|
| /linux/tools/usb/ffs-aio-example/multibuff/host_app/ |
| A D | test.c | 48 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()
|
| /linux/tools/usb/ffs-aio-example/simple/host_app/ |
| A D | test.c | 48 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()
|
| /linux/drivers/hv/ |
| A D | hv_debugfs.c | 88 struct dentry *test_state; in hv_debug_set_test_state() local 90 test_state = debugfs_create_file(status, 0644, root, in hv_debug_set_test_state() 93 if (IS_ERR(test_state)) { in hv_debug_set_test_state() 95 return PTR_ERR(test_state); in hv_debug_set_test_state()
|
| /linux/lib/kunit/ |
| A D | kunit-test.c | 806 struct driver_test_state *test_state = kunit_kzalloc(test, sizeof(*test_state), GFP_KERNEL); in kunit_device_driver_test() local 808 test->priv = test_state; in kunit_device_driver_test() 823 KUNIT_ASSERT_TRUE(test, test_state->driver_device_probed); in kunit_device_driver_test() 826 devm_add_action(test_device, test_dev_action, &test_state->action_was_run); in kunit_device_driver_test() 828 KUNIT_EXPECT_EQ(test, test_state->action_was_run, 0); in kunit_device_driver_test() 834 KUNIT_ASSERT_TRUE(test, test_state->driver_device_removed); in kunit_device_driver_test() 837 test_state->driver_device_probed = false; in kunit_device_driver_test() 847 KUNIT_ASSERT_TRUE(test, test_state->driver_device_probed); in kunit_device_driver_test()
|
| /linux/drivers/platform/mellanox/ |
| A D | mlxbf-bootctl.c | 260 int test_state; in lifecycle_state_show() local 269 test_state = status_bits & MLXBF_BOOTCTL_SB_TEST_MASK; in lifecycle_state_show() 276 if (test_state) { in lifecycle_state_show()
|
| /linux/drivers/misc/ |
| A D | kgdbts.c | 171 struct test_state { struct 179 static struct test_state ts; argument
|
| /linux/drivers/scsi/bfa/ |
| A D | bfa_svc.c | 5690 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_fcdiag_attach() 6180 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_enabling() 6182 dport->test_state = BFA_DPORT_ST_INP; in bfa_dport_sm_enabling() 6189 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_dport_sm_enabling() 6232 dport->test_state = BFA_DPORT_ST_COMP; in bfa_dport_sm_enabled() 6236 dport->test_state = BFA_DPORT_ST_INP; in bfa_dport_sm_enabled() 6245 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_enabled() 6310 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_dport_sm_disabling() 6361 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_starting() 6363 dport->test_state = BFA_DPORT_ST_INP; in bfa_dport_sm_starting() [all …]
|
| A D | bfa_svc.h | 789 u8 test_state; /* enum dport_test_state */ member
|
Completed in 69 milliseconds