/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 62 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 D | test_progs.h | 81 struct test_state { struct 111 struct test_state *test_state; /* current running test state */ argument
|
/openbmc/linux/kernel/power/ |
H 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()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H 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()
|
/openbmc/linux/tools/usb/ffs-aio-example/multibuff/host_app/ |
H 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()
|
/openbmc/linux/tools/usb/ffs-aio-example/simple/host_app/ |
H 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()
|
/openbmc/linux/drivers/hv/ |
H 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()
|
/openbmc/u-boot/test/dm/ |
H A D | bus.c | 30 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 D | ncsi_state_machine.h | 89 return ncsi_state_.test_state == NCSI_STATE_TEST_END; in is_test_done()
|
H A D | ncsi_state_machine.cpp | 91 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 D | ncsi_fsm.h | 120 ncsi_test_state_t test_state; member
|
H A D | ncsi_fsm.c | 491 &ncsi_state->test_state; in ncsi_fsm_poll_test()
|
/openbmc/linux/drivers/platform/mellanox/ |
H 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()
|
/openbmc/linux/drivers/misc/ |
H A D | kgdbts.c | 171 struct test_state { struct 179 static struct test_state ts; argument
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_svc.c | 5718 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 D | bfa_svc.h | 716 u8 test_state; /* enum dport_test_state */ member
|
/openbmc/linux/kernel/sched/ |
H A D | psi.c | 221 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()
|