Searched refs:compl_reqs (Results 1 – 4 of 4) sorted by relevance
171 struct io_wq_work_list compl_reqs; member
331 wq_list_add_tail(&req->comp_list, &state->compl_reqs); in io_req_complete_defer()
1065 if (WARN_ON_ONCE(!wq_list_empty(&ctx->submit_state.compl_reqs))) in io_do_iopoll()1067 ctx->submit_state.compl_reqs.first = pos; in io_do_iopoll()
193 if (!wq_list_empty(&ctx->submit_state.compl_reqs) || in io_submit_flush_completions()355 INIT_WQ_LIST(&ctx->submit_state.compl_reqs); in io_ring_ctx_alloc()1300 if (ts.locked && !wq_list_empty(&ctx->submit_state.compl_reqs)) { in tctx_task_work()1566 __wq_list_for_each(node, &state->compl_reqs) { in __io_submit_flush_completions()1583 if (!wq_list_empty(&ctx->submit_state.compl_reqs)) { in __io_submit_flush_completions()1584 io_free_batch_list(ctx, state->compl_reqs.first); in __io_submit_flush_completions()1585 INIT_WQ_LIST(&state->compl_reqs); in __io_submit_flush_completions()