Home
last modified time | relevance | path

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

/Linux-v5.15/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.15/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.h59 unsigned int nr_args);
/Linux-v5.15/tools/bootconfig/scripts/
Dxbc.sh31 nr_args() { # args function
54 __s=`nr_args $__keys`
/Linux-v5.15/kernel/trace/
Dtrace_probe.c775 tp->nr_args++; in traceprobe_parse_probe_arg()
889 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt()
906 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt()
958 for (i = 0; i < tp->nr_args; i++) { in traceprobe_define_arg_fields()
1011 for (i = 0; i < tp->nr_args; i++) in trace_probe_cleanup()
1159 if (a->nr_args < b->nr_args) in trace_probe_compare_arg_type()
1160 return a->nr_args + 1; in trace_probe_compare_arg_type()
1161 if (a->nr_args > b->nr_args) in trace_probe_compare_arg_type()
1162 return b->nr_args + 1; in trace_probe_compare_arg_type()
1164 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_eprobe.c73 for (i = 0; i < ep->tp.nr_args; i++) in eprobe_dyn_event_show()
294 if (print_probe_args(s, tp->args, tp->nr_args, in print_eprobe_event()
345 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()
576 for (i = 0; i < orig->tp.nr_args; i++) { in trace_kprobe_has_same_kprobe()
582 if (i == orig->tp.nr_args) in trace_kprobe_has_same_kprobe()
1116 for (i = 0; i < tk->tp.nr_args; i++) in trace_kprobe_show()
1487 if (print_probe_args(s, tp->args, tp->nr_args, in print_kprobe_event()
1522 if (print_probe_args(s, tp->args, tp->nr_args, in print_kretprobe_event()
Dtrace_uprobe.c426 for (i = 0; i < orig->tp.nr_args; i++) { in trace_uprobe_has_same_uprobe()
432 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()
1044 if (print_probe_args(s, tu->tp.args, tu->tp.nr_args, data, entry) < 0) in print_uprobe_event()
Dtrace_probe.h247 unsigned int nr_args; member
/Linux-v5.15/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.15/fs/
Dio_uring.c598 u32 nr_args; member
1090 unsigned nr_args);
6331 req->rsrc_update.nr_args = READ_ONCE(sqe->len); in io_rsrc_update_prep()
6332 if (!req->rsrc_update.nr_args) in io_rsrc_update_prep()
6352 &up, req->rsrc_update.nr_args); in io_files_update()
8213 unsigned nr_args, u64 __user *tags) in io_sqe_files_register() argument
8222 if (!nr_args) in io_sqe_files_register()
8224 if (nr_args > IORING_MAX_FIXED_FILES) in io_sqe_files_register()
8226 if (nr_args > rlimit(RLIMIT_NOFILE)) in io_sqe_files_register()
8231 ret = io_rsrc_data_alloc(ctx, io_rsrc_file_put, tags, nr_args, in io_sqe_files_register()
[all …]
/Linux-v5.15/arch/x86/net/
Dbpf_jit_comp.c1716 static void save_regs(const struct btf_func_model *m, u8 **prog, int nr_args, in save_regs() argument
1725 for (i = 0; i < min(nr_args, 6); i++) in save_regs()
1732 static void restore_regs(const struct btf_func_model *m, u8 **prog, int nr_args, in restore_regs() argument
1742 for (i = 0; i < min(nr_args, 6); i++) in restore_regs()
1971 int ret, i, nr_args = m->nr_args; in arch_prepare_bpf_trampoline() local
1972 int stack_size = nr_args * 8; in arch_prepare_bpf_trampoline()
1981 if (nr_args > 6) in arch_prepare_bpf_trampoline()
2024 save_regs(m, &prog, nr_args, stack_size); in arch_prepare_bpf_trampoline()
2054 restore_regs(m, &prog, nr_args, stack_size); in arch_prepare_bpf_trampoline()
2090 restore_regs(m, &prog, nr_args, stack_size); in arch_prepare_bpf_trampoline()
Dbpf_jit_comp32.c1570 for (i = 0; i < fm->nr_args; i++) { in emit_kfunc_call()
1581 last_stack_regno = BPF_REG_0 + fm->nr_args; in emit_kfunc_call()
/Linux-v5.15/kernel/bpf/
Dbtf.c3425 u16 nr_args = btf_type_vlen(t), i; in btf_func_proto_log() local
3428 if (!nr_args) { in btf_func_proto_log()
3433 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log()
3442 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log()
3447 if (nr_args > 1) { in btf_func_proto_log()
3448 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
3810 u16 nr_args, i; in btf_func_proto_check() local
3815 nr_args = btf_type_vlen(t); in btf_func_proto_check()
3841 if (!nr_args) in btf_func_proto_check()
3845 if (!args[nr_args - 1].type) { in btf_func_proto_check()
[all …]
/Linux-v5.15/tools/perf/
Dbuiltin-trace.c111 u8 nr_args; member
929 { .name = "clone", .errpid = true, .nr_args = 5,
994 { .name = "kcmp", .nr_args = 5,
1205 int nr_args; member
1648 static int syscall__alloc_arg_fmts(struct syscall *sc, int nr_args) in syscall__alloc_arg_fmts() argument
1652 if (nr_args == 6 && sc->fmt && sc->fmt->nr_args != 0) in syscall__alloc_arg_fmts()
1653 nr_args = sc->fmt->nr_args; in syscall__alloc_arg_fmts()
1655 sc->arg_fmt = calloc(nr_args, sizeof(*sc->arg_fmt)); in syscall__alloc_arg_fmts()
1659 for (idx = 0; idx < nr_args; ++idx) { in syscall__alloc_arg_fmts()
1664 sc->nr_args = nr_args; in syscall__alloc_arg_fmts()
[all …]
/Linux-v5.15/drivers/platform/olpc/
Dolpc-xo175-ec.c209 u8 nr_args; member
522 priv->cmd.nr_args = inlen; in olpc_xo175_ec_cmd()
/Linux-v5.15/drivers/leds/
Dleds-blinkm.c104 u8 nr_args; member
297 int arglen = blinkm_cmds[cmd].nr_args; in blinkm_write()
/Linux-v5.15/drivers/md/
Ddm-mpath.c985 unsigned i, nr_selector_args, nr_args; in parse_priority_group() local
1017 nr_args = 1 + nr_selector_args; in parse_priority_group()
1022 if (as->argc < nr_args) { in parse_priority_group()
1028 path_args.argc = nr_args; in parse_priority_group()
1039 dm_consume_args(as, nr_args); in parse_priority_group()
/Linux-v5.15/tools/lib/traceevent/
Devent-parse.c101 int nr_args; member
3025 for (i = 0; i < func->nr_args; i++) { in process_func_handler()
3034 if (i < (func->nr_args - 1)) { in process_func_handler()
3038 func->name, func->nr_args, in process_func_handler()
3046 func->name, func->nr_args, event->name); in process_func_handler()
4242 if (!func_handle->nr_args) { in process_defined_func()
4251 args = malloc(sizeof(*args) * func_handle->nr_args); in process_defined_func()
4255 for (i = 0; i < func_handle->nr_args; i++) { in process_defined_func()
7240 func_handle->nr_args++; in tep_register_print_function()
/Linux-v5.15/include/uapi/linux/
Dsoundcard.h528 char nr_args, nr_returns; member
/Linux-v5.15/include/linux/
Dbpf.h564 u8 nr_args; member
Dsyscalls.h349 void __user *arg, unsigned int nr_args);