Lines Matching defs:def
318 const struct io_cold_def *def = &io_cold_defs[req->opcode];
320 if (def->cleanup)
321 def->cleanup(req);
363 const struct io_issue_def *def = &io_issue_defs[req->opcode];
379 bool should_hash = def->hash_reg_file;
388 if (def->unbound_nonreg_file)
951 const struct io_cold_def *def = &io_cold_defs[req->opcode];
957 if (def->fail)
958 def->fail(req);
1352 static bool io_assign_file(struct io_kiocb *req, const struct io_issue_def *def,
1355 if (req->file || !def->needs_file)
1370 const struct io_issue_def *def)
1383 if (!def->audit_skip)
1386 ret = def->issue(req, issue_flags);
1388 if (!def->audit_skip)
1403 const struct io_issue_def *def = &io_issue_defs[req->opcode];
1406 if (unlikely(!io_assign_file(req, def, issue_flags)))
1409 ret = __io_issue_sqe(req, issue_flags, def);
1469 const struct io_issue_def *def = &io_issue_defs[req->opcode];
1486 if (!io_assign_file(req, def, issue_flags)) {
1516 bool opcode_poll = def->pollin || def->pollout;
1595 const struct io_cold_def *def = &io_cold_defs[req->opcode];
1600 if (!def->sqe_copy)
1604 def->sqe_copy(req);
1725 const struct io_issue_def *def;
1746 def = &io_issue_defs[req->opcode];
1747 if (def->is_128 && !(ctx->flags & IORING_SETUP_SQE128)) {
1770 if (!def->buffer_select)
1796 if (!def->ioprio && sqe->ioprio)
1798 if (!def->iopoll && (ctx->flags & IORING_SETUP_IOPOLL))
1801 if (def->needs_file) {
1810 if (state->need_plug && def->plug) {
1833 return def->prep(req, sqe);