Home
last modified time | relevance | path

Searched refs:nargs (Results 1 – 14 of 14) sorted by relevance

/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c19 void ucall(uint64_t cmd, int nargs, ...) in ucall() argument
27 nargs = nargs <= UCALL_MAX_ARGS ? nargs : UCALL_MAX_ARGS; in ucall()
29 va_start(va, nargs); in ucall()
30 for (i = 0; i < nargs; ++i) in ucall()
/tools/testing/selftests/kvm/lib/s390x/
Ducall.c17 void ucall(uint64_t cmd, int nargs, ...) in ucall() argument
25 nargs = nargs <= UCALL_MAX_ARGS ? nargs : UCALL_MAX_ARGS; in ucall()
27 va_start(va, nargs); in ucall()
28 for (i = 0; i < nargs; ++i) in ucall()
/tools/perf/util/
Dbpf-prologue.c183 struct probe_trace_arg *args, int nargs) in gen_prologue_fastpath() argument
187 for (i = 0; i < nargs; i++) { in gen_prologue_fastpath()
242 struct probe_trace_arg *args, int nargs) in gen_prologue_slowpath() argument
246 for (i = 0; i < nargs; i++) { in gen_prologue_slowpath()
302 for (i = 0; i < nargs; i++) { in gen_prologue_slowpath()
358 int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, in bpf__gen_prologue() argument
379 if (!nargs) { in bpf__gen_prologue()
390 if (nargs > BPF_PROLOGUE_MAX_ARGS) { in bpf__gen_prologue()
392 nargs - BPF_PROLOGUE_MAX_ARGS); in bpf__gen_prologue()
393 nargs = BPF_PROLOGUE_MAX_ARGS; in bpf__gen_prologue()
[all …]
Dbpf-prologue.h18 int bpf__gen_prologue(struct probe_trace_arg *args, int nargs,
26 int nargs __maybe_unused, in bpf__gen_prologue()
Dprobe-event.c1683 pev->nargs = argc - 1; in parse_perf_probe_command()
1684 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); in parse_perf_probe_command()
1689 for (i = 0; i < pev->nargs && ret >= 0; i++) { in parse_perf_probe_command()
1709 for (i = 0; i < pev->nargs; i++) in perf_probe_with_var()
1834 tev->nargs = argc - 2; in parse_probe_trace_command()
1835 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command()
1840 for (i = 0; i < tev->nargs; i++) { in parse_probe_trace_command()
1958 for (i = 0; i < pev->nargs; i++) { in synthesize_perf_probe_command()
2086 for (i = 0; i < tev->nargs; i++) in synthesize_probe_trace_command()
2190 pev->nargs = tev->nargs; in convert_to_perf_probe_event()
[all …]
Dprobe-event.h56 int nargs; /* Number of args */ member
94 int nargs; /* Number of arguments */ member
Dprobe-finder.c1186 int nargs; member
1203 vf->args[vf->nargs].var = (char *)dwarf_diename(die_mem); in copy_variables_cb()
1204 if (vf->args[vf->nargs].var == NULL) { in copy_variables_cb()
1208 pr_debug(" %s", vf->args[vf->nargs].var); in copy_variables_cb()
1209 vf->nargs++; in copy_variables_cb()
1228 for (i = 0; i < pf->pev->nargs; i++) { in expand_probe_args()
1239 vf.nargs = n; in expand_probe_args()
1243 pr_debug(" (%d)\n", vf.nargs - n); in expand_probe_args()
1246 n = vf.nargs; in expand_probe_args()
1314 tev->nargs = ret; in add_probe_trace_event()
[all …]
Dbpf-loader.c451 err = bpf__gen_prologue(tev->args, tev->nargs, in preproc_gen_prologue()
491 ret = tev2->nargs - tev1->nargs; in compare_tev_args()
495 for (i = 0; i < tev1->nargs; i++) { in compare_tev_args()
595 if (tev->nargs > 0) { in hook_load_preprocessor()
/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c74 void ucall(uint64_t cmd, int nargs, ...) in ucall() argument
82 nargs = nargs <= UCALL_MAX_ARGS ? nargs : UCALL_MAX_ARGS; in ucall()
84 va_start(va, nargs); in ucall()
85 for (i = 0; i < nargs; ++i) in ucall()
/tools/testing/selftests/bpf/
Dtest_btf.h60 #define BTF_FUNC_PROTO_ENC(ret_type, nargs) \ argument
61 BTF_TYPE_ENC(0, BTF_INFO_ENC(BTF_KIND_FUNC_PROTO, 0, nargs), ret_type)
/tools/testing/selftests/tc-testing/
Dtdc.py474 '-D', '--directory', nargs='+', metavar='DIR',
478 '-f', '--file', nargs='+', metavar='FILE',
481 '-c', '--category', nargs='*', metavar='CATG', default=['+c'],
485 '-e', '--execute', nargs='+', metavar='ID',
500 '--format', default='tap', const='tap', nargs='?',
/tools/perf/
Dbuiltin-probe.c76 pr_debug("%d arguments\n", pev->nargs); in parse_probe_event()
263 if (!ret && pev->nargs != 0) { in opt_show_vars()
/tools/testing/selftests/kvm/include/
Dkvm_util.h197 void ucall(uint64_t cmd, int nargs, ...);
/tools/perf/scripts/python/
Dexported-sql-viewer.py3554 ap.add_argument("dbname", nargs="?")