Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/x86/
H A Dnx_stack.c97 static volatile int test_state = 0; variable
123 if (test_state == 0) { in sigsegv()
130 test_state = 1; in sigsegv()
131 } else if (test_state == 1) { in sigsegv()
139 test_state = 2; in sigsegv()
140 } else if (test_state == 2) { in sigsegv()
145 test_state = 3; in sigsegv()
/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()
/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()
/linux/tools/usb/ffs-aio-example/multibuff/host_app/
H A Dtest.c39 * struct test_state - describes test program state
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/tools/usb/ffs-aio-example/simple/host_app/
H A Dtest.c39 * struct test_state - describes test program state
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/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()
/linux/tools/testing/selftests/proc/
H A Dproc-maps-race.c54 enum test_state { enum
101 enum test_state curr_state;
169 static void wait_for_state(struct vma_modifier_info *mod_info, enum test_state state) in wait_for_state()
177 static void signal_state(struct vma_modifier_info *mod_info, enum test_state state) in signal_state()
/linux/drivers/platform/mellanox/
H A Dmlxbf-bootctl.c261 int test_state; in lifecycle_state_show() local
270 test_state = status_bits & MLXBF_BOOTCTL_SB_TEST_MASK; in lifecycle_state_show()
277 if (test_state) { in lifecycle_state_show()
/linux/drivers/misc/
H A Dkgdbts.c171 struct test_state { struct
179 static struct test_state ts; argument
/linux/drivers/scsi/bfa/
H A Dbfa_svc.c5618 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_fcdiag_attach()
6062 dport->test_state = BFA_DPORT_ST_NOTSTART; in bfa_dport_sm_disabled()
6108 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_enabling()
6110 dport->test_state = BFA_DPORT_ST_INP; in bfa_dport_sm_enabling()
6117 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_dport_sm_enabling()
6160 dport->test_state = BFA_DPORT_ST_COMP; in bfa_dport_sm_enabled()
6164 dport->test_state = BFA_DPORT_ST_INP; in bfa_dport_sm_enabled()
6173 dport->test_state = BFA_DPORT_ST_NO_SFP; in bfa_dport_sm_enabled()
6238 dport->test_state = BFA_DPORT_ST_DISABLED; in bfa_dport_sm_disabling()
6289 dport->test_state in bfa_dport_sm_starting()
[all...]
H A Dbfa_svc.h784 u8 test_state; /* enum dport_test_state */ member