Searched refs:test_state (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | test_progs.c | 48 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 …]
|
D | test_progs.h | 81 struct test_state { struct 111 struct test_state *test_state; /* current running test state */ member
|
/Linux-v6.6/kernel/power/ |
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-v6.6/tools/testing/selftests/bpf/prog_tests/ |
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-v6.6/tools/usb/ffs-aio-example/multibuff/host_app/ |
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-v6.6/tools/usb/ffs-aio-example/simple/host_app/ |
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-v6.6/drivers/hv/ |
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-v6.6/drivers/misc/ |
D | kgdbts.c | 171 struct test_state { struct 179 static struct test_state ts; argument
|
/Linux-v6.6/drivers/scsi/bfa/ |
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 …]
|
D | bfa_svc.h | 716 u8 test_state; /* enum dport_test_state */ member
|
/Linux-v6.6/kernel/sched/ |
D | psi.c | 221 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()
|