Searched refs:nargs (Results 26 - 50 of 70) sorted by relevance

123

/linux-master/drivers/input/joystick/
H A Ddb9.c28 unsigned int nargs; member in struct:db9_config
34 module_param_array_named(dev, db9_cfg[0].args, int, &db9_cfg[0].nargs, 0);
36 module_param_array_named(dev2, db9_cfg[1].args, int, &db9_cfg[1].nargs, 0);
38 module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0);
554 if (db9_cfg[port_idx].nargs == 0 ||
685 if (db9_cfg[i].nargs == 0 || db9_cfg[i].args[DB9_ARG_PARPORT] < 0)
688 if (db9_cfg[i].nargs < 2) {
/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/tools/testing/kunit/
H A Dkunit.py377 nargs='?',
410 type=str, nargs='?', const='all', default=None, choices=['all', 'kunit'])
412 nargs='?',
574 type=str, nargs='?', metavar='input_file')
/linux-master/scripts/
H A Dgenerate_rust_analyzer.py149 parser.add_argument("exttree", type=pathlib.Path, nargs="?")
/linux-master/tools/workqueue/
H A Dwq_monitor.py49 parser.add_argument('workqueue', metavar='REGEX', nargs='*',
/linux-master/tools/testing/selftests/kvm/include/
H A Ducall_common.h36 void ucall(uint64_t cmd, int nargs, ...);
/linux-master/scripts/clang-tools/
H A Dgen_compile_commands.py62 parser.add_argument('paths', type=str, nargs='*', help=paths_help)
/linux-master/kernel/bpf/
H A Dbpf_struct_ops.c209 u32 nargs, arg_no, info_cnt = 0; local
220 nargs = btf_type_vlen(func_proto);
221 if (nargs != btf_type_vlen(stub_func_proto)) {
227 if (!nargs)
233 info_buf = kcalloc(nargs, sizeof(*info_buf), GFP_KERNEL);
239 for (arg_no = 0; arg_no < nargs; arg_no++) {
/linux-master/drivers/base/
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
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
/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/tools/testing/selftests/tc-testing/
H A Dtdc.py703 '-D', '--directory', nargs='+', metavar='DIR',
707 '-f', '--file', nargs='+', metavar='FILE',
710 '-c', '--category', nargs='*', metavar='CATG', default=['+c'],
714 '-e', '--execute', nargs='+', metavar='ID',
729 '--format', default='tap', const='tap', nargs='?',
/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__), \
/linux-master/arch/powerpc/include/asm/
H A Drtas.h426 int rtas_call(int token, int nargs, int nret, int *outputs, ...);
427 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs,
/linux-master/kernel/
H A Daudit.h156 int nargs; member in struct:audit_context::__anon3761::__anon3762
H A Dauditsc.c1380 int nargs = context->socketcall.nargs; local
1382 audit_log_format(ab, "nargs=%d", nargs);
1383 for (i = 0; i < nargs; i++)
2670 * @nargs: number of args, which should not be more than AUDITSC_ARGS.
2674 int __audit_socketcall(int nargs, unsigned long *args) argument
2678 if (nargs <= 0 || nargs > AUDITSC_ARGS || !args)
2681 context->socketcall.nargs
[all...]
/linux-master/drivers/gpu/drm/ci/xfails/
H A Dupdate-xfails.py198 parser.add_argument("pipeline_urls", nargs="+", type=str, help="URLs to the pipelines to analyze the failures.")
/linux-master/tools/perf/
H A Dbuiltin-probe.c76 pr_debug("%d arguments\n", pev->nargs);
263 if (!ret && pev->nargs != 0) {
/linux-master/tools/hv/
H A Dvmbus_testing321 parser_delay.add_argument("-t", "--delay_time", metavar = "", nargs = 2,
/linux-master/tools/net/ynl/
H A Dethtool.py151 parser.add_argument('args', metavar='args', type=str, nargs='*')
/linux-master/kernel/trace/
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
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);
/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

Completed in 427 milliseconds

123