Searched refs:nargs (Results 1 - 25 of 70) sorted by last modified time

123

/linux-master/kernel/bpf/
H A Dverifier.c11070 int argno, int nargs)
11133 if (argno + 1 < nargs &&
11611 u32 i, nargs; local
11615 nargs = btf_type_vlen(meta->func_proto);
11616 if (nargs > MAX_BPF_FUNC_REG_ARGS) {
11617 verbose(env, "Function %s has %d > %d args\n", func_name, nargs,
11625 for (i = 0; i < nargs; i++) {
11711 kf_arg_type = get_kfunc_ptr_arg_type(env, meta, t, ref_t, ref_tname, args, i, nargs);
12097 u32 i, nargs, ptr_type_id, release_ref_obj_id; local
12486 nargs
11066 get_kfunc_ptr_arg_type(struct bpf_verifier_env *env, struct bpf_kfunc_call_arg_meta *meta, const struct btf_type *t, const struct btf_type *ref_t, const char *ref_tname, const struct btf_param *args, int argno, int nargs) argument
[all...]
/linux-master/security/selinux/
H A Dselinuxfs.c911 int nargs; local
935 nargs = sscanf(buf, "%s %s %hu %s", scon, tcon, &tclass, namebuf);
936 if (nargs < 3 || nargs > 4)
938 if (nargs == 4) {
/linux-master/drivers/pwm/
H A Dcore.c802 if (args.nargs < 2)
816 if (args.nargs > 2 && args.args[2] & PWM_POLARITY_INVERTED)
/linux-master/tools/net/ynl/
H A Dynl-gen-c.py2608 parser.add_argument('--user-header', nargs='+', default=[])
/linux-master/scripts/
H A Dbpf_doc.py878 argParser.add_argument('target', nargs='?', default='helpers',
/linux-master/kernel/trace/
H A Dtrace_probe.c1945 const char *group, bool alloc_filter, int nargs)
1981 tp->nr_args = nargs;
1983 if (nargs)
1984 memset(tp->args, 0, sizeof(tp->args[0]) * nargs);
1944 trace_probe_init(struct trace_probe *tp, const char *event, const char *group, bool alloc_filter, int nargs) argument
H A Dtrace_uprobe.c331 alloc_trace_uprobe(const char *group, const char *event, int nargs, bool is_ret) argument
336 tu = kzalloc(struct_size(tu, tp.args, nargs), GFP_KERNEL);
340 ret = trace_probe_init(&tu->tp, event, group, true, nargs);
H A Dtrace_probe.h349 const char *group, bool alloc_filter, int nargs);
H A Dtrace_kprobe.c262 int nargs, bool is_return)
267 tk = kzalloc(struct_size(tk, tp.args, nargs), GFP_KERNEL);
293 ret = trace_probe_init(&tk->tp, event, group, false, nargs);
1839 offs, 0 /* maxactive */, 0 /* nargs */,
256 alloc_trace_kprobe(const char *group, const char *event, void *addr, const char *symbol, unsigned long offs, int maxactive, int nargs, bool is_return) argument
H A Dtrace_fprobe.c389 int nargs, bool is_return)
394 tf = kzalloc(struct_size(tf, tp.args, nargs), GFP_KERNEL);
410 ret = trace_probe_init(&tf->tp, event, group, false, nargs);
384 alloc_trace_fprobe(const char *group, const char *event, const char *symbol, struct tracepoint *tpoint, int maxactive, int nargs, bool is_return) argument
H A Dtrace_eprobe.c197 int nargs)
210 ep = kzalloc(struct_size(ep, tp.args, nargs), GFP_KERNEL);
223 ret = trace_probe_init(&ep->tp, this_event, group, false, nargs);
194 alloc_event_probe(const char *group, const char *this_event, struct trace_event_call *event, int nargs) argument
/linux-master/net/
H A Dsocket.c3059 static const unsigned char nargs[21] = { variable
3087 len = nargs[call];
3095 err = audit_socketcall(nargs[call] / sizeof(unsigned long), a);
/linux-master/include/linux/
H A Dproperty.h136 unsigned int nargs, unsigned int index,
312 * @nargs: Number of elements in @args array
317 unsigned int nargs; member in struct:software_node_ref_args
324 .nargs = COUNT_ARGS(__VA_ARGS__), \
H A Dfwnode.h99 * @nargs: Number of elements in @args array
104 unsigned int nargs; member in struct:fwnode_reference_args
163 unsigned int nargs, unsigned int index,
/linux-master/drivers/of/
H A Dproperty.c990 unsigned int nargs, unsigned int index,
1002 nargs, index, &of_args);
1010 args->nargs = of_args.args_count;
988 of_fwnode_get_reference_args(const struct fwnode_handle *fwnode, const char *prop, const char *nargs_prop, unsigned int nargs, unsigned int index, struct fwnode_reference_args *args) argument
/linux-master/drivers/iio/adc/
H A Dqcom-pm8xxx-xoadc.c708 if (iiospec->nargs != 2) {
711 iiospec->nargs);
/linux-master/drivers/base/
H A Dproperty.c542 * arguments in the referred node. NULL if @nargs is known,
543 * otherwise @nargs is ignored. Only relevant on OF.
544 * @nargs: Number of arguments. Ignored if @nargs_prop is non-NULL.
562 unsigned int nargs, unsigned int index,
571 nargs, index, args);
579 nargs, index, args);
560 fwnode_property_get_reference_args(const struct fwnode_handle *fwnode, const char *prop, const char *nargs_prop, unsigned int nargs, unsigned int index, struct fwnode_reference_args *args) argument
H A Dswnode.c506 unsigned int nargs, unsigned int index,
549 nargs = nargs_prop_val;
552 if (nargs > NR_FWNODE_REFERENCE_ARGS)
559 args->nargs = nargs;
561 for (i = 0; i < nargs; i++)
504 software_node_get_reference_args(const struct fwnode_handle *fwnode, const char *propname, const char *nargs_prop, unsigned int nargs, unsigned int index, struct fwnode_reference_args *args) argument
/linux-master/tools/testing/selftests/kvm/lib/
H A Ducall_common.c118 void ucall(uint64_t cmd, int nargs, ...) argument
128 nargs = min(nargs, UCALL_MAX_ARGS);
130 va_start(va, nargs);
131 for (i = 0; i < nargs; ++i)
/linux-master/arch/powerpc/kernel/
H A Dprom_init.c110 __be32 nargs; member in struct:prom_args
387 static int __init call_prom(const char *service, int nargs, int nret, ...) argument
394 args.nargs = cpu_to_be32(nargs);
398 for (i = 0; i < nargs; i++)
403 args.args[nargs+i] = 0;
408 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0;
411 static int __init call_prom_ret(const char *service, int nargs, int nret, argument
419 args.nargs = cpu_to_be32(nargs);
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dtrace.h133 __field(__u32, nargs)
135 __dynamic_array(__u32, inputs, be32_to_cpu(rtas_args->nargs))
139 __entry->nargs = be32_to_cpu(rtas_args->nargs);
141 be32_to_cpu_array(__get_dynamic_array(inputs), rtas_args->args, __entry->nargs);
145 __print_array(__get_dynamic_array(inputs), __entry->nargs, 4)
184 __field(u32, nargs)
191 __entry->nargs = be32_to_cpu(rtas_args->nargs);
196 TP_printk("token=%u nargs
[all...]
/linux-master/tools/perf/util/
H A Dprobe-event.c1811 pev->nargs = argc - 1;
1812 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs);
1817 for (i = 0; i < pev->nargs && ret >= 0; i++) {
1837 for (i = 0; i < pev->nargs; i++)
1961 tev->nargs = argc - 2;
1962 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs);
1967 for (i = 0; i < tev->nargs; i++) {
2087 for (i = 0; i < pev->nargs; i++) {
2166 for (i = 0; i < tev->nargs && ret >= 0; i++)
2334 pev->nargs
[all...]
/linux-master/tools/perf/pmu-events/
H A Djevents.py1255 'output_file', type=argparse.FileType('w', encoding='utf-8'), nargs='?', default=sys.stdout)
/linux-master/fs/xfs/
H A Dxfs_rtalloc.c92 struct xfs_rtalloc_args *nargs)
111 error = xfs_rtmodify_summary(nargs, log, bbno, sum);
922 struct xfs_rtalloc_args nargs = { local
957 nargs.tp = tp;
992 error = xfs_rtcopy_summary(&args, &nargs);
1017 error = xfs_rtfree_range(&nargs, sbp->sb_rextents,
1019 xfs_rtbuf_cache_relse(&nargs);
90 xfs_rtcopy_summary( struct xfs_rtalloc_args *oargs, struct xfs_rtalloc_args *nargs) argument
/linux-master/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c875 struct xfs_da_args nargs; local
900 memset((char *)&nargs, 0, sizeof(nargs));
901 nargs.dp = dp;
902 nargs.geo = args->geo;
903 nargs.total = args->total;
904 nargs.whichfork = XFS_ATTR_FORK;
905 nargs.trans = args->trans;
906 nargs.op_flags = XFS_DA_OP_OKNOENT;
910 nargs
1054 struct xfs_da_args nargs; local
[all...]

Completed in 360 milliseconds

123