/openbmc/linux/io_uring/ |
H A D | rsrc.c | 22 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() 422 unsigned int nr_args) in __io_sqe_buffers_update() argument 432 if (up->offset + nr_args > ctx->nr_user_bufs) in __io_sqe_buffers_update() 435 for (done = 0; done < nr_args; done++) { in __io_sqe_buffers_update() 476 unsigned nr_args) in __io_register_rsrc_update() argument 482 if (check_add_overflow(up->offset, nr_args, &tmp)) in __io_register_rsrc_update() 487 return __io_sqe_files_update(ctx, up, nr_args); in __io_register_rsrc_update() [all …]
|
H A D | tctx.c | 265 unsigned nr_args) in io_ringfd_register() argument 272 if (!nr_args || nr_args > IO_RINGFD_REG_MAX) in io_ringfd_register() 282 for (i = 0; i < nr_args; i++) { in io_ringfd_register() 324 unsigned nr_args) in io_ringfd_unregister() argument 331 if (!nr_args || nr_args > IO_RINGFD_REG_MAX) in io_ringfd_unregister() 336 for (i = 0; i < nr_args; i++) { in io_ringfd_unregister()
|
H A D | tctx.h | 18 unsigned nr_args); 20 unsigned nr_args);
|
H A D | rsrc.h | 72 unsigned int nr_args, u64 __user *tags); 76 unsigned nr_args, u64 __user *tags); 79 unsigned nr_args);
|
H A D | io_uring.c | 4123 unsigned nr_args) in io_probe() argument 4129 size = struct_size(p, ops, nr_args); in io_probe() 4144 if (nr_args > IORING_OP_LAST) in io_probe() 4145 nr_args = IORING_OP_LAST; in io_probe() 4147 for (i = 0; i < nr_args; i++) { in io_probe() 4180 void __user *arg, unsigned int nr_args) in io_register_restrictions() argument 4194 if (!arg || nr_args > IORING_MAX_RESTRICTIONS) in io_register_restrictions() 4197 size = array_size(nr_args, sizeof(*res)); in io_register_restrictions() 4207 for (i = 0; i < nr_args; i++) { in io_register_restrictions() 4414 void __user *arg, unsigned nr_args) in __io_uring_register() argument [all …]
|
/openbmc/linux/arch/x86/platform/olpc/ |
H A D | olpc_ofw.c | 47 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 D | xbc.sh | 31 nr_args() { # args function 54 __s=`nr_args $__keys`
|
/openbmc/linux/net/bridge/ |
H A D | br_ioctl.c | 107 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 D | trace_probe.c | 782 earg->size = 2 * tp->nr_args + 1; in __store_entry_arg() 1771 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt() 1788 for (i = 0; i < tp->nr_args; i++) { in __set_print_fmt() 1838 for (i = 0; i < tp->nr_args; i++) { in traceprobe_define_arg_fields() 1891 for (i = 0; i < tp->nr_args; i++) in trace_probe_cleanup() 1941 tp->nr_args = nargs; in trace_probe_init() 2049 if (a->nr_args < b->nr_args) in trace_probe_compare_arg_type() 2050 return a->nr_args + 1; in trace_probe_compare_arg_type() 2051 if (a->nr_args > b->nr_args) in trace_probe_compare_arg_type() 2052 return b->nr_args + 1; in trace_probe_compare_arg_type() [all …]
|
H A D | trace_probe_tmpl.h | 240 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 D | trace_fprobe.c | 548 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_fentry_event() 583 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_fexit_event() 688 for (i = 0; i < tf->tp.nr_args; i++) { in __register_trace_fprobe() 777 for (i = 0; i < orig->tp.nr_args; i++) { in trace_fprobe_has_same_fprobe() 783 if (i == orig->tp.nr_args) in trace_fprobe_has_same_fprobe() 1202 for (i = 0; i < tf->tp.nr_args; i++) in trace_fprobe_show()
|
H A D | trace_kprobe.c | 495 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() 1207 for (i = 0; i < tk->tp.nr_args; i++) in trace_kprobe_show() 1490 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_kprobe_event() 1525 if (trace_probe_print_args(s, tp->args, tp->nr_args, in print_kretprobe_event()
|
H A D | trace_eprobe.c | 82 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 D | trace_probe.h | 262 unsigned int nr_args; member 363 int trace_probe_print_args(struct trace_seq *s, struct probe_arg *args, int nr_args,
|
H A D | trace_uprobe.c | 420 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() 758 for (i = 0; i < tu->tp.nr_args; i++) in trace_uprobe_show() 1077 if (trace_probe_print_args(s, tu->tp.args, tu->tp.nr_args, data, entry) < 0) in print_uprobe_event()
|
H A D | bpf_trace.c | 1211 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_3() local 1213 if ((u64) n >= nr_args) in BPF_CALL_3() 1231 u64 nr_args = ((u64 *)ctx)[-1]; in BPF_CALL_2() local 1233 *value = ((u64 *)ctx)[nr_args]; in BPF_CALL_2()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | olpc_ofw.h | 18 extern int __olpc_ofw(const char *name, int nr_args, const void **args, int nr_res,
|
/openbmc/linux/kernel/bpf/ |
H A D | btf.c | 4301 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 …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-trace.c | 122 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 …]
|
/openbmc/linux/drivers/platform/olpc/ |
H A D | olpc-xo175-ec.c | 209 u8 nr_args; member 522 priv->cmd.nr_args = inlen; in olpc_xo175_ec_cmd()
|
/openbmc/linux/drivers/leds/ |
H A D | leds-blinkm.c | 104 u8 nr_args; member 297 int arglen = blinkm_cmds[cmd].nr_args; in blinkm_write()
|
/openbmc/linux/drivers/md/ |
H A D | dm-mpath.c | 994 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 D | bpf_jit_comp.c | 1440 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 D | bpf_jit_comp.c | 2032 arg_size = m->arg_size[m->nr_args - 1]; in clean_stack_garbage() 2051 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in get_nr_used_regs() 2074 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in save_args() 2152 for (i = 0; i < min_t(int, m->nr_args, MAX_BPF_FUNC_ARGS); i++) { in restore_regs() 2403 int i, ret, nr_regs = m->nr_args, stack_size = 0; in arch_prepare_bpf_trampoline() 2414 for (i = 0; i < m->nr_args; i++) in arch_prepare_bpf_trampoline()
|
/openbmc/linux/include/uapi/linux/ |
H A D | soundcard.h | 528 char nr_args, nr_returns; member
|