Lines Matching refs:ret
170 int ret = 0;
193 ret = io_submit_sqes(ctx, to_submit);
202 return ret;
255 int ret = __io_sq_thread(ctx, cap_entries);
257 if (!sqt_spin && (ret > 0 || !wq_list_empty(&ctx->iopoll_list)))
346 int ret;
367 ret = security_uring_sqpoll();
368 if (ret)
369 return ret;
373 ret = PTR_ERR(sqd);
387 ret = (attached && !sqd->thread) ? -ENXIO : 0;
390 if (ret < 0)
398 ret = -EINVAL;
410 ret = PTR_ERR(tsk);
415 ret = io_uring_alloc_task_context(tsk, ctx);
417 if (ret)
421 ret = -EINVAL;
430 return ret;
437 int ret = -EINVAL;
443 ret = io_wq_cpu_affinity(sqd->thread->io_uring, mask);
447 return ret;