Lines Matching refs:get_test_cpu
106 static int get_test_cpu(int num) in get_test_cpu() function
126 fill_bp_slots(test, &idx, get_test_cpu(0), NULL, 0); in test_one_cpu()
128 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_one_cpu()
152 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_one_task_on_all_cpus()
153 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_one_task_on_all_cpus()
156 fill_one_bp_slot(test, &idx, get_test_cpu(0), NULL); in test_one_task_on_all_cpus()
169 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_two_tasks_on_all_cpus()
170 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), get_other_task(test), idx)); in test_two_tasks_on_all_cpus()
171 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_two_tasks_on_all_cpus()
174 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_two_tasks_on_all_cpus()
181 fill_bp_slots(test, &idx, get_test_cpu(0), current, 0); in test_one_task_on_one_cpu()
183 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_one_task_on_one_cpu()
184 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_one_task_on_one_cpu()
190 fill_one_bp_slot(test, &idx, get_test_cpu(0), NULL); in test_one_task_on_one_cpu()
199 fill_one_bp_slot(test, &idx, get_test_cpu(0), current); in test_one_task_mixed()
202 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_one_task_mixed()
203 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_one_task_mixed()
208 fill_one_bp_slot(test, &idx, get_test_cpu(0), NULL); in test_one_task_mixed()
209 fill_one_bp_slot(test, &idx, get_test_cpu(0), NULL); in test_one_task_mixed()
210 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_one_task_mixed()
217 fill_bp_slots(test, &idx, get_test_cpu(0), current, 0); in test_two_tasks_on_one_cpu()
218 fill_bp_slots(test, &idx, get_test_cpu(0), get_other_task(test), 0); in test_two_tasks_on_one_cpu()
222 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_two_tasks_on_one_cpu()
223 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), get_other_task(test), idx)); in test_two_tasks_on_one_cpu()
224 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_two_tasks_on_one_cpu()
226 fill_bp_slots(test, &idx, get_test_cpu(1), NULL, 0); in test_two_tasks_on_one_cpu()
233 fill_bp_slots(test, &idx, get_test_cpu(0), current, 0); in test_two_tasks_on_one_all_cpus()
238 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_two_tasks_on_one_all_cpus()
239 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), get_other_task(test), idx)); in test_two_tasks_on_one_all_cpus()
240 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_two_tasks_on_one_all_cpus()
242 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(1), NULL, idx)); in test_two_tasks_on_one_all_cpus()
255 fill_one_bp_slot(test, &idx, get_test_cpu(0), current); in test_task_on_all_and_one_cpu()
259 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_task_on_all_and_one_cpu()
260 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_task_on_all_and_one_cpu()
264 fill_one_bp_slot(test, &idx, get_test_cpu(1), NULL); in test_task_on_all_and_one_cpu()
265 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(1), NULL, idx)); in test_task_on_all_and_one_cpu()
276 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), current, idx)); in test_task_on_all_and_one_cpu()
277 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(0), NULL, idx)); in test_task_on_all_and_one_cpu()
278 TEST_EXPECT_NOSPC(register_test_bp(get_test_cpu(1), NULL, idx)); in test_task_on_all_and_one_cpu()