Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 151) sorted by relevance

1234567

/tools/testing/selftests/powerpc/ptrace/
A Dptrace-gpr.h23 int i, found = 1; in validate_gpr() local
29 found = 0; in validate_gpr()
33 if (!found) in validate_gpr()
41 int i, found = 1; in validate_fpr() local
46 found = 0; in validate_fpr()
50 if (!found) in validate_fpr()
58 int i, found = 1; in validate_fpr_double() local
63 found = 0; in validate_fpr_double()
67 if (!found) in validate_fpr_double()
/tools/testing/selftests/powerpc/cache_shape/
A Dcache_shape.c55 int found; in test_cache_shape() local
59 found = 0; in test_cache_shape()
63 found++; in test_cache_shape()
69 found++; in test_cache_shape()
75 found++; in test_cache_shape()
81 found++; in test_cache_shape()
87 found++; in test_cache_shape()
93 found++; in test_cache_shape()
99 found++; in test_cache_shape()
105 found++; in test_cache_shape()
[all …]
/tools/testing/selftests/sched_ext/
A Denq_select_cpu.bpf.c25 bool found = false; in BPF_STRUCT_OPS() local
27 cpu = scx_bpf_select_cpu_dfl(p, prev_cpu, 0, &found); in BPF_STRUCT_OPS()
28 if (found) { in BPF_STRUCT_OPS()
49 bool found = false; in select_cpu_from_user() local
57 cpu = scx_bpf_select_cpu_dfl(p, bpf_get_smp_processor_id(), 0, &found); in select_cpu_from_user()
58 if (!found) in select_cpu_from_user()
/tools/perf/tests/
A Dkeep-tracking.c37 int i, found; in find_comm() local
39 found = 0; in find_comm()
49 found += 1; in find_comm()
54 return found; in find_comm()
78 int found, err = -1; in test__keep_tracking() local
123 found = find_comm(evlist, comm); in test__keep_tracking()
124 if (found != 1) { in test__keep_tracking()
145 found = find_comm(evlist, comm); in test__keep_tracking()
146 if (found != 1) { in test__keep_tracking()
A Dtool_pmu.c15 bool found = false; in do_test() local
58 found = true; in do_test()
62 if (!found && tool_pmu__event_to_str(ev)) { in do_test()
/tools/perf/util/
A Dfind-map.c6 int found = 0; in find_map() local
14 while (!found && fgets(line, sizeof(line), maps)) { in find_map()
25 found = 1; in find_map()
29 return !found; in find_map()
A Dvdso.c32 bool found; member
79 if (vdso_file->found) in get_file()
103 vdso_file->found = (vdso != NULL); in get_file()
104 vdso_file->error = !vdso_file->found; in get_file()
115 if (vdso_info->vdso.found) in machine__exit_vdso()
118 if (vdso_info->vdso32.found) in machine__exit_vdso()
120 if (vdso_info->vdsox32.found) in machine__exit_vdso()
228 if (vdso_file->found) in vdso__get_compat_file()
242 vdso_file->found = true; in vdso__get_compat_file()
/tools/testing/cxl/
A Dmock_acpi.c13 struct acpi_device *adev, *found = NULL; in to_cxl_host_bridge() local
17 found = ACPI_COMPANION(dev); in to_cxl_host_bridge()
29 found = adev; in to_cxl_host_bridge()
34 return found; in to_cxl_host_bridge()
/tools/perf/tests/shell/common/
A Dcheck_all_patterns_found.pl9 %found = ();
20 $found{$r} = 1; # FIXME: maybe add counters -- how many times was the regexp matched
27 unless (exists $found{$r})
A Dcheck_no_patterns_found.pl9 %found = ();
20 $found{$r} = 1;
27 if (exists $found{$r})
/tools/usb/ffs-aio-example/multibuff/host_app/
A Dtest.c49 libusb_device *found; member
65 state->found = NULL; in test_init()
92 state->found = dev; in test_init()
97 if (!state->found) { in test_init()
102 ret = libusb_open(state->found, &state->handle); in test_init()
164 libusb_get_config_descriptor(state.found, 0, &conf); in main()
/tools/usb/ffs-aio-example/simple/host_app/
A Dtest.c49 libusb_device *found; member
65 state->found = NULL; in test_init()
92 state->found = dev; in test_init()
97 if (!state->found) { in test_init()
102 ret = libusb_open(state->found, &state->handle); in test_init()
164 libusb_get_config_descriptor(state.found, 0, &conf); in main()
/tools/testing/selftests/bpf/prog_tests/
A Dtrace_vprintk.c20 int err = 0, found = 0; in serial_test_trace_vprintk() local
43 ASSERT_OK(read_trace_pipe_iter(trace_pipe_cb, &found, 1000), in serial_test_trace_vprintk()
46 if (!ASSERT_EQ(found, bss->trace_vprintk_ran, "found")) in serial_test_trace_vprintk()
A Dtrace_printk.c20 int err = 0, found = 0; in serial_test_trace_printk() local
50 ASSERT_OK(read_trace_pipe_iter(trace_pipe_cb, &found, 1000), in serial_test_trace_printk()
53 if (!ASSERT_EQ(found, bss->trace_printk_ran, "found")) in serial_test_trace_printk()
A Dget_stack_raw_tp.c39 bool found = false; in get_stack_print_output() local
48 found = num_stack > 0; in get_stack_print_output()
53 found = true; in get_stack_print_output()
58 if (found) { in get_stack_print_output()
A Dresolve_btfids.c147 bool found = false; in test_resolve_btfids() local
152 found = true; in test_resolve_btfids()
156 ret = CHECK(!found, "id_check", in test_resolve_btfids()
/tools/perf/tests/shell/
A Drecord+probe_libc_inet_pton.sh76 found=0
84 found=$?
85 [ $found -eq 1 ] && break
88 if [ $found -ne 1 ] ; then
/tools/testing/selftests/hid/
A Dhid_common.h320 bool found = false; in match_sysfs_device() local
338 found = true; in match_sysfs_device()
342 return found; in match_sysfs_device()
351 int found = -1, attempts = 3; in get_hid_id() local
355 while (found < 0 && attempts > 0) { in get_hid_id()
364 found = (int)strtol(str_id, NULL, 16); in get_hid_id()
370 if (found < 0) in get_hid_id()
374 return found; in get_hid_id()
383 int i, found = -1; in get_hidraw() local
412 if (found > 0) in get_hidraw()
[all …]
/tools/testing/selftests/arm64/signal/testcases/
A Dtestcases.h99 struct _aarch64_ctx *found = NULL; in get_header() local
102 return found; in get_header()
110 found = head; in get_header()
115 return found; in get_header()
/tools/usb/usbip/src/
A Dusbip_detach.c39 int found = 0; in detach_port() local
62 found = 1; in detach_port()
70 if (!found) { in detach_port()
/tools/testing/selftests/bpf/progs/
A Ddmabuf_iter.c70 bool *found; in iter_dmabuf_for_each() local
92 found = bpf_map_lookup_elem(&testbuf_hash, name); in iter_dmabuf_for_each()
93 if (found) { in iter_dmabuf_for_each()
/tools/perf/Documentation/
A Dperf-archive.txt6 perf-archive - Create archive with object files with build-ids found in perf.data file
16 buildids found so that analysis of perf.data contents can be possible on another
/tools/bpf/bpftool/
A Dtracelog.c69 bool found = false; in get_tracefs_pipe() local
85 found = true; in get_tracefs_pipe()
91 if (found && validate_tracefs_mnt(mnt, TRACEFS_MAGIC)) in get_tracefs_pipe()
/tools/testing/selftests/cpufreq/
A Dgovernor.sh90 local found=$(cat $filepath | grep $2 | wc -l)
91 if [ $found = 0 ]; then
/tools/perf/arch/
A Dcommon.c106 bool found = false; in lookup_path() local
122 found = true; in lookup_path()
128 return found; in lookup_path()

Completed in 30 milliseconds

1234567