Lines Matching defs:thread

421 	struct spdk_thread *thread;
427 thread = spdk_thread_create(NULL, NULL);
428 SPDK_CU_ASSERT_FATAL(thread != NULL);
429 spdk_set_thread(thread);
491 spdk_thread_exit(thread);
492 while (!spdk_thread_is_exited(thread)) {
493 spdk_thread_poll(thread, 0, 0);
495 spdk_thread_destroy(thread);
501 struct spdk_thread *thread;
506 thread = spdk_thread_create(NULL, NULL);
507 SPDK_CU_ASSERT_FATAL(thread != NULL);
508 spdk_set_thread(thread);
527 spdk_thread_exit(thread);
528 while (!spdk_thread_is_exited(thread)) {
529 spdk_thread_poll(thread, 0, 0);
531 spdk_thread_destroy(thread);
553 struct spdk_thread *thread;
557 thread = spdk_thread_create(NULL, NULL);
558 SPDK_CU_ASSERT_FATAL(thread != NULL);
559 spdk_set_thread(thread);
589 spdk_thread_exit(thread);
590 while (!spdk_thread_is_exited(thread)) {
591 spdk_thread_poll(thread, 0, 0);
593 spdk_thread_destroy(thread);
599 struct spdk_thread *thread;
607 thread = spdk_thread_create(NULL, NULL);
608 SPDK_CU_ASSERT_FATAL(thread != NULL);
609 spdk_set_thread(thread);
671 spdk_thread_exit(thread);
672 while (!spdk_thread_is_exited(thread)) {
673 spdk_thread_poll(thread, 0, 0);
675 spdk_thread_destroy(thread);
822 struct spdk_thread *thread;
824 thread = spdk_thread_create(NULL, NULL);
825 SPDK_CU_ASSERT_FATAL(thread != NULL);
826 spdk_set_thread(thread);
883 spdk_thread_exit(thread);
884 while (!spdk_thread_is_exited(thread)) {
885 spdk_thread_poll(thread, 0, 0);
887 spdk_thread_destroy(thread);
1333 struct spdk_thread *thread;
1345 thread = spdk_thread_create(NULL, NULL);
1346 SPDK_CU_ASSERT_FATAL(thread != NULL);
1347 spdk_set_thread(thread);
1400 spdk_thread_exit(thread);
1401 while (!spdk_thread_is_exited(thread)) {
1402 spdk_thread_poll(thread, 0, 0);
1404 spdk_thread_destroy(thread);