Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_progs.c62 env.test_state->stdout = stdout; in stdio_hijack_init()
96 stdout = env.test_state->stdout; in stdio_restore_cleanup()
97 stderr = env.test_state->stdout; in stdio_restore_cleanup()
99 fclose(env.test_state->stdout); in stdio_restore_cleanup()
100 env.test_state->stdout = NULL; in stdio_restore_cleanup()
242 static void print_test_result(const struct prog_test_def *test, const struct test_state *test_state) in print_test_result() argument
244 int skipped_cnt = test_state->skip_cnt; in print_test_result()
245 int subtests_cnt = test_state->subtest_num; in print_test_result()
248 if (test_state->error_cnt) in print_test_result()
299 const struct test_state *test_state, in dump_test_log() argument
[all …]
H A Dtest_progs.h81 struct test_state { struct
111 struct test_state *test_state; /* current running test state */ argument
/openbmc/linux/kernel/power/
H A 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()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H 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()
/openbmc/linux/tools/usb/ffs-aio-example/multibuff/host_app/
H 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()
/openbmc/linux/tools/usb/ffs-aio-example/simple/host_app/
H 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()
/openbmc/linux/drivers/hv/
H A 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()
/openbmc/u-boot/test/dm/
H A Dbus.c30 static struct dm_test_state *test_state; variable
78 struct dm_test_state *dms = test_state; in testbus_child_post_remove()
339 test_state = dms; in dm_test_bus_parent_ops()
364 test_state = NULL; in dm_test_bus_parent_ops()
/openbmc/google-misc/subprojects/ncsid/src/
H A Dncsi_state_machine.h89 return ncsi_state_.test_state == NCSI_STATE_TEST_END; in is_test_done()
H A Dncsi_state_machine.cpp91 NCSI_STATE_L3L4_CONFIG_END, state->test_state, in snprintf_state()
100 state.test_state, NCSI_STATE_TEST_END); in print_state()
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_fsm.h120 ncsi_test_state_t test_state; member
H A Dncsi_fsm.c491 &ncsi_state->test_state; in ncsi_fsm_poll_test()
/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c260 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()
/openbmc/linux/drivers/misc/
H A Dkgdbts.c171 struct test_state { struct
179 static struct test_state ts; argument
/openbmc/linux/drivers/scsi/bfa/
H A 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 …]
H A Dbfa_svc.h716 u8 test_state; /* enum dport_test_state */ member
/openbmc/linux/kernel/sched/
H A Dpsi.c221 static bool test_state(unsigned int *tasks, enum psi_states state, bool oncpu) in test_state() function
859 if (test_state(groupc->tasks, s, state_mask & PSI_ONCPU)) in psi_group_change()