Home
last modified time | relevance | path

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

/linux-6.12.1/io_uring/
Dio_uring.h148 if (!wq_list_empty(&ctx->submit_state.compl_reqs) || in io_submit_flush_completions()
149 ctx->submit_state.cq_flush) in io_submit_flush_completions()
363 struct io_submit_state *state = &req->ctx->submit_state; in io_req_complete_defer()
388 return !ctx->submit_state.free_list.next; in io_req_cache_empty()
398 req = container_of(ctx->submit_state.free_list.next, struct io_kiocb, comp_list); in io_extract_req()
399 wq_stack_extract(&ctx->submit_state.free_list); in io_extract_req()
Dio_uring.c235 wq_stack_add_head(&req->comp_list, &ctx->submit_state.free_list); in io_req_add_to_cache()
341 ctx->submit_state.free_list.next = NULL; in io_ring_ctx_alloc()
347 INIT_WQ_LIST(&ctx->submit_state.compl_reqs); in io_ring_ctx_alloc()
871 ctx->submit_state.cq_flush = true; in io_add_aux_cqe()
888 ctx->submit_state.cq_flush = true; in io_req_post_cqe()
1437 struct io_submit_state *state = &ctx->submit_state; in __io_submit_flush_completions()
1462 ctx->submit_state.cq_flush = false; in __io_submit_flush_completions()
2008 struct io_kiocb *head = ctx->submit_state.link.head; in io_init_req_drain()
2080 if (unlikely(ctx->drain_next) && !ctx->submit_state.link.head) { in io_init_req()
2093 struct io_submit_state *state = &ctx->submit_state; in io_init_req()
[all …]
Drw.c1210 if (WARN_ON_ONCE(!wq_list_empty(&ctx->submit_state.compl_reqs))) in io_do_iopoll()
1212 ctx->submit_state.compl_reqs.first = pos; in io_do_iopoll()
Dtimeout.c544 struct io_submit_link *link = &req->ctx->submit_state.link; in __io_timeout_prep()
/linux-6.12.1/include/linux/
Dio_uring_types.h290 struct io_submit_state submit_state; member