/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | prog_tests_framework.c | 6 static void clear_test_state(struct test_state *state) 15 struct test_state *state = env.test_state;
|
/linux-master/tools/testing/selftests/x86/ |
H A D | nx_stack.c | 97 static volatile int test_state = 0; variable 123 if (test_state == 0) { 130 test_state = 1; 131 } else if (test_state == 1) { 139 test_state = 2; 140 } else if (test_state == 2) { 145 test_state = 3;
|
/linux-master/kernel/power/ |
H A D | suspend_test.c | 186 suspend_state_t test_state; local 192 for (test_state = PM_SUSPEND_MIN; test_state < PM_SUSPEND_MAX; test_state++) { 193 const char *state_label = pm_states[test_state]; 198 if (test_state == PM_SUSPEND_MAX) { 215 test_wakealarm(rtc, test_state);
|
/linux-master/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) 145 void test_exit(struct test_state *state) 156 struct test_state state;
|
/linux-master/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) 145 void test_exit(struct test_state *state) 156 struct test_state state;
|
/linux-master/drivers/hv/ |
H A D | hv_debugfs.c | 88 struct dentry *test_state; local 90 test_state = debugfs_create_file(status, 0644, root, 93 if (IS_ERR(test_state)) { 95 return PTR_ERR(test_state);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 48 env.test_state->stdout = stdout; 82 stdout = env.test_state->stdout; 83 stderr = env.test_state->stdout; 85 fclose(env.test_state->stdout); 86 env.test_state->stdout = NULL; 228 static void print_test_result(const struct prog_test_def *test, const struct test_state *test_state) argument 230 int skipped_cnt = test_state->skip_cnt; 231 int subtests_cnt = test_state->subtest_num; 234 if (test_state 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) argument 408 struct test_state *test_state = env.test_state; local 1648 struct test_state *test_state = &test_states[i]; local [all...] |
H A D | test_progs.h | 81 struct test_state { struct 111 struct test_state *test_state; /* current running test state */ member in struct:test_env
|
/linux-master/lib/kunit/ |
H A D | kunit-test.c | 764 struct driver_test_state *test_state = kunit_kzalloc(test, sizeof(*test_state), GFP_KERNEL); local 766 test->priv = test_state; 781 KUNIT_ASSERT_TRUE(test, test_state->driver_device_probed); 784 devm_add_action(test_device, test_dev_action, &test_state->action_was_run); 786 KUNIT_EXPECT_EQ(test, test_state->action_was_run, 0); 792 KUNIT_ASSERT_TRUE(test, test_state->driver_device_removed); 795 test_state->driver_device_probed = false; 805 KUNIT_ASSERT_TRUE(test, test_state->driver_device_probed);
|
/linux-master/drivers/misc/ |
H A D | kgdbts.c | 171 struct test_state { struct 179 static struct test_state ts;
|
/linux-master/drivers/platform/mellanox/ |
H A D | mlxbf-bootctl.c | 260 int test_state; local 269 test_state = status_bits & MLXBF_BOOTCTL_SB_TEST_MASK; 276 if (test_state) {
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_svc.c | 5690 dport->test_state = BFA_DPORT_ST_DISABLED; 6134 dport->test_state = BFA_DPORT_ST_NOTSTART; 6180 dport->test_state = BFA_DPORT_ST_NO_SFP; 6182 dport->test_state = BFA_DPORT_ST_INP; 6189 dport->test_state = BFA_DPORT_ST_DISABLED; 6232 dport->test_state = BFA_DPORT_ST_COMP; 6236 dport->test_state = BFA_DPORT_ST_INP; 6245 dport->test_state = BFA_DPORT_ST_NO_SFP; 6310 dport->test_state = BFA_DPORT_ST_DISABLED; 6361 dport->test_state [all...] |
H A D | bfa_svc.h | 789 u8 test_state; /* enum dport_test_state */ member in struct:bfa_dport_s
|
/linux-master/kernel/sched/ |
H A D | psi.c | 221 static bool test_state(unsigned int *tasks, enum psi_states state, bool oncpu) function 845 if (test_state(groupc->tasks, s, state_mask & PSI_ONCPU)) 1197 * instead only stop test_state() loop, record_times() 1205 * to get correct state mask from test_state() loop on tasks[],
|