Home
last modified time | relevance | path

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

/fs/
Dio_uring.c264 struct async_list pending_async[2]; member
408 for (i = 0; i < ARRAY_SIZE(ctx->pending_async); i++) { in io_ring_ctx_alloc()
409 spin_lock_init(&ctx->pending_async[i].lock); in io_ring_ctx_alloc()
410 INIT_LIST_HEAD(&ctx->pending_async[i].list); in io_ring_ctx_alloc()
411 atomic_set(&ctx->pending_async[i].cnt, 0); in io_ring_ctx_alloc()
1319 struct async_list *async_list = &req->ctx->pending_async[rw]; in io_async_list_note()
2180 return &ctx->pending_async[READ]; in io_async_list_from_req()
2183 return &ctx->pending_async[WRITE]; in io_async_list_from_req()