Home
last modified time | relevance | path

Searched refs:ThreadPool (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/include/block/
H A Dthread-pool.h43 typedef struct ThreadPool ThreadPool; typedef
46 ThreadPool *thread_pool_new(void);
53 void thread_pool_free(ThreadPool *pool);
61 void thread_pool_submit(ThreadPool *pool, ThreadPoolFunc *func,
71 void thread_pool_submit_immediate(ThreadPool *pool, ThreadPoolFunc *func,
82 void thread_pool_wait(ThreadPool *pool);
85 bool thread_pool_set_max_threads(ThreadPool *pool, int max_threads);
91 bool thread_pool_adjust_max_threads_to_work(ThreadPool *pool);
/openbmc/qemu/util/
H A Dthread-pool.c378 struct ThreadPool { struct
393 ThreadPool *pool = user_data; in thread_pool_func() argument
412 ThreadPool *thread_pool_new(void) in thread_pool_new()
414 ThreadPool *pool = g_new(ThreadPool, 1); in thread_pool_new()
430 void thread_pool_free(ThreadPool *pool) in thread_pool_free()
444 void thread_pool_submit(ThreadPool *pool, ThreadPoolFunc *func, in thread_pool_submit()
465 void thread_pool_submit_immediate(ThreadPool *pool, ThreadPoolFunc *func, in thread_pool_submit_immediate()
472 void thread_pool_wait(ThreadPool *pool) in thread_pool_wait()
482 bool thread_pool_set_max_threads(ThreadPool *pool, in thread_pool_set_max_threads()
490 bool thread_pool_adjust_max_threads_to_work(ThreadPool *pool) in thread_pool_adjust_max_threads_to_work()
/openbmc/qemu/migration/
H A Dmigration.h46 typedef struct ThreadPool ThreadPool; typedef
192 ThreadPool *load_threads;
H A Dmultifd-device-state.c26 ThreadPool *threads;