Lines Matching refs:max_queues
87 for (int x = 0; x < fgen->max_queues; x++) { in mcp_rcontext_cleanup()
210 size_t rctx_len = sizeof(mcp_rcontext_t) + sizeof(struct mcp_rqueue_s) * fgen->max_queues; in _mcplib_funcgen_gencall()
221 for (int x = 0; x < fgen->max_queues; x++) { in _mcplib_funcgen_gencall()
347 for (int x = 0; x < fgen->max_queues; x++) { in _mcp_funcgen_return_rctx()
515 for (int x = 0; x < fgen->max_queues; x++) { in mcp_funcgen_cleanup()
650 fgen->max_queues++; in mcplib_funcgen_new_handle()
654 … fgen->queue_list = realloc(fgen->queue_list, fgen->max_queues * sizeof(struct mcp_rqueue_s)); in mcplib_funcgen_new_handle()
661 struct mcp_rqueue_s *rqu = &fgen->queue_list[fgen->max_queues-1]; in mcplib_funcgen_new_handle()
676 lua_pushinteger(L, fgen->max_queues-1); in mcplib_funcgen_new_handle()
731 if (handle < 0 || handle >= rctx->fgen->max_queues) { in mcplib_rcontext_handle_set_cb()
752 if (handle < 0 || handle >= rctx->fgen->max_queues) { in _mcplib_rcontext_queue()
1298 if (!isnum || handle < 0 || handle >= rctx->fgen->max_queues) { in mcplib_rcontext_wait_handle()
1366 if (!isnum || handle < 0 || handle >= rctx->fgen->max_queues) { in _mcplib_rcontext_checkhandle()