/tools/testing/selftests/kvm/lib/x86_64/ |
D | ucall.c | 19 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/ |
D | ucall.c | 17 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/ |
D | bpf-prologue.c | 184 struct probe_trace_arg *args, int nargs) in gen_prologue_fastpath() argument 188 for (i = 0; i < nargs; i++) { in gen_prologue_fastpath() 243 struct probe_trace_arg *args, int nargs) in gen_prologue_slowpath() argument 247 for (i = 0; i < nargs; i++) { in gen_prologue_slowpath() 308 for (i = 0; i < nargs; i++) { in gen_prologue_slowpath() 364 int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, in bpf__gen_prologue() argument 385 if (!nargs) { in bpf__gen_prologue() 396 if (nargs > BPF_PROLOGUE_MAX_ARGS) { in bpf__gen_prologue() 398 nargs - BPF_PROLOGUE_MAX_ARGS); in bpf__gen_prologue() 399 nargs = BPF_PROLOGUE_MAX_ARGS; in bpf__gen_prologue() [all …]
|
D | bpf-prologue.h | 18 int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, 26 int nargs __maybe_unused, in bpf__gen_prologue()
|
D | probe-event.h | 59 int nargs; /* Number of args */ member 97 int nargs; /* Number of arguments */ member
|
D | probe-event.c | 1770 pev->nargs = argc - 1; in parse_perf_probe_command() 1771 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); in parse_perf_probe_command() 1776 for (i = 0; i < pev->nargs && ret >= 0; i++) { in parse_perf_probe_command() 1796 for (i = 0; i < pev->nargs; i++) in perf_probe_with_var() 1920 tev->nargs = argc - 2; in parse_probe_trace_command() 1921 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command() 1926 for (i = 0; i < tev->nargs; i++) { in parse_probe_trace_command() 2044 for (i = 0; i < pev->nargs; i++) { in synthesize_perf_probe_command() 2175 for (i = 0; i < tev->nargs; i++) in synthesize_probe_trace_command() 2279 pev->nargs = tev->nargs; in convert_to_perf_probe_event() [all …]
|
D | probe-finder.c | 1266 int nargs; member 1283 vf->args[vf->nargs].var = (char *)dwarf_diename(die_mem); in copy_variables_cb() 1284 if (vf->args[vf->nargs].var == NULL) { in copy_variables_cb() 1288 pr_debug(" %s", vf->args[vf->nargs].var); in copy_variables_cb() 1289 vf->nargs++; in copy_variables_cb() 1308 for (i = 0; i < pf->pev->nargs; i++) { in expand_probe_args() 1319 vf.nargs = n; in expand_probe_args() 1323 pr_debug(" (%d)\n", vf.nargs - n); in expand_probe_args() 1326 n = vf.nargs; in expand_probe_args() 1394 tev->nargs = ret; in add_probe_trace_event() [all …]
|
D | bpf-loader.c | 446 err = bpf__gen_prologue(tev->args, tev->nargs, in preproc_gen_prologue() 483 ret = tev2->nargs - tev1->nargs; in compare_tev_args() 487 for (i = 0; i < tev1->nargs; i++) { in compare_tev_args() 587 if (tev->nargs > 0) { in hook_load_preprocessor()
|
/tools/testing/selftests/kvm/lib/aarch64/ |
D | ucall.c | 74 void ucall(uint64_t cmd, int nargs, ...) in ucall() argument 81 nargs = nargs <= UCALL_MAX_ARGS ? nargs : UCALL_MAX_ARGS; in ucall() 83 va_start(va, nargs); in ucall() 84 for (i = 0; i < nargs; ++i) in ucall()
|
/tools/testing/selftests/powerpc/syscalls/ |
D | rtas_filter.c | 41 __be32 nargs; member 169 static int rtas_call(const char *name, int nargs, in rtas_call() argument 188 args.nargs = cpu_to_be32(nargs); in rtas_call() 191 for (i = 0; i < nargs; i++) in rtas_call() 204 *(rets[0]) = be32_to_cpu(args.args[nargs]); in rtas_call() 207 *(rets[i]) = args.args[nargs + i]; in rtas_call()
|
/tools/testing/selftests/bpf/ |
D | test_btf.h | 60 #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/ |
D | tdc.py | 474 '-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/testing/kunit/ |
D | kunit.py | 205 nargs='?', 247 type=str, nargs='?', metavar='input_file')
|
/tools/perf/ |
D | builtin-probe.c | 76 pr_debug("%d arguments\n", pev->nargs); in parse_probe_event() 263 if (!ret && pev->nargs != 0) { in opt_show_vars()
|
/tools/hv/ |
D | vmbus_testing | 321 parser_delay.add_argument("-t", "--delay_time", metavar = "", nargs = 2,
|
/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 319 void ucall(uint64_t cmd, int nargs, ...);
|
/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 5074 ap.add_argument("dbname", nargs="?")
|