Home
last modified time | relevance | path

Searched refs:nr_args (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/io_uring/
Drsrc.c22 u32 nr_args; member
357 unsigned nr_args) in __io_sqe_files_update() argument
368 if (up->offset + nr_args > ctx->nr_user_files) in __io_sqe_files_update()
371 for (done = 0; done < nr_args; done++) { in __io_sqe_files_update()
432 unsigned int nr_args) in __io_sqe_buffers_update() argument
442 if (up->offset + nr_args > ctx->nr_user_bufs) in __io_sqe_buffers_update()
445 for (done = 0; done < nr_args; done++) { in __io_sqe_buffers_update()
486 unsigned nr_args) in __io_register_rsrc_update() argument
492 if (check_add_overflow(up->offset, nr_args, &tmp)) in __io_register_rsrc_update()
497 return __io_sqe_files_update(ctx, up, nr_args); in __io_register_rsrc_update()
[all …]
Dtctx.c254 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()
Dtctx.h18 unsigned nr_args);
20 unsigned nr_args);
Drsrc.h72 unsigned int nr_args, u64 __user *tags);
76 unsigned nr_args, u64 __user *tags);
94 unsigned nr_args);
Dio_uring.c4134 unsigned nr_args) in io_probe() argument
4140 size = struct_size(p, ops, nr_args); in io_probe()
4155 if (nr_args > IORING_OP_LAST) in io_probe()
4156 nr_args = IORING_OP_LAST; in io_probe()
4158 for (i = 0; i < nr_args; i++) { in io_probe()
4191 void __user *arg, unsigned int nr_args) in io_register_restrictions() argument
4205 if (!arg || nr_args > IORING_MAX_RESTRICTIONS) in io_register_restrictions()
4208 size = array_size(nr_args, sizeof(*res)); in io_register_restrictions()
4218 for (i = 0; i < nr_args; i++) { in io_register_restrictions()
4420 void __user *arg, unsigned nr_args) in __io_uring_register() argument
[all …]
/linux-6.6.21/arch/x86/platform/olpc/
Dolpc_ofw.c47 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.6.21/tools/bootconfig/scripts/
Dxbc.sh31 nr_args() { # args function
54 __s=`nr_args $__keys`
/linux-6.6.21/net/bridge/
Dbr_ioctl.c107 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.6.21/kernel/trace/
Dtrace_probe.c1383 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()
1911 return b->nr_args + 1; in trace_probe_compare_arg_type()
1913 for (i = 0; i < a->nr_args; i++) { in trace_probe_compare_arg_type()
[all …]
Dtrace_probe_tmpl.h240 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()
Dtrace_fprobe.c530 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()
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()
Dtrace_probe.h255 unsigned int nr_args; member
355 int trace_probe_print_args(struct trace_seq *s, struct probe_arg *args, int nr_args,
Dtrace_eprobe.c82 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()
Dtrace_kprobe.c495 for (i = 0; i < tk->tp.nr_args; i++) { in __register_trace_kprobe()
574 for (i = 0; i < orig->tp.nr_args; i++) { in trace_kprobe_has_same_kprobe()
580 if (i == orig->tp.nr_args) in trace_kprobe_has_same_kprobe()
1195 for (i = 0; i < tk->tp.nr_args; i++) in trace_kprobe_show()
1445 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_kprobe_event()
1480 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_kretprobe_event()
Dtrace_uprobe.c420 for (i = 0; i < orig->tp.nr_args; i++) { in trace_uprobe_has_same_uprobe()
426 if (i == orig->tp.nr_args) in trace_uprobe_has_same_uprobe()
756 for (i = 0; i < tu->tp.nr_args; i++) in trace_uprobe_show()
1041 if (trace_probe_print_args(s, tu->tp.args, tu->tp.nr_args, data, entry) < 0) in print_uprobe_event()
Dbpf_trace.c1210 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_3() local
1212 if ((u64) n >= nr_args) in BPF_CALL_3()
1229 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_2() local
1231 *value = ((u64 *)ctx)[nr_args]; in BPF_CALL_2()
/linux-6.6.21/arch/x86/include/asm/
Dolpc_ofw.h18 extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
/linux-6.6.21/kernel/bpf/
Dbtf.c4301 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 - 1].type) { in btf_func_proto_check()
[all …]
/linux-6.6.21/tools/perf/
Dbuiltin-trace.c122 u8 nr_args; member
933 { .name = "clone", .errpid = true, .nr_args = 5,
1000 { .name = "kcmp", .nr_args = 5,
1217 int nr_args; member
1687 static int syscall__alloc_arg_fmts(struct syscall *sc, int nr_args) in syscall__alloc_arg_fmts() argument
1691 if (nr_args == RAW_SYSCALL_ARGS_NUM && sc->fmt && sc->fmt->nr_args != 0) in syscall__alloc_arg_fmts()
1692 nr_args = sc->fmt->nr_args; in syscall__alloc_arg_fmts()
1694 sc->arg_fmt = calloc(nr_args, sizeof(*sc->arg_fmt)); in syscall__alloc_arg_fmts()
1698 for (idx = 0; idx < nr_args; ++idx) { in syscall__alloc_arg_fmts()
1703 sc->nr_args = nr_args; in syscall__alloc_arg_fmts()
[all …]
/linux-6.6.21/drivers/platform/olpc/
Dolpc-xo175-ec.c209 u8 nr_args; member
522 priv->cmd.nr_args = inlen; in olpc_xo175_ec_cmd()
/linux-6.6.21/drivers/leds/
Dleds-blinkm.c104 u8 nr_args; member
297 int arglen = blinkm_cmds[cmd].nr_args; in blinkm_write()
/linux-6.6.21/drivers/md/
Ddm-mpath.c994 unsigned int i, nr_selector_args, nr_args; in parse_priority_group() local
1026 nr_args = 1 + nr_selector_args; in parse_priority_group()
1031 if (as->argc < nr_args) { in parse_priority_group()
1037 path_args.argc = nr_args; in parse_priority_group()
1048 dm_consume_args(as, nr_args); in parse_priority_group()
/linux-6.6.21/arch/s390/net/
Dbpf_jit_comp.c1436 for (j = 0; j < m->nr_args; j++) { in bpf_jit_insn()
2220 nr_reg_args = min_t(int, m->nr_args, MAX_NR_REG_ARGS); in __arch_prepare_bpf_trampoline()
2221 nr_stack_args = m->nr_args - nr_reg_args; in __arch_prepare_bpf_trampoline()
2239 for (i = 0; i < m->nr_args; i++) { in __arch_prepare_bpf_trampoline()
2292 for (i = 0, j = 0; i < m->nr_args; i++) { in __arch_prepare_bpf_trampoline()
/linux-6.6.21/arch/x86/net/
Dbpf_jit_comp.c1989 arg_size = m->arg_size[m->nr_args - 1]; in clean_stack_garbage()
2008 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in get_nr_used_regs()
2031 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in save_args()
2109 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in restore_regs()
2360 int i, ret, nr_regs = m->nr_args, stack_size = 0; in arch_prepare_bpf_trampoline()
2371 for (i = 0; i < m->nr_args; i++) in arch_prepare_bpf_trampoline()
/linux-6.6.21/include/uapi/linux/
Dsoundcard.h528 char nr_args, nr_returns; member

12