Lines Matching refs:i
915 int ret, i;
942 for (i = 0; i < ret; i++) {
943 struct io_kiocb *req = reqs[i];
3664 int i;
3668 for (i = 0; i < ARRAY_SIZE(p.resv); i++) {
3669 if (p.resv[i])
3696 int i, ret;
3716 for (i = 0; i < nr_args; i++) {
3717 p->ops[i].op = i;
3718 if (!io_op_defs[i].not_supported)
3719 p->ops[i].flags = IO_URING_OP_SUPPORTED;
3721 p->ops_len = i;
3753 int i, ret;
3776 for (i = 0; i < nr_args; i++) {
3777 switch (res[i].opcode) {
3779 if (res[i].register_op >= IORING_REGISTER_LAST) {
3784 __set_bit(res[i].register_op,
3788 if (res[i].sqe_op >= IORING_OP_LAST) {
3793 __set_bit(res[i].sqe_op, ctx->restrictions.sqe_op);
3796 ctx->restrictions.sqe_flags_allowed = res[i].sqe_flags;
3799 ctx->restrictions.sqe_flags_required = res[i].sqe_flags;
3895 int i, ret;
3899 for (i = 0; i < ARRAY_SIZE(new_count); i++)
3900 if (new_count[i] > INT_MAX)
3924 for (i = 0; i < ARRAY_SIZE(new_count); i++)
3925 if (new_count[i])
3926 ctx->iowq_limits[i] = new_count[i];
3956 for (i = 0; i < ARRAY_SIZE(new_count); i++)
3957 new_count[i] = ctx->iowq_limits[i];