| /linux/drivers/scsi/ |
| H A D | scsi_lib_test.c | 61 struct scsi_failures failures = { in scsi_lib_test_multiple_sense() local 72 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense() 74 /* Command failed but caller did not pass in a failures array */ in scsi_lib_test_multiple_sense() 79 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense() 82 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense() 85 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense() 88 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense() 91 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense() 94 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense() 97 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense() [all …]
|
| /linux/drivers/android/tests/ |
| H A D | binder_alloc_kunit.c | 169 unsigned long failures = 0; in binder_alloc_test_alloc_buf() local 176 failures++; in binder_alloc_test_alloc_buf() 179 return failures; in binder_alloc_test_alloc_buf() 187 unsigned long failures = 0; in binder_alloc_test_free_buf() local 197 failures++; in binder_alloc_test_free_buf() 201 return failures; in binder_alloc_test_free_buf() 207 unsigned long failures = 0; in binder_alloc_test_free_page() local 221 failures++; in binder_alloc_test_free_page() 225 return failures; in binder_alloc_test_free_page() 236 unsigned long failures; in binder_alloc_test_alloc_free() local [all …]
|
| /linux/tools/testing/selftests/kvm/x86/ |
| 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()
|
| /linux/drivers/scsi/snic/ |
| H A D | snic_stats.h | 17 atomic64_t fail; /* IO Failures */ 19 atomic64_t alloc_fail; /* Alloc Failures */ 36 atomic64_t dev_reset_fail; /* Device Reset Failures */ 42 atomic64_t hba_reset_fail; /* hba/firmware failures */ 45 atomic64_t snic_reset_fail; /* snic reset failures */
|
| /linux/tools/testing/selftests/mm/ |
| H A D | folio_split_race_test.c | 104 atomic_uint_fast64_t *failures; member 114 atomic_uint_fast64_t *failures = ra->failures; in reader_thread() local 133 atomic_fetch_add_explicit(failures, 1, in reader_thread() 136 if (atomic_load_explicit(failures, memory_order_relaxed) > 0) in reader_thread() 152 args[i].failures = &ctl->reader_failures; in create_readers() 221 ksft_print_msg("Child: %" PRIu64 " pages verified, %" PRIu64 " failures\n", in run_iteration()
|
| /linux/tools/testing/cxl/test/ |
| H A D | cxl_translate.c | 252 int failures = 0; in test_random_params() local 277 if (failures++ > 10) { in test_random_params() 278 pr_err("test random too many failures, stop\n"); in test_random_params() 282 pr_info("..... test random: PASS %d FAIL %d\n", i - failures, failures); in test_random_params() 284 if (failures) in test_random_params() 342 int i, rc, failures = 0; in test_cxl_validate_translation_params() local 353 failures++; in test_cxl_validate_translation_params() 356 pr_info("..... test params: PASS %d FAIL %d\n", i - failures, failures); in test_cxl_validate_translation_params() [all...] |
| /linux/drivers/scsi/device_handler/ |
| H A D | scsi_dh_hp_sw.c | 95 struct scsi_failures failures = { in hp_sw_tur() local 100 .failures = &failures, in hp_sw_tur() 149 struct scsi_failures failures = { in hp_sw_start_stop() local 154 .failures = &failures, in hp_sw_start_stop()
|
| /linux/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
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | pp_alloc_fail.py | 5 Test driver resilience vs page pool allocation failures. 95 raise KsftSkipEx("Allocation failures not increasing") 104 # Basic failures are fine, try to wobble some settings to catch extra failures
|
| /linux/tools/perf/ |
| H A D | check-headers.sh | 105 declare -a FAILURES 118 FAILURES+=( 147 FAILURES+=( 157 FAILURES+=( 227 if [ ${#FAILURES[@]} -gt 0 ] 230 for i in "${FAILURES[@]}"
|
| /linux/include/linux/ |
| H A D | hte.h | 122 * non-zero for failures. 124 * non-zero for failures. 126 * non-zero for failures. 128 * non-zero for failures. 155 * physical ids, return 0 for the success and negative for the failures.
|
| /linux/drivers/gpu/drm/xe/tests/ |
| H A D | xe_kunit_helpers.c | 29 * This function uses KUNIT_ASSERT to detect any allocation failures. 67 * This function uses KUNIT_ASSERT to detect any failures. 111 * This function uses KUNIT_ASSERT to detect any failures.
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | torture.sh | 324 touch $T/failures 360 echo "$curflavor($retcode)" $resdir >> $T/failures 453 echo "allmodconfig($retcode)" $amcdir >> $T/failures 487 echo "rcutasksflavors($retcode)" $rtfdir >> $T/failures 564 echo "rcu-rust($retcode)" $rrdir >> $T/failures 581 echo "srcu_lockdep($retcode)" "tools/testing/selftests/rcutorture/res/$ds/results-srcu-lockdep" >> $T/failures 718 echo FAILURES: | tee -a $T/log 719 if test -s "$T/failures" 721 awk < "$T/failures" -v sq="'" ' 729 nfailures="`wc -l "$T/failures" | aw [all...] |
| H A D | kvm-series.sh | 222 # Print lists of successes, build failures, and run failures, if any. 232 echo ${nbuildfail} BUILD FAILURES: | tee -a $T/log 238 echo ${nrunfail} RUN FAILURES: | tee -a $T/log 242 # If there were build or runtime failures, map them to commits. 246 echo Build failures across commits: | tee -a $T/log 254 echo Summary: Successes: ${nsuccess} " "Build Failures: ${nbuildfail} " "Runtime Failures: ${nrunfail}| tee -a $T/log
|
| /linux/tools/testing/selftests/ |
| H A D | run_kselftest.sh | |
| /linux/tools/testing/selftests/net/ |
| H A D | rxtimestamp.c | 379 int failures = 0; in main() local 438 failures++; in main() 442 failures++; in main() 445 if (!failures) in main() 447 return failures; in main()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | README.rst | 15 are propagated to patchwork, where failures are highlighted similar to 120 Additional information about selftest failures are 123 profiler[23] test failures with clang/llvm <12.0.0 162 bpf_iter test failures with clang/llvm 10.0.0 248 old to support them, they shouldn't cause build failures or runtime test 249 failures:
|
| H A D | test_xsk.sh | 232 failures=0 238 failures=1 242 if [ $failures -eq 0 ]; then
|
| /linux/tools/perf/tests/shell/lib/ |
| H A D | perf_metric_validation.py | 307 failures = dict() 315 failures[m['Name']] = result 322 if name not in failures: 326 del failures[name] 328 failures[name] = [val] 333 if len(failures.keys()) != 0: 335 rule['RangeLower'], rule['RangeUpper']) for name, val in failures.items()])
|
| /linux/drivers/watchdog/ |
| H A D | wdrtas.c | 65 * returns 0 on success, <0 on failures 177 * returns temperature or <0 on failures 351 * other failures 400 * returns always 1 or -EFAULT in case of user space copy failures, <0 on 401 * other failures
|
| /linux/tools/testing/selftests/kselftest_harness/ |
| H A D | harness-selftest.c | 164 * The harness uses abort() to signal assertion failures, which triggers coredumps. 165 * This may be useful to debug real failures but not for this selftest, disable them.
|
| /linux/drivers/firmware/arm_scmi/ |
| H A D | Kconfig | 66 or received, were there any failures, what kind of failures, ..etc.
|
| /linux/tools/perf/tests/ |
| H A D | pmu-events.c | 847 int *failures = data; in test__parsing_callback() 858 (*failures)++; in test__parsing_callback() 881 (*failures)--; in test__parsing_callback() 913 (*failures)--; in test__parsing() 933 int failures = 0; in metric_parse_fake() 940 pmu_metrics_table__for_each_metric(table, test__parsing_callback, &failures); in metric_parse_fake() 942 pmu_for_each_core_metric(test__parsing_callback, &failures); in metric_parse_fake() 943 pmu_for_each_sys_metric(test__parsing_callback, &failures); in metric_parse_fake() 946 return failures == 0 ? TEST_OK : TEST_FAIL; in metric_parse_fake() 824 int *failures = data; test__parsing_callback() local 909 int failures = 0; test__parsing() local
|
| /linux/drivers/nvdimm/ |
| H A D | dimm.c | 67 * EACCES failures reading the namespace label-area-properties in nvdimm_probe() 85 * EACCES failures reading the namespace label-data are in nvdimm_probe()
|
| /linux/Documentation/power/ |
| H A D | basic-pm-debugging.rst | 191 That test can be used to check if failures to resume from hibernation are 194 unreliable, the platform firmware may be responsible for the failures. 199 kernel address space randomization, it also can be used to check if failures 258 failures:
|