Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_progs.c48 env.test_state->stdout = stdout; in stdio_hijack_init()
82 stdout = env.test_state->stdout; in stdio_restore_cleanup()
83 stderr = env.test_state->stdout; in stdio_restore_cleanup()
85 fclose(env.test_state->stdout); in stdio_restore_cleanup()
86 env.test_state->stdout = NULL; in stdio_restore_cleanup()
228 static void print_test_result(const struct prog_test_def *test, const struct test_state *test_state) in print_test_result() argument
230 int skipped_cnt = test_state->skip_cnt; in print_test_result()
231 int subtests_cnt = test_state->subtest_num; in print_test_result()
234 if (test_state->error_cnt) in print_test_result()
285 const struct test_state *test_state, in dump_test_log() argument
[all …]
Dtest_progs.h81 struct test_state { struct
111 struct test_state *test_state; /* current running test state */ member
/Linux-v6.6/kernel/power/
Dsuspend_test.c186 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-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
/Linux-v6.6/tools/usb/ffs-aio-example/multibuff/host_app/
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()
/Linux-v6.6/tools/usb/ffs-aio-example/simple/host_app/
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()
/Linux-v6.6/drivers/hv/
Dhv_debugfs.c88 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-v6.6/drivers/misc/
Dkgdbts.c171 struct test_state { struct
179 static struct test_state ts; argument
/Linux-v6.6/drivers/scsi/bfa/
Dbfa_svc.c5718 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_fcdiag_attach()
6162 dport->test_state = BFA_DPORT_ST_NOTSTART; in bfa_dport_sm_disabled()
6208 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_enabling()
6210 dport->test_state = BFA_DPORT_ST_INP; in bfa_dport_sm_enabling()
6217 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_dport_sm_enabling()
6260 dport->test_state = BFA_DPORT_ST_COMP; in bfa_dport_sm_enabled()
6264 dport->test_state = BFA_DPORT_ST_INP; in bfa_dport_sm_enabled()
6273 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_enabled()
6338 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_dport_sm_disabling()
6389 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_starting()
[all …]
Dbfa_svc.h716 u8 test_state; /* enum dport_test_state */ member
/Linux-v6.6/kernel/sched/
Dpsi.c221 static bool test_state(unsigned int *tasks, enum psi_states state, bool oncpu) in test_state() function
856 if (test_state(groupc->tasks, s, state_mask & PSI_ONCPU)) in psi_group_change()