Searched refs:thread2 (Results 1 – 3 of 3) sorted by relevance
177 thread2=$(create_thread -n "thread2" -a 10)182 ((thread_cpus[thread2] == spdk_main_core))191 active_thread "$thread2" 10199 "$thread2"; do226 "$thread2" \
340 struct spdk_thread *thread1, *thread2; in test_reactor_stats() local 348 * Create thread1 and thread2 simultaneously on reactor0 at TSC = 100. in test_reactor_stats() 351 * - thread2 for 200 with idle in test_reactor_stats() 353 * - thread2 for 400 with busy. in test_reactor_stats() 355 * - both elapsed TSC of thread1 and thread2 should be 1100 (= 100 + 1000). in test_reactor_stats() 387 thread2 = spdk_thread_create(NULL, &cpuset); in test_reactor_stats() 388 SPDK_CU_ASSERT_FATAL(thread2 != NULL); in test_reactor_stats() 394 spdk_set_thread(thread2); in test_reactor_stats() 406 spdk_set_thread(thread2); in test_reactor_stats() 407 CU_ASSERT(spdk_thread_get_last_tsc(thread2) in test_reactor_stats() [all...]
1332 struct spdk_thread *thread1, *thread2; in device_unregister_and_thread_exit_race() 1348 thread2 = spdk_get_thread(); in device_unregister_and_thread_exit_race() 1349 SPDK_CU_ASSERT_FATAL(thread2 != NULL); in device_unregister_and_thread_exit_race() 1374 spdk_thread_exit(thread2); in device_unregister_and_thread_exit_race() 1377 CU_ASSERT(spdk_thread_is_exited(thread2) == false);1383 CU_ASSERT(spdk_thread_is_exited(thread2) == true);1318 struct spdk_thread *thread1, *thread2; device_unregister_and_thread_exit_race() local