Lines Matching refs:i
201 int i; in io_uring_unreg_ringfd() local
203 for (i = 0; i < IO_RINGFD_REG_MAX; i++) { in io_uring_unreg_ringfd()
204 if (tctx->registered_rings[i]) { in io_uring_unreg_ringfd()
205 fput(tctx->registered_rings[i]); in io_uring_unreg_ringfd()
206 tctx->registered_rings[i] = NULL; in io_uring_unreg_ringfd()
250 int ret, i; in io_ringfd_register() local
262 for (i = 0; i < nr_args; i++) { in io_ringfd_register()
265 if (copy_from_user(®, &arg[i], sizeof(reg))) { in io_ringfd_register()
292 if (copy_to_user(&arg[i], ®, sizeof(reg))) { in io_ringfd_register()
300 return i ? i : ret; in io_ringfd_register()
309 int ret = 0, i; in io_ringfd_unregister() local
316 for (i = 0; i < nr_args; i++) { in io_ringfd_unregister()
317 if (copy_from_user(®, &arg[i], sizeof(reg))) { in io_ringfd_unregister()
333 return i ? i : ret; in io_ringfd_unregister()