Lines Matching refs:io_op_defs
935 static const struct io_op_def io_op_defs[] = { variable
1437 const struct io_op_def *def = &io_op_defs[req->opcode]; in io_prep_async_work()
3375 WARN_ON_ONCE(!io_op_defs[req->opcode].async_size); in io_alloc_async_data()
3376 req->async_data = kmalloc(io_op_defs[req->opcode].async_size, GFP_KERNEL); in io_alloc_async_data()
3384 if (!force && !io_op_defs[req->opcode].needs_async_setup) in io_setup_async_rw()
5636 const struct io_op_def *def = &io_op_defs[req->opcode]; in io_arm_poll_handler()
6390 if (!io_op_defs[req->opcode].needs_async_setup) in io_req_prep_async()
6995 !io_op_defs[req->opcode].buffer_select) in io_init_req()
7015 io_op_defs[req->opcode].plug) { in io_init_req()
7020 if (io_op_defs[req->opcode].needs_file) { in io_init_req()
10363 if (!io_op_defs[i].not_supported) in io_probe()
10961 BUILD_BUG_ON(ARRAY_SIZE(io_op_defs) != IORING_OP_LAST); in io_uring_init()