Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/tools/bootconfig/scripts/
Dxbc.sh31 nr_args() { # args function
54 __s=`nr_args $__keys`
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_probe.c756 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()
1133 return b->nr_args + 1; in trace_probe_compare_arg_type()
1135 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.c499 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()
1124 for (i = 0; i < tk->tp.nr_args; i++) in trace_kprobe_show()
1499 if (print_probe_args(s, tp->args, tp->nr_args, in print_kprobe_event()
1534 if (print_probe_args(s, tp->args, tp->nr_args, in print_kretprobe_event()
Dtrace_uprobe.c425 for (i = 0; i < orig->tp.nr_args; i++) { in trace_uprobe_has_same_uprobe()
431 if (i == orig->tp.nr_args) in trace_uprobe_has_same_uprobe()
755 for (i = 0; i < tu->tp.nr_args; i++) in trace_uprobe_show()
1043 if (print_probe_args(s, tu->tp.args, tu->tp.nr_args, data, entry) < 0) in print_uprobe_event()
Dtrace_probe.h245 unsigned int nr_args; member
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dolpc_ofw.h18 extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c597 u32 nr_args; member
1092 unsigned nr_args);
6396 req->rsrc_update.nr_args = READ_ONCE(sqe->len); in io_rsrc_update_prep()
6397 if (!req->rsrc_update.nr_args) in io_rsrc_update_prep()
6418 &up, req->rsrc_update.nr_args); in io_files_update()
8285 unsigned nr_args, u64 __user *tags) in io_sqe_files_register() argument
8294 if (!nr_args) in io_sqe_files_register()
8296 if (nr_args > IORING_MAX_FIXED_FILES) in io_sqe_files_register()
8298 if (nr_args > rlimit(RLIMIT_NOFILE)) in io_sqe_files_register()
8303 ret = io_rsrc_data_alloc(ctx, io_rsrc_file_put, tags, nr_args, in io_sqe_files_register()
[all …]
/kernel/linux/linux-5.10/arch/x86/net/
Dbpf_jit_comp.c1510 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()
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_size); in arch_prepare_bpf_trampoline()
1843 restore_regs(m, &prog, nr_args, stack_size); in arch_prepare_bpf_trampoline()
1879 restore_regs(m, &prog, nr_args, stack_size); in arch_prepare_bpf_trampoline()
/kernel/linux/linux-5.10/kernel/bpf/
Dbtf.c3306 u16 nr_args = btf_type_vlen(t), i; in btf_func_proto_log() local
3309 if (!nr_args) { in btf_func_proto_log()
3314 if (nr_args == 1 && !args[0].type) { in btf_func_proto_log()
3323 for (i = 1; i < nr_args - 1; i++) in btf_func_proto_log()
3328 if (nr_args > 1) { in btf_func_proto_log()
3329 const struct btf_param *last_arg = &args[nr_args - 1]; in btf_func_proto_log()
3621 u16 nr_args, i; in btf_func_proto_check() local
3626 nr_args = btf_type_vlen(t); in btf_func_proto_check()
3652 if (!nr_args) in btf_func_proto_check()
3656 if (!args[nr_args - 1].type) { in btf_func_proto_check()
[all …]
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-trace.c113 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, sizeof(*sc->arg_fmt)); in syscall__alloc_arg_fmts()
1653 for (idx = 0; idx < nr_args; ++idx) { in syscall__alloc_arg_fmts()
1658 sc->nr_args = nr_args; in syscall__alloc_arg_fmts()
[all …]
/kernel/linux/linux-5.10/drivers/platform/olpc/
Dolpc-xo175-ec.c209 u8 nr_args; member
522 priv->cmd.nr_args = inlen; in olpc_xo175_ec_cmd()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-blinkm.c104 u8 nr_args; member
297 int arglen = blinkm_cmds[cmd].nr_args; in blinkm_write()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dsoundcard.h307 char nr_args, nr_returns; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dsoundcard.h305 char nr_args, nr_returns; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dsoundcard.h528 char nr_args, nr_returns; member
/kernel/linux/linux-5.10/include/linux/
Dbpf.h571 u8 nr_args; member
Dsyscalls.h346 void __user *arg, unsigned int nr_args);