/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A 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 in print_test_result() 284 dump_test_log(const struct prog_test_def *test, const struct test_state *test_state, bool skip_ok_subtests, bool par_exec_result, json_writer_t *w) dump_test_log() argument 408 struct test_state *test_state = env.test_state; test__end_subtest() local 1607 struct test_state *test_state = &test_states[i]; free_test_states() local [all...] |
H A D | test_progs.h | 81 struct test_state { struct 111 struct test_state *test_state; /* current running test state */ member
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/tools/usb/ffs-aio-example/simple/host_app/ |
H A D | test.c | 39 * struct test_state - describes test program state 48 struct test_state { struct 59 int test_init(struct test_state *state) in test_init() 145 void test_exit(struct test_state *state) in test_exit() 156 struct test_state state; in main()
|
/kernel/linux/linux-5.10/tools/usb/ffs-aio-example/multibuff/host_app/ |
H A D | test.c | 39 * struct test_state - describes test program state 48 struct test_state { struct 59 int test_init(struct test_state *state) in test_init() 145 void test_exit(struct test_state *state) in test_exit() 156 struct test_state state; in main()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/tools/usb/ffs-aio-example/simple/host_app/ |
H A D | test.c | 39 * struct test_state - describes test program state 48 struct test_state { struct 59 int test_init(struct test_state *state) in test_init() 145 void test_exit(struct test_state *state) in test_exit() 156 struct test_state state; in main()
|
/kernel/linux/linux-6.6/tools/usb/ffs-aio-example/multibuff/host_app/ |
H A D | test.c | 39 * struct test_state - describes test program state 48 struct test_state { struct 59 int test_init(struct test_state *state) in test_init() 145 void test_exit(struct test_state *state) in test_exit() 156 struct test_state state; in main()
|
/kernel/linux/linux-5.10/drivers/platform/mellanox/ |
H A D | mlxbf-bootctl.c | 178 int test_state; in lifecycle_state_show() local 187 test_state = status_bits & MLXBF_BOOTCTL_SB_TEST_MASK; in lifecycle_state_show() 194 if (test_state) { in lifecycle_state_show()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | kgdbts.c | 170 struct test_state { struct 178 static struct test_state ts;
|
/kernel/linux/linux-6.6/drivers/misc/ |
H A D | kgdbts.c | 171 struct test_state { struct 179 static struct test_state ts;
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_svc.c | 5724 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_fcdiag_attach() 6168 dport->test_state = BFA_DPORT_ST_NOTSTART; in bfa_dport_sm_disabled() 6214 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_enabling() 6216 dport->test_state = BFA_DPORT_ST_INP; in bfa_dport_sm_enabling() 6223 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_dport_sm_enabling() 6266 dport->test_state = BFA_DPORT_ST_COMP; in bfa_dport_sm_enabled() 6270 dport->test_state = BFA_DPORT_ST_INP; in bfa_dport_sm_enabled() 6279 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_enabled() 6344 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_dport_sm_disabling() 6395 dport->test_state in bfa_dport_sm_starting() [all...] |
H A D | bfa_svc.h | 716 u8 test_state; /* enum dport_test_state */ member
|
/kernel/linux/linux-6.6/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 in bfa_dport_sm_starting() [all...] |
H A D | bfa_svc.h | 716 u8 test_state; /* enum dport_test_state */ member
|
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | psi.c | 219 static bool test_state(unsigned int *tasks, enum psi_states state) in test_state() function 735 if (test_state(groupc->tasks, s)) in psi_group_change()
|
/kernel/linux/linux-6.6/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 856 if (test_state(groupc->tasks, s, state_mask & PSI_ONCPU)) in psi_group_change() 1205 * instead only stop test_state() loop, record_times() in psi_cgroup_restart() 1213 * to get correct state mask from test_state() loop on tasks[], in psi_cgroup_restart()
|