Lines Matching refs:CoroutinePoolBatch
48 typedef struct CoroutinePoolBatch { struct
50 QSLIST_ENTRY(CoroutinePoolBatch) next;
55 } CoroutinePoolBatch; argument
57 typedef QSLIST_HEAD(, CoroutinePoolBatch) CoroutinePool;
70 static CoroutinePoolBatch *coroutine_pool_batch_new(void) in coroutine_pool_batch_new()
72 CoroutinePoolBatch *batch = g_new(CoroutinePoolBatch, 1); in coroutine_pool_batch_new()
79 static void coroutine_pool_batch_delete(CoroutinePoolBatch *batch) in coroutine_pool_batch_delete()
94 CoroutinePoolBatch *batch; in local_pool_cleanup()
95 CoroutinePoolBatch *tmp; in local_pool_cleanup()
117 CoroutinePoolBatch *batch = QSLIST_FIRST(local_pool); in coroutine_pool_get_local()
139 CoroutinePoolBatch *batch; in coroutine_pool_refill_local()
157 static void coroutine_pool_put_global(CoroutinePoolBatch *batch) in coroutine_pool_put_global()
192 CoroutinePoolBatch *batch = QSLIST_FIRST(local_pool); in coroutine_pool_put()
201 CoroutinePoolBatch *next = QSLIST_NEXT(batch, next); in coroutine_pool_put()