/kernel/linux/linux-6.6/io_uring/ |
H A D | rsrc.c | 22 u32 nr_args; member 356 unsigned nr_args) in __io_sqe_files_update() 367 if (up->offset + nr_args > ctx->nr_user_files) in __io_sqe_files_update() 370 for (done = 0; done < nr_args; done++) { in __io_sqe_files_update() 421 unsigned int nr_args) in __io_sqe_buffers_update() 431 if (up->offset + nr_args > ctx->nr_user_bufs) in __io_sqe_buffers_update() 434 for (done = 0; done < nr_args; done++) { in __io_sqe_buffers_update() 475 unsigned nr_args) in __io_register_rsrc_update() 481 if (check_add_overflow(up->offset, nr_args, &tmp)) in __io_register_rsrc_update() 486 return __io_sqe_files_update(ctx, up, nr_args); in __io_register_rsrc_update() 354 __io_sqe_files_update(struct io_ring_ctx *ctx, struct io_uring_rsrc_update2 *up, unsigned nr_args) __io_sqe_files_update() argument 419 __io_sqe_buffers_update(struct io_ring_ctx *ctx, struct io_uring_rsrc_update2 *up, unsigned int nr_args) __io_sqe_buffers_update() argument 473 __io_register_rsrc_update(struct io_ring_ctx *ctx, unsigned type, struct io_uring_rsrc_update2 *up, unsigned nr_args) __io_register_rsrc_update() argument 493 io_register_files_update(struct io_ring_ctx *ctx, void __user *arg, unsigned nr_args) io_register_files_update() argument 700 io_sqe_files_register(struct io_ring_ctx *ctx, void __user *arg, unsigned nr_args, u64 __user *tags) io_sqe_files_register() argument 1002 io_buffers_map_alloc(struct io_ring_ctx *ctx, unsigned int nr_args) io_buffers_map_alloc() argument 1008 io_sqe_buffers_register(struct io_ring_ctx *ctx, void __user *arg, unsigned int nr_args, u64 __user *tags) io_sqe_buffers_register() argument [all...] |
H A D | tctx.c | 254 unsigned nr_args) in io_ringfd_register() 261 if (!nr_args || nr_args > IO_RINGFD_REG_MAX) in io_ringfd_register() 271 for (i = 0; i < nr_args; i++) { in io_ringfd_register() 313 unsigned nr_args) in io_ringfd_unregister() 320 if (!nr_args || nr_args > IO_RINGFD_REG_MAX) in io_ringfd_unregister() 325 for (i = 0; i < nr_args; i++) { in io_ringfd_unregister() 253 io_ringfd_register(struct io_ring_ctx *ctx, void __user *__arg, unsigned nr_args) io_ringfd_register() argument 312 io_ringfd_unregister(struct io_ring_ctx *ctx, void __user *__arg, unsigned nr_args) io_ringfd_unregister() argument
|
H A D | tctx.h | 18 unsigned nr_args); 20 unsigned nr_args);
|
H A D | rsrc.h | 72 unsigned int nr_args, u64 __user *tags); 76 unsigned nr_args, u64 __user *tags); 79 unsigned nr_args);
|
H A D | io_uring.c | 4079 unsigned nr_args) in io_probe() 4085 size = struct_size(p, ops, nr_args); in io_probe() 4100 if (nr_args > IORING_OP_LAST) in io_probe() 4101 nr_args = IORING_OP_LAST; in io_probe() 4103 for (i = 0; i < nr_args; i++) { in io_probe() 4136 void __user *arg, unsigned int nr_args) in io_register_restrictions() 4150 if (!arg || nr_args > IORING_MAX_RESTRICTIONS) in io_register_restrictions() 4153 size = array_size(nr_args, sizeof(*res)); in io_register_restrictions() 4163 for (i = 0; i < nr_args; i++) { in io_register_restrictions() 4365 void __user *arg, unsigned nr_args) 4078 io_probe(struct io_ring_ctx *ctx, void __user *arg, unsigned nr_args) io_probe() argument 4135 io_register_restrictions(struct io_ring_ctx *ctx, void __user *arg, unsigned int nr_args) io_register_restrictions() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/platform/olpc/ |
H A D | olpc_ofw.c | 47 int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res, in __olpc_ofw() argument 54 BUG_ON(nr_args + nr_res > MAXARGS); in __olpc_ofw() 60 ofw_args[1] = nr_args; in __olpc_ofw() 64 for (i = 0; i < nr_args; i++, p++) in __olpc_ofw()
|
/kernel/linux/linux-6.6/arch/x86/platform/olpc/ |
H A D | olpc_ofw.c | 47 int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res, in __olpc_ofw() argument 54 BUG_ON(nr_args + nr_res > MAXARGS); in __olpc_ofw() 60 ofw_args[1] = nr_args; in __olpc_ofw() 64 for (i = 0; i < nr_args; i++, p++) in __olpc_ofw()
|
/kernel/linux/linux-5.10/tools/io_uring/ |
H A D | syscall.c | 37 unsigned int nr_args) in io_uring_register() 39 return syscall(__NR_io_uring_register, fd, opcode, arg, nr_args); in io_uring_register() 36 io_uring_register(int fd, unsigned int opcode, void *arg, unsigned int nr_args) io_uring_register() argument
|
H A D | liburing.h | 59 unsigned int nr_args);
|
/kernel/linux/linux-5.10/tools/bootconfig/scripts/ |
H A D | xbc.sh | 31 nr_args() { # args function 54 __s=`nr_args $__keys`
|
/kernel/linux/linux-6.6/tools/bootconfig/scripts/ |
H A D | xbc.sh | 31 nr_args() { # args function 54 __s=`nr_args $__keys`
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_probe_tmpl.h | 179 for (i = 0; i < tp->nr_args; i++) { in __get_data_size() 202 for (i = 0; i < tp->nr_args; i++) { in store_trace_args() 221 print_probe_args(struct trace_seq *s, struct probe_arg *args, int nr_args, in print_probe_args() argument 227 for (i = 0; i < nr_args; i++) { in print_probe_args()
|
H A D | trace_probe.c | 756 tp->nr_args++; in traceprobe_parse_probe_arg() 860 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt() 877 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt() 929 for (i = 0; i < tp->nr_args; i++) { in traceprobe_define_arg_fields() 982 for (i = 0; i < tp->nr_args; i++) in trace_probe_cleanup() 1130 if (a->nr_args < b->nr_args) in trace_probe_compare_arg_type() 1131 return a->nr_args + 1; in trace_probe_compare_arg_type() 1132 if (a->nr_args > b->nr_args) in trace_probe_compare_arg_type() [all...] |
/kernel/linux/linux-6.6/net/bridge/ |
H A D | br_ioctl.c | 107 static int br_dev_read_uargs(unsigned long *args, size_t nr_args, in br_dev_read_uargs() argument 112 if (nr_args < 2 || nr_args > BR_UARGS_MAX) in br_dev_read_uargs() 119 ret = copy_from_user(cargs, data, nr_args * sizeof(*cargs)); in br_dev_read_uargs() 123 for (i = 0; i < nr_args; ++i) in br_dev_read_uargs() 128 ret = copy_from_user(args, data, nr_args * sizeof(*args)); in br_dev_read_uargs()
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_probe.c | 1383 tp->nr_args++; in traceprobe_parse_probe_arg() 1641 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt() 1658 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt() 1708 for (i = 0; i < tp->nr_args; i++) { in traceprobe_define_arg_fields() 1761 for (i = 0; i < tp->nr_args; i++) in trace_probe_cleanup() 1908 if (a->nr_args < b->nr_args) in trace_probe_compare_arg_type() 1909 return a->nr_args + 1; in trace_probe_compare_arg_type() 1910 if (a->nr_args > b->nr_args) in trace_probe_compare_arg_type() 1959 trace_probe_print_args(struct trace_seq *s, struct probe_arg *args, int nr_args, u8 *data, void *field) trace_probe_print_args() argument [all...] |
H A D | trace_probe_tmpl.h | 240 for (i = 0; i < tp->nr_args; i++) { in __get_data_size() 263 for (i = 0; i < tp->nr_args; i++) { in store_trace_args()
|
H A D | trace_fprobe.c | 530 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_fentry_event() 565 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_fexit_event() 670 for (i = 0; i < tf->tp.nr_args; i++) { in __register_trace_fprobe() 756 * trace_probe_compare_arg_type() ensured that nr_args and in trace_fprobe_has_same_fprobe() 759 for (i = 0; i < orig->tp.nr_args; i++) { in trace_fprobe_has_same_fprobe() 765 if (i == orig->tp.nr_args) in trace_fprobe_has_same_fprobe() 1175 for (i = 0; i < tf->tp.nr_args; i++) in trace_fprobe_show()
|
H A D | trace_probe.h | 255 unsigned int nr_args; member 355 int trace_probe_print_args(struct trace_seq *s, struct probe_arg *args, int nr_args,
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | olpc_ofw.h | 18 extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | olpc_ofw.h | 18 extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
|
/kernel/linux/linux-5.10/io_uring/ |
H A D | io_uring.c | 599 u32 nr_args; member 1094 unsigned nr_args); 6459 req->rsrc_update.nr_args = READ_ONCE(sqe->len); in io_rsrc_update_prep() 6460 if (!req->rsrc_update.nr_args) in io_rsrc_update_prep() 6481 &up, req->rsrc_update.nr_args); in io_files_update() 8376 unsigned nr_args, u64 __user *tags) in io_sqe_files_register() 8385 if (!nr_args) in io_sqe_files_register() 8387 if (nr_args > IORING_MAX_FIXED_FILES) in io_sqe_files_register() 8389 if (nr_args > rlimit(RLIMIT_NOFILE)) in io_sqe_files_register() 8394 ret = io_rsrc_data_alloc(ctx, io_rsrc_file_put, tags, nr_args, in io_sqe_files_register() 8375 io_sqe_files_register(struct io_ring_ctx *ctx, void __user *arg, unsigned nr_args, u64 __user *tags) io_sqe_files_register() argument 8562 __io_sqe_files_update(struct io_ring_ctx *ctx, struct io_uring_rsrc_update2 *up, unsigned nr_args) __io_sqe_files_update() argument 9150 io_buffers_map_alloc(struct io_ring_ctx *ctx, unsigned int nr_args) io_buffers_map_alloc() argument 9180 io_sqe_buffers_register(struct io_ring_ctx *ctx, void __user *arg, unsigned int nr_args, u64 __user *tags) io_sqe_buffers_register() argument 9232 __io_sqe_buffers_update(struct io_ring_ctx *ctx, struct io_uring_rsrc_update2 *up, unsigned int nr_args) __io_sqe_buffers_update() argument 10526 io_probe(struct io_ring_ctx *ctx, void __user *arg, unsigned nr_args) io_probe() argument 10582 io_register_restrictions(struct io_ring_ctx *ctx, void __user *arg, unsigned int nr_args) io_register_restrictions() argument 10666 __io_register_rsrc_update(struct io_ring_ctx *ctx, unsigned type, struct io_uring_rsrc_update2 *up, unsigned nr_args) __io_register_rsrc_update() argument 10688 io_register_files_update(struct io_ring_ctx *ctx, void __user *arg, unsigned nr_args) io_register_files_update() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/net/ |
H A D | bpf_jit_comp.c | 1510 static void save_regs(const struct btf_func_model *m, u8 **prog, int nr_args, in save_regs() argument 1519 for (i = 0; i < min(nr_args, 6); i++) in save_regs() 1526 static void restore_regs(const struct btf_func_model *m, u8 **prog, int nr_args, in restore_regs() argument 1536 for (i = 0; i < min(nr_args, 6); i++) in restore_regs() 1716 * its 'struct btf_func_model' will be nr_args=2 1779 int ret, i, cnt = 0, nr_args = m->nr_args; in arch_prepare_bpf_trampoline() local 1780 int stack_size = nr_args * 8; in arch_prepare_bpf_trampoline() 1789 if (nr_args > 6) in arch_prepare_bpf_trampoline() 1813 save_regs(m, &prog, nr_args, stack_siz in arch_prepare_bpf_trampoline() [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | btf.c | 3302 u16 nr_args = btf_type_vlen(t), i; in btf_func_proto_log() local 3305 if (!nr_args) { in btf_func_proto_log() 3310 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log() 3319 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log() 3324 if (nr_args > 1) { in btf_func_proto_log() 3325 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log() 3618 u16 nr_args, i; in btf_func_proto_check() local 3623 nr_args = btf_type_vlen(t); in btf_func_proto_check() 3649 if (!nr_args) in btf_func_proto_check() 3653 if (!args[nr_args in btf_func_proto_check() 3712 u16 nr_args, i; btf_func_check() local 4448 u32 nr_args, arg; btf_ctx_access() local [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | btf.c | 4301 u16 nr_args = btf_type_vlen(t), i; in btf_func_proto_log() local 4304 if (!nr_args) { in btf_func_proto_log() 4309 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log() 4318 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log() 4323 if (nr_args > 1) { in btf_func_proto_log() 4324 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log() 4806 u16 nr_args, i; in btf_func_proto_check() local 4811 nr_args = btf_type_vlen(t); in btf_func_proto_check() 4842 if (!nr_args) in btf_func_proto_check() 4846 if (!args[nr_args in btf_func_proto_check() 4901 u16 nr_args, i; btf_func_check() local 5887 u32 offset = 0, nr_args; get_ctx_arg_idx() local 5937 u32 nr_args, arg; btf_ctx_access() local 7580 u32 nr_args; btf_check_iter_kfuncs() local 7957 u32 nr_args, i; btf_check_dtor_kfuncs() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-trace.c | 113 u8 nr_args; member 923 { .name = "clone", .errpid = true, .nr_args = 5, 988 { .name = "kcmp", .nr_args = 5, 1199 int nr_args; member 1642 static int syscall__alloc_arg_fmts(struct syscall *sc, int nr_args) in syscall__alloc_arg_fmts() argument 1646 if (nr_args == RAW_SYSCALL_ARGS_NUM && sc->fmt && sc->fmt->nr_args != 0) in syscall__alloc_arg_fmts() 1647 nr_args = sc->fmt->nr_args; in syscall__alloc_arg_fmts() 1649 sc->arg_fmt = calloc(nr_args, sizeo in syscall__alloc_arg_fmts() [all...] |