| /tools/testing/selftests/sync/ |
| A D | sync_alloc.c | 34 int timeline, valid; in test_alloc_timeline() local 37 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_timeline() 38 ASSERT(valid, "Failure allocating timeline\n"); in test_alloc_timeline() 46 int timeline, fence, valid; in test_alloc_fence() local 49 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_fence() 50 ASSERT(valid, "Failure allocating timeline\n"); in test_alloc_fence() 53 valid = sw_sync_fence_is_valid(fence); in test_alloc_fence() 54 ASSERT(valid, "Failure allocating fence\n"); in test_alloc_fence()
|
| A D | sync_merge.c | 34 int fence, valid, merged; in test_fence_merge_same_fence() local 37 valid = sw_sync_timeline_is_valid(timeline); in test_fence_merge_same_fence() 38 ASSERT(valid, "Failure allocating timeline\n"); in test_fence_merge_same_fence() 41 valid = sw_sync_fence_is_valid(fence); in test_fence_merge_same_fence() 42 ASSERT(valid, "Failure allocating fence\n"); in test_fence_merge_same_fence() 45 valid = sw_sync_fence_is_valid(fence); in test_fence_merge_same_fence() 46 ASSERT(valid, "Failure merging fence\n"); in test_fence_merge_same_fence()
|
| A D | sync_fence.c | 34 int fence, valid, ret; in test_fence_one_timeline_wait() local 37 valid = sw_sync_timeline_is_valid(timeline); in test_fence_one_timeline_wait() 38 ASSERT(valid, "Failure allocating timeline\n"); in test_fence_one_timeline_wait() 41 valid = sw_sync_fence_is_valid(fence); in test_fence_one_timeline_wait() 42 ASSERT(valid, "Failure allocating fence\n"); in test_fence_one_timeline_wait() 78 int a, b, c, d, valid; in test_fence_one_timeline_merge() local 86 valid = sw_sync_fence_is_valid(a) && in test_fence_one_timeline_merge() 89 ASSERT(valid, "Failure allocating fences\n"); in test_fence_one_timeline_merge() 93 valid = sw_sync_fence_is_valid(d); in test_fence_one_timeline_merge() 94 ASSERT(valid, "Failure merging fences\n"); in test_fence_one_timeline_merge()
|
| A D | sync_stress_parallelism.c | 45 int fence, valid, ret, i; in test_stress_two_threads_shared_timeline_thread() local 50 valid = sw_sync_fence_is_valid(fence); in test_stress_two_threads_shared_timeline_thread() 51 ASSERT(valid, "Failure allocating fence\n"); in test_stress_two_threads_shared_timeline_thread() 78 int valid; in test_stress_two_threads_shared_timeline() local 81 valid = sw_sync_timeline_is_valid(timeline); in test_stress_two_threads_shared_timeline() 82 ASSERT(valid, "Failure allocating timeline\n"); in test_stress_two_threads_shared_timeline()
|
| A D | sync_stress_merge.c | 43 int fence, tmpfence, merged, valid; in test_merge_stress_random_merge() local 52 valid = sw_sync_fence_is_valid(fence); in test_merge_stress_random_merge() 53 ASSERT(valid, "Failure creating fence\n"); in test_merge_stress_random_merge() 81 valid = sw_sync_fence_is_valid(merged); in test_merge_stress_random_merge() 82 ASSERT(valid, "Failure creating fence i\n"); in test_merge_stress_random_merge()
|
| A D | sync_stress_consumer.c | 66 int fence, valid, i; in mpsc_producer_thread() local 73 valid = sw_sync_fence_is_valid(fence); in mpsc_producer_thread() 74 ASSERT(valid, "Failure creating fence\n"); in mpsc_producer_thread() 108 int fence, merged, tmp, valid, it, i; in mpcs_consumer_thread() local 125 valid = sw_sync_fence_is_valid(fence); in mpcs_consumer_thread() 126 ASSERT(valid, "Failure merging fences\n"); in mpcs_consumer_thread()
|
| A D | sync_wait.c | 36 int valid, active, signaled, ret; in test_fence_multi_timeline_wait() local 49 valid = sw_sync_fence_is_valid(merged); in test_fence_multi_timeline_wait() 50 ASSERT(valid, "Failure merging fence from various timelines\n"); in test_fence_multi_timeline_wait()
|
| /tools/testing/selftests/bpf/progs/ |
| A D | test_core_reloc_kernel.c | 20 int valid[10]; member 67 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel() 70 out->valid[1] = BPF_CORE_READ(task, in test_core_kernel() 72 out->valid[2] = BPF_CORE_READ(task, in test_core_kernel() 75 out->valid[3] = BPF_CORE_READ(task, in test_core_kernel() 78 out->valid[4] = BPF_CORE_READ(task, in test_core_kernel() 81 out->valid[5] = BPF_CORE_READ(task, in test_core_kernel() 85 out->valid[6] = BPF_CORE_READ(task, in test_core_kernel() 89 out->valid[7] = BPF_CORE_READ(task, in test_core_kernel() 93 out->valid[8] = BPF_CORE_READ(task, in test_core_kernel() [all …]
|
| A D | test_perf_branches.c | 10 int valid = 0; variable 45 valid = 1; in perf_branches()
|
| /tools/testing/selftests/kvm/x86/ |
| A D | hwcr_msr_test.c | 14 const uint64_t valid = BIT_ULL(18) | BIT_ULL(24); in test_hwcr_bit() local 15 const uint64_t legal = ignored | valid; in test_hwcr_bit() 26 TEST_ASSERT(actual == (val & valid), in test_hwcr_bit() 28 bit, actual, (val & valid)); in test_hwcr_bit()
|
| /tools/testing/selftests/mm/ |
| A D | test_vmalloc.sh | 127 valid=0 131 valid=1 136 if [[ $valid -ne 1 ]]; then
|
| A D | test_page_frag.sh | 122 valid=0 126 valid=1 131 if [[ $valid -ne 1 ]]; then
|
| /tools/perf/arch/x86/tests/ |
| A D | amd-ibs-via-core-pmu.c | 15 bool valid; member 55 if ((sub_tests[i].valid && fd == -1) || in test__amd_ibs_via_core_pmu() 56 (!sub_tests[i].valid && fd > 0)) { in test__amd_ibs_via_core_pmu()
|
| /tools/testing/selftests/kvm/include/arm64/ |
| A D | gic_v3_its.h | 13 size_t itt_size, bool valid); 14 void its_send_mapc_cmd(void *cmdq_base, u32 vcpu_id, u32 collection_id, bool valid);
|
| /tools/testing/selftests/x86/ |
| A D | xstate.c | 57 bool valid; member 125 finfo->valid = true; in check_xstate() 135 if (finfo->valid) { in check_xstate() 136 finfo->valid = validate_xregs_same(xbuf); in check_xstate() 183 bool valid = true; in checkout_threads() local 196 valid &= finfo[i].valid; in checkout_threads() 199 return valid; in checkout_threads()
|
| A D | sigreturn.c | 317 uint32_t valid = 0, ar; in cs_bitness() local 322 : [ar] "=r" (ar), [valid] "+rm" (valid) in cs_bitness() 325 if (!valid) in cs_bitness() 350 uint32_t valid = 0, ar; in is_valid_ss() local 355 : [ar] "=r" (ar), [valid] "+rm" (valid) in is_valid_ss() 358 if (!valid) in is_valid_ss()
|
| /tools/testing/selftests/kvm/lib/arm64/ |
| A D | gic_v3_its.c | 151 static void its_encode_valid(struct its_cmd_block *cmd, int valid) in its_encode_valid() argument 153 its_mask_encode(&cmd->raw_cmd[2], !!valid, 63, 63); in its_encode_valid() 201 size_t itt_size, bool valid) in its_send_mapd_cmd() argument 209 its_encode_valid(&cmd, valid); in its_send_mapd_cmd() 214 void its_send_mapc_cmd(void *cmdq_base, u32 vcpu_id, u32 collection_id, bool valid) in its_send_mapc_cmd() argument 221 its_encode_valid(&cmd, valid); in its_send_mapc_cmd()
|
| /tools/testing/selftests/power_supply/ |
| A D | helpers.sh | 118 valid=0 124 valid=1 128 if [ "$valid" -eq 1 ]; then
|
| /tools/perf/tests/ |
| A D | parse-events.c | 1863 bool (*valid)(void); member 2257 .valid = test__pmu_cpu_valid, 2263 .valid = test__pmu_cpu_valid, 2269 .valid = test__pmu_cpu_valid, 2291 .valid = test__pmu_cpu_valid, 2297 .valid = test__pmu_cpu_valid, 2303 .valid = test__pmu_cpu_valid, 2309 .valid = test__pmu_cpu_valid, 2315 .valid = test__pmu_cpu_valid, 2321 .valid = test__pmu_cpu_valid, [all …]
|
| /tools/testing/selftests/vDSO/ |
| A D | parse_vdso.c | 48 bool valid; member 101 vdso_info.valid = false; in vdso_init_from_sysinfo_ehdr() 199 vdso_info.valid = true; in vdso_init_from_sysinfo_ehdr() 263 if (!vdso_info.valid) in vdso_sym()
|
| /tools/testing/selftests/timers/ |
| A D | .gitignore | 19 valid-adjtimex
|
| A D | Makefile | 10 DESTRUCTIVE_TESTS = alarmtimer-suspend valid-adjtimex adjtick change_skew \
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | perf_branches.c | 18 if (CHECK(!skel->bss->valid, "output not valid", in check_good_sample() 48 if (CHECK(!skel->bss->valid, "output not valid", in check_bad_sample()
|
| /tools/testing/selftests/bpf/ |
| A D | xskxceiver.c | 828 if (!pkt->valid) in pkt_get_addr() 879 if (frame->valid) in __pkt_stream_generate_custom() 886 pkt->valid = frame->valid; in __pkt_stream_generate_custom() 898 if (pkt->valid) in __pkt_stream_generate_custom() 1436 if (pkt->valid) in __send_pkts() 2209 pkts[12].valid = true; in testapp_invalid_desc_mb() 2210 pkts[13].valid = true; in testapp_invalid_desc_mb() 2246 pkts[7].valid = true; in testapp_invalid_desc() 2250 pkts[8].valid = false; in testapp_invalid_desc() 2359 pkts[0].valid = true; in testapp_too_many_frags() [all …]
|
| /tools/perf/Documentation/ |
| A D | perf-dlfilter.txt | 48 perf_dlfilter_fns are not valid when called from 'start'. 53 for calls to perf_dlfilter_fns, but most perf_dlfilter_fns are not valid 67 Do not assume the 'sample' argument is valid (dereferenceable) 71 is valid (dereferenceable) after 'filter_event' and 'filter_event_early' return. 185 Do not assume pointers obtained via perf_dlfilter_fns are valid (dereferenceable) 207 __u8 is_64_bit; /* Only valid if dso is not NULL */ 219 is valid (dereferenceable) after 'filter_event' and 'filter_event_early' return.
|