/kernel/linux/linux-5.10/lib/ |
H A D | test_meminit.c | 20 if (failures) \ 22 __func__, failures, num_tests); \ 86 int failures = 0, num_tests = 0; in test_pages() local 90 num_tests += do_alloc_pages_order(i, &failures); in test_pages() 93 *total_failures += failures; in test_pages() 134 int failures = 0, num_tests = 0; in test_kvmalloc() local 139 num_tests += do_kmalloc_size(size, &failures); in test_kvmalloc() 140 num_tests += do_vmalloc_size(size, &failures); in test_kvmalloc() 144 *total_failures += failures; in test_kvmalloc() 351 int failures in test_kmemcache() local 376 int failures = 0, num_tests = 0; test_rcu_persistent() local 394 int failures = 0, num_tests = 0; test_meminit_init() local [all...] |
H A D | test_stackinit.c | 336 unsigned int failures = 0; in test_stackinit_init() local 339 failures += test_u8_ ## init (); \ in test_stackinit_init() 340 failures += test_u16_ ## init (); \ in test_stackinit_init() 341 failures += test_u32_ ## init (); \ in test_stackinit_init() 342 failures += test_u64_ ## init (); \ in test_stackinit_init() 343 failures += test_char_array_ ## init (); \ in test_stackinit_init() 347 failures += test_small_hole_ ## init (); \ in test_stackinit_init() 348 failures += test_big_hole_ ## init (); \ in test_stackinit_init() 349 failures += test_trailing_hole_ ## init (); \ in test_stackinit_init() 350 failures in test_stackinit_init() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_meminit.c | 20 if (failures) \ 22 __func__, failures, num_tests); \ 93 int failures = 0, num_tests = 0; in test_pages() local 97 num_tests += do_alloc_pages_order(i, &failures); in test_pages() 100 *total_failures += failures; in test_pages() 155 int failures = 0, num_tests = 0; in test_kvmalloc() local 160 num_tests += do_kmalloc_size(size, &failures); in test_kvmalloc() 161 num_tests += do_vmalloc_size(size, &failures); in test_kvmalloc() 165 *total_failures += failures; in test_kvmalloc() 380 int failures in test_kmemcache() local 405 int failures = 0, num_tests = 0; test_rcu_persistent() local 423 int failures = 0, num_tests = 0; test_meminit_init() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | tsc_scaling_sync.c | 46 unsigned long failures = 0; in run_vcpu() local 75 failures++; in run_vcpu() 83 return (void *)failures; in run_vcpu() 99 unsigned long failures = 0; in main() local 103 failures += (unsigned long)this_cpu_failures; in main() 106 TEST_ASSERT(!failures, "TSC sync failed"); in main()
|
/kernel/linux/linux-5.10/drivers/ide/ |
H A D | ide-disk_proc.c | 108 ide_devset_rw_field(failures, failures); 118 IDE_PROC_DEVSET(failures, 0, 65535),
|
H A D | ide-eh.c | 250 drive->failures++; in reset_pollfunc() 257 drive->failures = 0; in reset_pollfunc() 260 drive->failures++; in reset_pollfunc()
|
H A D | ide-iops.c | 177 if (drive->max_failures && (drive->failures > drive->max_failures)) { in ide_wait_stat()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_xsk.sh | 194 failures=0 200 failures=1 204 if [ $failures -eq 0 ]; then
|
/kernel/linux/linux-5.10/tools/testing/fault-injection/ |
H A D | failcmd.sh | 5 # failcmd.sh - run a command with injecting slab/page allocation failures 12 # Run command with injecting slab/page allocation failures by fault 31 specifies how many times failures may happen at most. 59 inject slab allocation failures 61 inject page allocation failures
|
/kernel/linux/linux-6.6/tools/testing/fault-injection/ |
H A D | failcmd.sh | 5 # failcmd.sh - run a command with injecting slab/page allocation failures 12 # Run command with injecting slab/page allocation failures by fault 31 specifies how many times failures may happen at most. 59 inject slab allocation failures 61 inject page allocation failures
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | pmu-events.c | 811 int *failures = data; in test__parsing_callback() local 825 (*failures)++; in test__parsing_callback() 847 (*failures)--; in test__parsing_callback() 880 (*failures)--; in test__parsing_callback() 902 int failures = 0; in test__parsing() local 904 pmu_for_each_core_metric(test__parsing_callback, &failures); in test__parsing() 905 pmu_for_each_sys_metric(test__parsing_callback, &failures); in test__parsing() 907 return failures == 0 ? TEST_OK : TEST_FAIL; in test__parsing()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-raid1.c | 62 struct bio_list failures; member 638 if (!ms->failures.head) in write_callback() 640 bio_list_add(&ms->failures, bio); in write_callback() 764 bio_list_merge(&ms->failures, &sync); in do_writes() 777 bio_list_add(&ms->failures, bio); in do_writes() 787 static void do_failures(struct mirror_set *ms, struct bio_list *failures) in do_failures() argument 791 if (likely(!failures->head)) in do_failures() 805 * Some writes on the failures list may have been in do_failures() 811 while ((bio = bio_list_pop(failures))) { in do_failures() 854 struct bio_list reads, writes, failures; in do_mirror() local [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-raid1.c | 67 struct bio_list failures; member 646 if (!ms->failures.head) in write_callback() 648 bio_list_add(&ms->failures, bio); in write_callback() 772 bio_list_merge(&ms->failures, &sync); in do_writes() 785 bio_list_add(&ms->failures, bio); in do_writes() 795 static void do_failures(struct mirror_set *ms, struct bio_list *failures) in do_failures() argument 799 if (likely(!failures->head)) in do_failures() 813 * Some writes on the failures list may have been in do_failures() 819 while ((bio = bio_list_pop(failures))) { in do_failures() 864 struct bio_list reads, writes, failures; in do_mirror() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 368 static void run_mremap_test_case(struct test test_case, int *failures, in run_mremap_test_case() argument 381 *failures += 1; in run_mremap_test_case() 441 int failures = 0; in main() local 462 /* Expected mremap failures */ in main() 521 run_mremap_test_case(test_cases[i], &failures, threshold_mb, in main() 540 run_mremap_test_case(perf_test_cases[i], &failures, in main() 544 if (failures > 0) in main()
|
/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 274 failures = dict() 282 failures[m['Name']] = result 289 if name not in failures: continue 292 del failures[name] 294 failures[name] = val 301 if len(failures.keys()) != 0: 302 faillist = [{'MetricName':name, 'CollectedValue':val} for name, val in failures.items()]
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | rxtimestamp.c | 361 int failures = 0; in main() local 420 failures++; in main() 424 failures++; in main() 427 if (!failures) in main() 429 return failures; in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | rxtimestamp.c | 361 int failures = 0; in main() local 420 failures++; in main() 424 failures++; in main() 427 if (!failures) in main() 429 return failures; in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/ |
H A D | torture.sh | 265 touch $T/failures 301 echo "$curflavor($retcode)" $resdir >> $T/failures 372 echo "allmodconfig($retcode)" $amcdir >> $T/failures 406 echo "rcutasksflavors($retcode)" $rtfdir >> $T/failures 455 echo "srcu_lockdep($retcode)" "tools/testing/selftests/rcutorture/res/$ds/results-srcu-lockdep" >> $T/failures 593 if test -s "$T/failures" 595 awk < "$T/failures" -v sq="'" '{ print "echo " sq $0 sq; print "sed -e " sq "1,/^ --- .* Test summary:$/d" sq " " $2 "/log | grep Summary: | sed -e " sq "s/^[^S]*/ /" sq; }' | sh | tee -a $T/log | tee "$T/failuresum" 596 nfailures="`wc -l "$T/failures" | awk '{ print $1 }'`" 611 tdir="`cat $T/successes $T/failures | head -1 | awk '{ print $NF }' | sed -e 's,/[^/]\+/*$,,'`" 626 echo " All bugs were KCSAN failures [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/sgx/ |
H A D | virt.c | 157 long failures = 0; in sgx_vepc_remove_all() local 164 failures++; in sgx_vepc_remove_all() 168 * WARN, as userspace can induce said failures by in sgx_vepc_remove_all() 185 return failures; in sgx_vepc_remove_all()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/ |
H A D | ether1.c | 447 int failures = 0; in ether1_init_for_open() local 537 failures += 1; in ether1_init_for_open() 554 failures += 1; in ether1_init_for_open() 571 failures += 1; in ether1_init_for_open() 604 if (failures) in ether1_init_for_open() 606 return failures ? 1 : 0; in ether1_init_for_open()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/i825xx/ |
H A D | ether1.c | 447 int failures = 0; in ether1_init_for_open() local 537 failures += 1; in ether1_init_for_open() 554 failures += 1; in ether1_init_for_open() 571 failures += 1; in ether1_init_for_open() 604 if (failures) in ether1_init_for_open() 606 return failures ? 1 : 0; in ether1_init_for_open()
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
H A D | ldt_gdt.c | 534 int failures = 0, iters = 5, i; in do_multicpu_tests() local 608 failures++; in do_multicpu_tests() 618 if (failures) { in do_multicpu_tests() 619 printf("[FAIL]\t%d of %d iterations failed\n", failures, iters); in do_multicpu_tests()
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | ldt_gdt.c | 534 int failures = 0, iters = 5, i; in do_multicpu_tests() local 608 failures++; in do_multicpu_tests() 618 if (failures) { in do_multicpu_tests() 619 printf("[FAIL]\t%d of %d iterations failed\n", failures, iters); in do_multicpu_tests()
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_lib.sh | 68 the other. That will cause spurious failures (or,
|
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_parser.py | 130 # No failures or crashes, looks good! 596 failures = failed_names(test, '') 597 # If there are too many failures, printing them out will just be noisy. 598 if len(failures) > 10: # this is an arbitrary limit 601 return 'Failures: ' + ', '.join(failures) 626 # Summarize failures that might have gone off-screen since we had a lot
|