/linux-6.12.1/io_uring/ |
D | register.c | 36 unsigned nr_args) in io_probe() argument 42 if (nr_args > IORING_OP_LAST) in io_probe() 43 nr_args = IORING_OP_LAST; in io_probe() 45 size = struct_size(p, ops, nr_args); in io_probe() 59 for (i = 0; i < nr_args; i++) { in io_probe() 106 void __user *arg, unsigned int nr_args) in io_register_restrictions() argument 120 if (!arg || nr_args > IORING_MAX_RESTRICTIONS) in io_register_restrictions() 123 size = array_size(nr_args, sizeof(*res)); in io_register_restrictions() 133 for (i = 0; i < nr_args; i++) { in io_register_restrictions() 364 void __user *arg, unsigned nr_args) in __io_uring_register() argument [all …]
|
D | rsrc.c | 25 u32 nr_args; member 333 unsigned nr_args) in __io_sqe_files_update() argument 344 if (up->offset + nr_args > ctx->nr_user_files) in __io_sqe_files_update() 347 for (done = 0; done < nr_args; done++) { in __io_sqe_files_update() 398 unsigned int nr_args) in __io_sqe_buffers_update() argument 410 if (up->offset + nr_args > ctx->nr_user_bufs) in __io_sqe_buffers_update() 413 for (done = 0; done < nr_args; done++) { in __io_sqe_buffers_update() 461 unsigned nr_args) in __io_register_rsrc_update() argument 467 if (check_add_overflow(up->offset, nr_args, &tmp)) in __io_register_rsrc_update() 472 return __io_sqe_files_update(ctx, up, nr_args); in __io_register_rsrc_update() [all …]
|
D | tctx.c | 254 unsigned nr_args) in io_ringfd_register() argument 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() argument 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()
|
D | tctx.h | 18 unsigned nr_args); 20 unsigned nr_args);
|
D | rsrc.h | 74 unsigned int nr_args, u64 __user *tags); 78 unsigned nr_args, u64 __user *tags); 81 unsigned nr_args);
|
/linux-6.12.1/arch/x86/platform/olpc/ |
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()
|
/linux-6.12.1/tools/bootconfig/scripts/ |
D | xbc.sh | 31 nr_args() { # args function 54 __s=`nr_args $__keys`
|
/linux-6.12.1/net/bridge/ |
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()
|
/linux-6.12.1/kernel/trace/ |
D | trace_probe.c | 783 earg->size = 2 * tp->nr_args + 1; in __store_entry_arg() 1876 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt() 1893 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt() 1943 for (i = 0; i < tp->nr_args; i++) { in traceprobe_define_arg_fields() 1996 for (i = 0; i < tp->nr_args; i++) in trace_probe_cleanup() 2046 tp->nr_args = nargs; in trace_probe_init() 2154 if (a->nr_args < b->nr_args) in trace_probe_compare_arg_type() 2155 return a->nr_args + 1; in trace_probe_compare_arg_type() 2156 if (a->nr_args > b->nr_args) in trace_probe_compare_arg_type() 2157 return b->nr_args + 1; in trace_probe_compare_arg_type() [all …]
|
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()
|
D | trace_fprobe.c | 551 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_fentry_event() 586 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_fexit_event() 709 for (i = 0; i < tf->tp.nr_args; i++) { in __register_trace_fprobe() 792 for (i = 0; i < orig->tp.nr_args; i++) { in trace_fprobe_has_same_fprobe() 798 if (i == orig->tp.nr_args) in trace_fprobe_has_same_fprobe() 1289 for (i = 0; i < tf->tp.nr_args; i++) in trace_fprobe_show()
|
D | trace_kprobe.c | 502 for (i = 0; i < tk->tp.nr_args; i++) { in __register_trace_kprobe() 581 for (i = 0; i < orig->tp.nr_args; i++) { in trace_kprobe_has_same_kprobe() 587 if (i == orig->tp.nr_args) in trace_kprobe_has_same_kprobe() 1293 for (i = 0; i < tk->tp.nr_args; i++) in trace_kprobe_show() 1576 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_kprobe_event() 1611 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_kretprobe_event()
|
D | trace_eprobe.c | 82 for (i = 0; i < ep->tp.nr_args; i++) in eprobe_dyn_event_show() 287 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_eprobe_event() 361 for (i = 0; i < tp->nr_args; i++) { in get_eprobe_size()
|
D | trace_probe.h | 263 unsigned int nr_args; member 364 int trace_probe_print_args(struct trace_seq *s, struct probe_arg *args, int nr_args,
|
D | trace_uprobe.c | 429 for (i = 0; i < orig->tp.nr_args; i++) { in trace_uprobe_has_same_uprobe() 435 if (i == orig->tp.nr_args) in trace_uprobe_has_same_uprobe() 767 for (i = 0; i < tu->tp.nr_args; i++) in trace_uprobe_show() 1094 if (trace_probe_print_args(s, tu->tp.args, tu->tp.nr_args, data, entry) < 0) in print_uprobe_event()
|
D | bpf_trace.c | 1192 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_3() local 1194 if ((u64) n >= nr_args) in BPF_CALL_3() 1212 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_2() local 1214 *value = ((u64 *)ctx)[nr_args]; in BPF_CALL_2()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | olpc_ofw.h | 18 extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
|
/linux-6.12.1/kernel/bpf/ |
D | btf.c | 4506 u16 nr_args = btf_type_vlen(t), i; in btf_func_proto_log() local 4509 if (!nr_args) { in btf_func_proto_log() 4514 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log() 4523 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log() 4528 if (nr_args > 1) { in btf_func_proto_log() 4529 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log() 5011 u16 nr_args, i; in btf_func_proto_check() local 5016 nr_args = btf_type_vlen(t); in btf_func_proto_check() 5047 if (!nr_args) in btf_func_proto_check() 5051 if (!args[nr_args - 1].type) { in btf_func_proto_check() [all …]
|
/linux-6.12.1/drivers/platform/olpc/ |
D | olpc-xo175-ec.c | 209 u8 nr_args; member 522 priv->cmd.nr_args = inlen; in olpc_xo175_ec_cmd()
|
/linux-6.12.1/tools/perf/ |
D | builtin-trace.c | 136 u8 nr_args; member 1146 { .name = "clone", .errpid = true, .nr_args = 5, 1221 { .name = "kcmp", .nr_args = 5, 1452 int nr_args; member 1949 static int syscall__alloc_arg_fmts(struct syscall *sc, int nr_args) in syscall__alloc_arg_fmts() argument 1953 if (nr_args == RAW_SYSCALL_ARGS_NUM && sc->fmt && sc->fmt->nr_args != 0) in syscall__alloc_arg_fmts() 1954 nr_args = sc->fmt->nr_args; in syscall__alloc_arg_fmts() 1956 sc->arg_fmt = calloc(nr_args, sizeof(*sc->arg_fmt)); in syscall__alloc_arg_fmts() 1960 for (idx = 0; idx < nr_args; ++idx) { in syscall__alloc_arg_fmts() 1965 sc->nr_args = nr_args; in syscall__alloc_arg_fmts() [all …]
|
/linux-6.12.1/drivers/leds/ |
D | leds-blinkm.c | 115 u8 nr_args; member 308 int arglen = blinkm_cmds[cmd].nr_args; in blinkm_write()
|
/linux-6.12.1/drivers/md/ |
D | dm-mpath.c | 993 unsigned int i, nr_selector_args, nr_args; in parse_priority_group() local 1025 nr_args = 1 + nr_selector_args; in parse_priority_group() 1030 if (as->argc < nr_args) { in parse_priority_group() 1036 path_args.argc = nr_args; in parse_priority_group() 1047 dm_consume_args(as, nr_args); in parse_priority_group()
|
/linux-6.12.1/arch/s390/net/ |
D | bpf_jit_comp.c | 1790 for (j = 0; j < m->nr_args; j++) { in bpf_jit_insn() 2583 nr_reg_args = min_t(int, m->nr_args, MAX_NR_REG_ARGS); in __arch_prepare_bpf_trampoline() 2584 nr_stack_args = m->nr_args - nr_reg_args; in __arch_prepare_bpf_trampoline() 2603 for (i = 0; i < m->nr_args; i++) { in __arch_prepare_bpf_trampoline() 2656 for (i = 0, j = 0; i < m->nr_args; i++) { in __arch_prepare_bpf_trampoline()
|
/linux-6.12.1/arch/x86/net/ |
D | bpf_jit_comp.c | 2496 arg_size = m->arg_size[m->nr_args - 1]; in clean_stack_garbage() 2515 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in get_nr_used_regs() 2538 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in save_args() 2616 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in restore_regs() 2876 int i, ret, nr_regs = m->nr_args, stack_size = 0; in __arch_prepare_bpf_trampoline() 2895 for (i = 0; i < m->nr_args; i++) { in __arch_prepare_bpf_trampoline()
|
/linux-6.12.1/arch/riscv/net/ |
D | bpf_jit_comp64.c | 866 if (m->nr_args > MAX_BPF_FUNC_ARGS) in __arch_prepare_bpf_trampoline() 869 for (i = 0; i < m->nr_args; i++) in __arch_prepare_bpf_trampoline() 1579 for (idx = 0; idx < fm->nr_args; idx++) { in bpf_jit_emit_insn()
|