Lines Matching refs:nr_args
4079 unsigned nr_args)
4085 size = struct_size(p, ops, nr_args);
4100 if (nr_args > IORING_OP_LAST)
4101 nr_args = IORING_OP_LAST;
4103 for (i = 0; i < nr_args; i++) {
4136 void __user *arg, unsigned int nr_args)
4150 if (!arg || nr_args > IORING_MAX_RESTRICTIONS)
4153 size = array_size(nr_args, sizeof(*res));
4163 for (i = 0; i < nr_args; i++) {
4365 void __user *arg, unsigned nr_args)
4392 ret = io_sqe_buffers_register(ctx, arg, nr_args, NULL);
4396 if (arg || nr_args)
4404 ret = io_sqe_files_register(ctx, arg, nr_args, NULL);
4408 if (arg || nr_args)
4413 ret = io_register_files_update(ctx, arg, nr_args);
4417 if (nr_args != 1)
4423 if (nr_args != 1)
4429 if (arg || nr_args)
4435 if (!arg || nr_args > 256)
4437 ret = io_probe(ctx, arg, nr_args);
4441 if (arg || nr_args)
4449 ret = io_unregister_personality(ctx, nr_args);
4453 if (arg || nr_args)
4458 ret = io_register_restrictions(ctx, arg, nr_args);
4461 ret = io_register_rsrc(ctx, arg, nr_args, IORING_RSRC_FILE);
4464 ret = io_register_rsrc_update(ctx, arg, nr_args,
4468 ret = io_register_rsrc(ctx, arg, nr_args, IORING_RSRC_BUFFER);
4471 ret = io_register_rsrc_update(ctx, arg, nr_args,
4476 if (!arg || !nr_args)
4478 ret = io_register_iowq_aff(ctx, arg, nr_args);
4482 if (arg || nr_args)
4488 if (!arg || nr_args != 2)
4493 ret = io_ringfd_register(ctx, arg, nr_args);
4496 ret = io_ringfd_unregister(ctx, arg, nr_args);
4500 if (!arg || nr_args != 1)
4506 if (!arg || nr_args != 1)
4512 if (!arg || nr_args != 1)
4518 if (!arg || nr_args)
4531 void __user *, arg, unsigned int, nr_args)
4569 ret = __io_uring_register(ctx, opcode, arg, nr_args);