Symbol: test_state
drivers/hv/hv_debugfs.c
88
struct dentry *test_state;
drivers/hv/hv_debugfs.c
90
test_state = debugfs_create_file(status, 0644, root,
drivers/hv/hv_debugfs.c
93
if (IS_ERR(test_state)) {
drivers/hv/hv_debugfs.c
95
return PTR_ERR(test_state);
drivers/misc/kgdbts.c
180
static struct test_state ts;
drivers/platform/mellanox/mlxbf-bootctl.c
261
int test_state;
drivers/platform/mellanox/mlxbf-bootctl.c
270
test_state = status_bits & MLXBF_BOOTCTL_SB_TEST_MASK;
drivers/platform/mellanox/mlxbf-bootctl.c
277
if (test_state) {
drivers/scsi/bfa/bfa_svc.c
5618
dport->test_state = BFA_DPORT_ST_DISABLED;
drivers/scsi/bfa/bfa_svc.c
6062
dport->test_state = BFA_DPORT_ST_NOTSTART;
drivers/scsi/bfa/bfa_svc.c
6108
dport->test_state = BFA_DPORT_ST_NO_SFP;
drivers/scsi/bfa/bfa_svc.c
6110
dport->test_state = BFA_DPORT_ST_INP;
drivers/scsi/bfa/bfa_svc.c
6117
dport->test_state = BFA_DPORT_ST_DISABLED;
drivers/scsi/bfa/bfa_svc.c
6160
dport->test_state = BFA_DPORT_ST_COMP;
drivers/scsi/bfa/bfa_svc.c
6164
dport->test_state = BFA_DPORT_ST_INP;
drivers/scsi/bfa/bfa_svc.c
6173
dport->test_state = BFA_DPORT_ST_NO_SFP;
drivers/scsi/bfa/bfa_svc.c
6238
dport->test_state = BFA_DPORT_ST_DISABLED;
drivers/scsi/bfa/bfa_svc.c
6289
dport->test_state = BFA_DPORT_ST_NO_SFP;
drivers/scsi/bfa/bfa_svc.c
6291
dport->test_state = BFA_DPORT_ST_INP;
drivers/scsi/bfa/bfa_svc.c
6734
if (dport->test_state == BFA_DPORT_ST_NO_SFP)
drivers/scsi/bfa/bfa_svc.c
6737
if (dport->test_state == BFA_DPORT_ST_INP)
drivers/scsi/bfa/bfa_svc.c
6740
WARN_ON(dport->test_state != BFA_DPORT_ST_COMP);
drivers/scsi/bfa/bfa_svc.c
6791
if (dport->test_state == BFA_DPORT_ST_NO_SFP)
drivers/scsi/bfa/bfa_svc.h
784
u8 test_state; /* enum dport_test_state */
kernel/power/suspend_test.c
186
suspend_state_t test_state;
kernel/power/suspend_test.c
192
for (test_state = PM_SUSPEND_MIN; test_state < PM_SUSPEND_MAX; test_state++) {
kernel/power/suspend_test.c
193
const char *state_label = pm_states[test_state];
kernel/power/suspend_test.c
198
if (test_state == PM_SUSPEND_MAX) {
kernel/power/suspend_test.c
215
test_wakealarm(rtc, test_state);
lib/kunit/kunit-test.c
809
struct driver_test_state *test_state = kunit_kzalloc(test, sizeof(*test_state), GFP_KERNEL);
lib/kunit/kunit-test.c
811
KUNIT_ASSERT_NOT_ERR_OR_NULL(test, test_state);
lib/kunit/kunit-test.c
813
test->priv = test_state;
lib/kunit/kunit-test.c
828
KUNIT_ASSERT_TRUE(test, test_state->driver_device_probed);
lib/kunit/kunit-test.c
831
devm_add_action(test_device, test_dev_action, &test_state->action_was_run);
lib/kunit/kunit-test.c
833
KUNIT_EXPECT_EQ(test, test_state->action_was_run, 0);
lib/kunit/kunit-test.c
839
KUNIT_ASSERT_TRUE(test, test_state->driver_device_removed);
lib/kunit/kunit-test.c
842
test_state->driver_device_probed = false;
lib/kunit/kunit-test.c
852
KUNIT_ASSERT_TRUE(test, test_state->driver_device_probed);
tools/testing/selftests/bpf/prog_tests/prog_tests_framework.c
15
struct test_state *state = env.test_state;
tools/testing/selftests/bpf/prog_tests/prog_tests_framework.c
6
static void clear_test_state(struct test_state *state)
tools/testing/selftests/bpf/test_progs.c
111
stdout = env.test_state->stdout_saved;
tools/testing/selftests/bpf/test_progs.c
112
stderr = env.test_state->stdout_saved;
tools/testing/selftests/bpf/test_progs.c
114
if (env.test_state->stdout_saved)
tools/testing/selftests/bpf/test_progs.c
115
fclose(env.test_state->stdout_saved);
tools/testing/selftests/bpf/test_progs.c
116
env.test_state->stdout_saved = NULL;
tools/testing/selftests/bpf/test_progs.c
1271
env.test_state->error_cnt++;
tools/testing/selftests/bpf/test_progs.c
1272
dump_test_log(env.test, env.test_state, true, false, NULL);
tools/testing/selftests/bpf/test_progs.c
1394
struct test_state *state = &test_states[test_num];
tools/testing/selftests/bpf/test_progs.c
1398
env.test_state = state;
tools/testing/selftests/bpf/test_progs.c
1479
static int dispatch_thread_send_subtests(int sock_fd, struct test_state *state)
tools/testing/selftests/bpf/test_progs.c
1521
struct test_state *state;
tools/testing/selftests/bpf/test_progs.c
1617
struct test_state *state = &test_states[i];
tools/testing/selftests/bpf/test_progs.c
1658
struct test_state *state = &test_states[i];
tools/testing/selftests/bpf/test_progs.c
1802
static int worker_main_send_subtests(int sock, struct test_state *state)
tools/testing/selftests/bpf/test_progs.c
1870
struct test_state *state = &test_states[test_to_run];
tools/testing/selftests/bpf/test_progs.c
1935
struct test_state *test_state = &test_states[i];
tools/testing/selftests/bpf/test_progs.c
1937
for (j = 0; j < test_state->subtest_num; j++)
tools/testing/selftests/bpf/test_progs.c
1938
free_subtest_state(&test_state->subtest_states[j]);
tools/testing/selftests/bpf/test_progs.c
1940
free(test_state->subtest_states);
tools/testing/selftests/bpf/test_progs.c
1941
free(test_state->log_buf);
tools/testing/selftests/bpf/test_progs.c
1942
test_state->subtest_states = NULL;
tools/testing/selftests/bpf/test_progs.c
1943
test_state->log_buf = NULL;
tools/testing/selftests/bpf/test_progs.c
349
static void print_test_result(const struct prog_test_def *test, const struct test_state *test_state)
tools/testing/selftests/bpf/test_progs.c
351
int skipped_cnt = test_state->skip_cnt;
tools/testing/selftests/bpf/test_progs.c
352
int subtests_cnt = test_state->subtest_num;
tools/testing/selftests/bpf/test_progs.c
355
if (test_state->error_cnt)
tools/testing/selftests/bpf/test_progs.c
406
const struct test_state *test_state,
tools/testing/selftests/bpf/test_progs.c
411
bool test_failed = test_state->error_cnt > 0;
tools/testing/selftests/bpf/test_progs.c
412
bool force_log = test_state->force_log;
tools/testing/selftests/bpf/test_progs.c
430
if (test_state->log_cnt && print_test)
tools/testing/selftests/bpf/test_progs.c
431
print_test_log(test_state->log_buf, test_state->log_cnt);
tools/testing/selftests/bpf/test_progs.c
437
jsonw_write_log_message(w, test_state->log_buf, test_state->log_cnt);
tools/testing/selftests/bpf/test_progs.c
443
for (i = 0; i < test_state->subtest_num; i++) {
tools/testing/selftests/bpf/test_progs.c
444
subtest_state = &test_state->subtest_states[i];
tools/testing/selftests/bpf/test_progs.c
477
print_test_result(test, test_state);
tools/testing/selftests/bpf/test_progs.c
524
struct test_state *test_state = env.test_state;
tools/testing/selftests/bpf/test_progs.c
528
test_state->error_cnt++;
tools/testing/selftests/bpf/test_progs.c
531
test_state->sub_succ_cnt++;
tools/testing/selftests/bpf/test_progs.c
533
test_state->skip_cnt++;
tools/testing/selftests/bpf/test_progs.c
537
print_subtest_name(test->test_num, test_state->subtest_num,
tools/testing/selftests/bpf/test_progs.c
550
struct test_state *state = env.test_state;
tools/testing/selftests/bpf/test_progs.c
607
env.test_state->force_log = true;
tools/testing/selftests/bpf/test_progs.c
615
env.test_state->skip_cnt++;
tools/testing/selftests/bpf/test_progs.c
623
env.test_state->error_cnt++;
tools/testing/selftests/bpf/test_progs.c
72
env.test_state->stdout_saved = stdout;
tools/testing/selftests/bpf/test_progs.c
840
static struct test_state test_states[ARRAY_SIZE(prog_test_defs)];
tools/testing/selftests/bpf/test_progs.h
116
struct test_state *test_state; /* current running test state */
tools/testing/selftests/proc/proc-maps-race.c
103
enum test_state curr_state;
tools/testing/selftests/proc/proc-maps-race.c
171
static void wait_for_state(struct vma_modifier_info *mod_info, enum test_state state)
tools/testing/selftests/proc/proc-maps-race.c
179
static void signal_state(struct vma_modifier_info *mod_info, enum test_state state)
tools/testing/selftests/x86/nx_stack.c
123
if (test_state == 0) {
tools/testing/selftests/x86/nx_stack.c
130
test_state = 1;
tools/testing/selftests/x86/nx_stack.c
131
} else if (test_state == 1) {
tools/testing/selftests/x86/nx_stack.c
139
test_state = 2;
tools/testing/selftests/x86/nx_stack.c
140
} else if (test_state == 2) {
tools/testing/selftests/x86/nx_stack.c
145
test_state = 3;
tools/testing/selftests/x86/nx_stack.c
97
static volatile int test_state = 0;
tools/usb/ffs-aio-example/multibuff/host_app/test.c
145
void test_exit(struct test_state *state)
tools/usb/ffs-aio-example/multibuff/host_app/test.c
156
struct test_state state;
tools/usb/ffs-aio-example/multibuff/host_app/test.c
59
int test_init(struct test_state *state)
tools/usb/ffs-aio-example/simple/host_app/test.c
145
void test_exit(struct test_state *state)
tools/usb/ffs-aio-example/simple/host_app/test.c
156
struct test_state state;
tools/usb/ffs-aio-example/simple/host_app/test.c
59
int test_init(struct test_state *state)