| /tools/testing/selftests/powerpc/ptrace/ |
| A D | ptrace-gpr.h | 23 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 D | cache_shape.c | 55 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 D | enq_select_cpu.bpf.c | 25 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 D | keep-tracking.c | 37 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 D | tool_pmu.c | 15 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 D | find-map.c | 6 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 D | vdso.c | 32 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 D | mock_acpi.c | 13 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 D | check_all_patterns_found.pl | 9 %found = (); 20 $found{$r} = 1; # FIXME: maybe add counters -- how many times was the regexp matched 27 unless (exists $found{$r})
|
| A D | check_no_patterns_found.pl | 9 %found = (); 20 $found{$r} = 1; 27 if (exists $found{$r})
|
| /tools/usb/ffs-aio-example/multibuff/host_app/ |
| A D | test.c | 49 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 D | test.c | 49 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 D | trace_vprintk.c | 20 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 D | trace_printk.c | 20 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 D | get_stack_raw_tp.c | 39 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 D | resolve_btfids.c | 147 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 D | record+probe_libc_inet_pton.sh | 76 found=0 84 found=$? 85 [ $found -eq 1 ] && break 88 if [ $found -ne 1 ] ; then
|
| /tools/testing/selftests/hid/ |
| A D | hid_common.h | 320 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 D | testcases.h | 99 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 D | usbip_detach.c | 39 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 D | dmabuf_iter.c | 70 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 D | perf-archive.txt | 6 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 D | tracelog.c | 69 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 D | governor.sh | 90 local found=$(cat $filepath | grep $2 | wc -l) 91 if [ $found = 0 ]; then
|
| /tools/perf/arch/ |
| A D | common.c | 106 bool found = false; in lookup_path() local 122 found = true; in lookup_path() 128 return found; in lookup_path()
|