Home
last modified time | relevance | path

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

12

/openbmc/linux/io_uring/
H A Drsrc.c22 u32 nr_args; member
357 unsigned nr_args) in __io_sqe_files_update() argument
422 unsigned int nr_args) in __io_sqe_buffers_update() argument
476 unsigned nr_args) in __io_register_rsrc_update() argument
495 unsigned nr_args) in io_register_files_update() argument
499 if (!nr_args) in io_register_files_update()
565 up->nr_args = READ_ONCE(sqe->len); in io_files_update_prep()
566 if (!up->nr_args) in io_files_update_prep()
630 &up2, up->nr_args); in io_files_update()
711 if (!nr_args) in io_sqe_files_register()
[all …]
H A 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()
H A Dtctx.h18 unsigned nr_args);
20 unsigned nr_args);
H A Drsrc.h72 unsigned int nr_args, u64 __user *tags);
76 unsigned nr_args, u64 __user *tags);
79 unsigned nr_args);
H A Dio_uring.c4087 unsigned nr_args) in io_probe() argument
4404 if (arg || nr_args) in __io_uring_register()
4416 if (arg || nr_args) in __io_uring_register()
4425 if (nr_args != 1) in __io_uring_register()
4431 if (nr_args != 1) in __io_uring_register()
4437 if (arg || nr_args) in __io_uring_register()
4449 if (arg || nr_args) in __io_uring_register()
4461 if (arg || nr_args) in __io_uring_register()
4484 if (!arg || !nr_args) in __io_uring_register()
4490 if (arg || nr_args) in __io_uring_register()
[all …]
/openbmc/linux/arch/x86/platform/olpc/
H A 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()
/openbmc/linux/tools/bootconfig/scripts/
H A Dxbc.sh31 nr_args() { # args function
54 __s=`nr_args $__keys`
/openbmc/linux/net/bridge/
H A 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()
/openbmc/linux/kernel/trace/
H A Dtrace_probe.c1387 tp->nr_args++; in traceprobe_parse_probe_arg()
1645 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt()
1765 for (i = 0; i < tp->nr_args; i++) in trace_probe_cleanup()
1912 if (a->nr_args < b->nr_args) in trace_probe_compare_arg_type()
1913 return a->nr_args + 1; in trace_probe_compare_arg_type()
1914 if (a->nr_args > b->nr_args) in trace_probe_compare_arg_type()
1915 return b->nr_args + 1; in trace_probe_compare_arg_type()
1917 for (i = 0; i < a->nr_args; i++) { in trace_probe_compare_arg_type()
1918 if ((b->nr_args <= i) || in trace_probe_compare_arg_type()
1934 if (tp->nr_args < argc) in trace_probe_match_command_args()
[all …]
H A 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()
H A 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()
H A 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,
H A 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()
H A 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()
H A 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()
H A 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()
/openbmc/linux/arch/x86/include/asm/
H A Dolpc_ofw.h18 extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
/openbmc/linux/kernel/bpf/
H A Dbtf.c4304 if (!nr_args) { in btf_func_proto_log()
4806 u16 nr_args, i; in btf_func_proto_check() local
4842 if (!nr_args) in btf_func_proto_check()
4852 nr_args--; in btf_func_proto_check()
4901 u16 nr_args, i; in btf_func_check() local
5905 return nr_args; in get_ctx_arg_idx()
5937 u32 nr_args, arg; in btf_ctx_access() local
5954 nr_args--; in btf_ctx_access()
7580 u32 nr_args; in BTF_ID_LIST_GLOBAL() local
7588 if (nr_args < 1) in BTF_ID_LIST_GLOBAL()
[all …]
/openbmc/linux/drivers/platform/olpc/
H A Dolpc-xo175-ec.c209 u8 nr_args; member
522 priv->cmd.nr_args = inlen; in olpc_xo175_ec_cmd()
/openbmc/linux/tools/perf/
H A 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
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()
1865 --sc->nr_args; in trace__read_syscall_info()
[all …]
/openbmc/linux/drivers/leds/
H A Dleds-blinkm.c104 u8 nr_args; member
297 int arglen = blinkm_cmds[cmd].nr_args; in blinkm_write()
/openbmc/linux/drivers/md/
H A 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()
/openbmc/linux/arch/s390/net/
H A Dbpf_jit_comp.c1440 for (j = 0; j < m->nr_args; j++) { in bpf_jit_insn()
2218 nr_reg_args = min_t(int, m->nr_args, MAX_NR_REG_ARGS); in __arch_prepare_bpf_trampoline()
2219 nr_stack_args = m->nr_args - nr_reg_args; in __arch_prepare_bpf_trampoline()
2237 for (i = 0; i < m->nr_args; i++) { in __arch_prepare_bpf_trampoline()
2290 for (i = 0, j = 0; i < m->nr_args; i++) { in __arch_prepare_bpf_trampoline()
/openbmc/linux/arch/x86/net/
H A Dbpf_jit_comp.c1982 arg_size = m->arg_size[m->nr_args - 1]; in clean_stack_garbage()
2001 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in get_nr_used_regs()
2024 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in save_args()
2102 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in restore_regs()
2353 int i, ret, nr_regs = m->nr_args, stack_size = 0; in arch_prepare_bpf_trampoline()
2364 for (i = 0; i < m->nr_args; i++) in arch_prepare_bpf_trampoline()
/openbmc/linux/include/uapi/linux/
H A Dsoundcard.h528 char nr_args, nr_returns; member

12