Home
last modified time | relevance | path

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

/Linux-v6.1/io_uring/
Dopdef.c49 const struct io_op_def io_op_defs[] = { variable
531 return io_op_defs[opcode].name; in io_uring_get_opcode()
539 BUILD_BUG_ON(ARRAY_SIZE(io_op_defs) != IORING_OP_LAST); in io_uring_optable_init()
541 for (i = 0; i < ARRAY_SIZE(io_op_defs); i++) { in io_uring_optable_init()
542 BUG_ON(!io_op_defs[i].prep); in io_uring_optable_init()
543 if (io_op_defs[i].prep != io_eopnotsupp_prep) in io_uring_optable_init()
544 BUG_ON(!io_op_defs[i].issue); in io_uring_optable_init()
545 WARN_ON_ONCE(!io_op_defs[i].name); in io_uring_optable_init()
Dopdef.h42 extern const struct io_op_def io_op_defs[];
Dio_uring.c407 const struct io_op_def *def = &io_op_defs[req->opcode]; in io_prep_async_work()
880 const struct io_op_def *def = &io_op_defs[req->opcode]; in io_req_complete_failed()
1599 WARN_ON_ONCE(!io_op_defs[req->opcode].async_size); in io_alloc_async_data()
1600 req->async_data = kmalloc(io_op_defs[req->opcode].async_size, GFP_KERNEL); in io_alloc_async_data()
1610 const struct io_op_def *def = &io_op_defs[req->opcode]; in io_req_prep_async()
1619 if (!io_op_defs[req->opcode].manual_alloc) { in io_req_prep_async()
1691 const struct io_op_def *def = &io_op_defs[req->opcode]; in io_clean_op()
1717 if (req->file || !io_op_defs[req->opcode].needs_file) in io_assign_file()
1730 const struct io_op_def *def = &io_op_defs[req->opcode]; in io_issue_sqe()
1785 const struct io_op_def *def = &io_op_defs[req->opcode]; in io_wq_submit_work()
[all …]
Dpoll.c666 const struct io_op_def *def = &io_op_defs[req->opcode]; in io_arm_poll_handler()
Drw.c513 if (!force && !io_op_defs[req->opcode].prep_async) in io_setup_async_rw()