Home
last modified time | relevance | path

Searched refs:g_app_thread (Results 1 – 3 of 3) sorted by relevance

/spdk/lib/rocksdb/
H A Denv_spdk.cc27 struct spdk_thread *g_app_thread; variable
70 spdk_thread_send_msg(g_app_thread, fn, arg); in __send_request()
636 g_app_thread = spdk_get_thread(); in rocksdb_run()
/spdk/test/unit/lib/bdev/raid/bdev_raid.c/
H A Dbdev_raid_ut.c60 struct spdk_thread *g_app_thread;
388 while (spdk_thread_poll(g_app_thread, 0, 0) > 0) { in poll_app_thread()
1801 g_app_thread = spdk_thread_create("app_thread", NULL);
1802 spdk_set_thread(g_app_thread);
1810 spdk_thread_exit(g_app_thread);
1811 spdk_thread_poll(g_app_thread, 0, 0);
1812 spdk_thread_destroy(g_app_thread);
59 struct spdk_thread *g_app_thread; global() variable
/spdk/lib/thread/
H A Dthread.c40 static struct spdk_thread *g_app_thread; variable
501 if (g_app_thread != NULL) { in spdk_thread_create()
502 _free_thread(g_app_thread); in spdk_thread_create()
503 g_app_thread = NULL; in spdk_thread_create()
617 __atomic_compare_exchange_n(&g_app_thread, &null_thread, thread, false, in spdk_thread_bind()
626 return g_app_thread;
636 return g_app_thread == thread; in thread_exit()
778 if (thread != g_app_thread) { in spdk_thread_set_cpumask()