Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/tools/io_uring/
Dsyscall.c37 unsigned int nr_args) in io_uring_register() argument
39 return syscall(__NR_io_uring_register, fd, opcode, arg, nr_args); in io_uring_register()
Dliburing.h58 unsigned int nr_args);
/Linux-v5.4/kernel/trace/
Dtrace_probe.c755 tp->nr_args++; in traceprobe_parse_probe_arg()
859 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt()
876 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt()
926 for (i = 0; i < tp->nr_args; i++) { in traceprobe_define_arg_fields()
979 for (i = 0; i < tp->nr_args; i++) in trace_probe_cleanup()
1098 if (a->nr_args < b->nr_args) in trace_probe_compare_arg_type()
1099 return a->nr_args + 1; in trace_probe_compare_arg_type()
1100 if (a->nr_args > b->nr_args) in trace_probe_compare_arg_type()
1101 return b->nr_args + 1; in trace_probe_compare_arg_type()
1103 for (i = 0; i < a->nr_args; i++) { in trace_probe_compare_arg_type()
[all …]
Dtrace_probe_tmpl.h177 for (i = 0; i < tp->nr_args; i++) { in __get_data_size()
200 for (i = 0; i < tp->nr_args; i++) { in store_trace_args()
217 print_probe_args(struct trace_seq *s, struct probe_arg *args, int nr_args, in print_probe_args() argument
223 for (i = 0; i < nr_args; i++) { in print_probe_args()
Dtrace_kprobe.c477 for (i = 0; i < tk->tp.nr_args; i++) { in __register_trace_kprobe()
554 for (i = 0; i < orig->tp.nr_args; i++) { in trace_kprobe_has_same_kprobe()
560 if (i == orig->tp.nr_args) in trace_kprobe_has_same_kprobe()
911 for (i = 0; i < tk->tp.nr_args; i++) in trace_kprobe_show()
1270 if (print_probe_args(s, tp->args, tp->nr_args, in print_kprobe_event()
1305 if (print_probe_args(s, tp->args, tp->nr_args, in print_kretprobe_event()
Dtrace_uprobe.c432 for (i = 0; i < orig->tp.nr_args; i++) { in trace_uprobe_has_same_uprobe()
438 if (i == orig->tp.nr_args) in trace_uprobe_has_same_uprobe()
745 for (i = 0; i < tu->tp.nr_args; i++) in trace_uprobe_show()
1033 if (print_probe_args(s, tu->tp.args, tu->tp.nr_args, data, entry) < 0) in print_uprobe_event()
Dtrace_probe.h239 unsigned int nr_args; member
/Linux-v5.4/arch/x86/include/asm/
Dolpc_ofw.h18 extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
/Linux-v5.4/fs/
Dio_uring.c3100 unsigned nr_args) in io_sqe_files_register() argument
3108 if (!nr_args) in io_sqe_files_register()
3110 if (nr_args > IORING_MAX_FIXED_FILES) in io_sqe_files_register()
3113 ctx->user_files = kcalloc(nr_args, sizeof(struct file *), GFP_KERNEL); in io_sqe_files_register()
3117 for (i = 0; i < nr_args; i++) { in io_sqe_files_register()
3371 unsigned nr_args) in io_sqe_buffer_register() argument
3380 if (!nr_args || nr_args > UIO_MAXIOV) in io_sqe_buffer_register()
3383 ctx->user_bufs = kcalloc(nr_args, sizeof(struct io_mapped_ubuf), in io_sqe_buffer_register()
3388 for (i = 0; i < nr_args; i++) { in io_sqe_buffer_register()
3920 void __user *arg, unsigned nr_args) in __io_uring_register() argument
[all …]
/Linux-v5.4/kernel/bpf/
Dbtf.c2484 u16 nr_args = btf_type_vlen(t), i; in btf_func_proto_log() local
2487 if (!nr_args) { in btf_func_proto_log()
2492 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log()
2501 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log()
2506 if (nr_args > 1) { in btf_func_proto_log()
2507 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
2795 u16 nr_args, i; in btf_func_proto_check() local
2800 nr_args = btf_type_vlen(t); in btf_func_proto_check()
2826 if (!nr_args) in btf_func_proto_check()
2830 if (!args[nr_args - 1].type) { in btf_func_proto_check()
[all …]
/Linux-v5.4/tools/perf/
Dbuiltin-trace.c713 u8 nr_args; member
733 { .name = "clone", .errpid = true, .nr_args = 5,
797 { .name = "kcmp", .nr_args = 5,
993 int nr_args; member
1436 static int syscall__alloc_arg_fmts(struct syscall *sc, int nr_args) in syscall__alloc_arg_fmts() argument
1440 if (nr_args == 6 && sc->fmt && sc->fmt->nr_args != 0) in syscall__alloc_arg_fmts()
1441 nr_args = sc->fmt->nr_args; in syscall__alloc_arg_fmts()
1443 sc->arg_fmt = calloc(nr_args, sizeof(*sc->arg_fmt)); in syscall__alloc_arg_fmts()
1447 for (idx = 0; idx < nr_args; ++idx) { in syscall__alloc_arg_fmts()
1452 sc->nr_args = nr_args; in syscall__alloc_arg_fmts()
[all …]
/Linux-v5.4/drivers/platform/olpc/
Dolpc-xo175-ec.c209 u8 nr_args; member
522 priv->cmd.nr_args = inlen; in olpc_xo175_ec_cmd()
/Linux-v5.4/drivers/leds/
Dleds-blinkm.c104 u8 nr_args; member
297 int arglen = blinkm_cmds[cmd].nr_args; in blinkm_write()
/Linux-v5.4/drivers/md/
Ddm-mpath.c928 unsigned i, nr_selector_args, nr_args; in parse_priority_group() local
960 nr_args = 1 + nr_selector_args; in parse_priority_group()
965 if (as->argc < nr_args) { in parse_priority_group()
971 path_args.argc = nr_args; in parse_priority_group()
982 dm_consume_args(as, nr_args); in parse_priority_group()
/Linux-v5.4/tools/lib/traceevent/
Devent-parse.c94 int nr_args; member
3023 for (i = 0; i < func->nr_args; i++) { in process_func_handler()
3032 if (i < (func->nr_args - 1)) { in process_func_handler()
3036 func->name, func->nr_args, in process_func_handler()
3044 func->name, func->nr_args, event->name); in process_func_handler()
4208 if (!func_handle->nr_args) { in process_defined_func()
4217 args = malloc(sizeof(*args) * func_handle->nr_args); in process_defined_func()
4221 for (i = 0; i < func_handle->nr_args; i++) { in process_defined_func()
6710 func_handle->nr_args++; in tep_register_print_function()
/Linux-v5.4/include/uapi/linux/
Dsoundcard.h528 char nr_args, nr_returns; member
/Linux-v5.4/include/linux/
Dsyscalls.h323 void __user *arg, unsigned int nr_args);