Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Daio_task.c33 int busy_tasks; member
42 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_co()
43 pool->busy_tasks++; in aio_task_co()
47 pool->busy_tasks--; in aio_task_co()
63 assert(pool->busy_tasks > 0); in aio_task_pool_wait_one()
70 assert(pool->busy_tasks < pool->max_busy_tasks); in aio_task_pool_wait_one()
75 if (pool->busy_tasks < pool->max_busy_tasks) { in aio_task_pool_wait_slot()
84 while (pool->busy_tasks > 0) { in aio_task_pool_wait_all()
125 return pool->busy_tasks == 0; in aio_task_pool_empty()