| /linux/tools/testing/selftests/arm64/abi/ |
| H A D | syscall-abi.c | 76 int errors = 0; in check_gpr() local 87 errors++; in check_gpr() 91 return errors; in check_gpr() 109 int errors = 0; in check_fpr() local 119 errors++; in check_fpr() 132 errors++; in check_fpr() 136 return errors; in check_fpr() 156 int errors = 0; in check_z() local 175 errors++; in check_z() 185 errors++; in check_z() [all …]
|
| /linux/drivers/md/bcache/ |
| H A D | io.c | 57 unsigned int errors; in bch_count_backing_io_errors() local 73 errors = atomic_add_return(1, &dc->io_errors); in bch_count_backing_io_errors() 74 if (errors < dc->error_limit) in bch_count_backing_io_errors() 95 unsigned int errors; in bch_count_io_errors() local 109 errors = atomic_read(&ca->io_errors); in bch_count_io_errors() 111 old = errors; in bch_count_io_errors() 112 new = ((uint64_t) errors * 127) / 128; in bch_count_io_errors() 113 errors = atomic_cmpxchg(&ca->io_errors, in bch_count_io_errors() 115 } while (old != errors); in bch_count_io_errors() 121 unsigned int errors = atomic_add_return(1 << IO_ERROR_SHIFT, in bch_count_io_errors() local [all …]
|
| /linux/Documentation/PCI/ |
| H A D | pcieaer-howto.rst | 41 - Gathers the comprehensive error information if errors occurred. 102 large volumes of errors reported. To prevent spammy devices from flooding 104 type (correctable vs. non-fatal uncorrectable). Fatal errors, including 105 DPC errors, are not ratelimited. 116 When PCIe AER errors are captured, the counters / statistics are also exposed 127 PCIe errors are classified into two types: correctable errors 128 and uncorrectable errors. This classification is based on the impact 129 of those errors, which may result in degraded performance or function 132 Correctable errors pose no impacts on the functionality of the 134 intervention or any loss of data. These errors are detected and [all …]
|
| /linux/Documentation/ABI/removed/ |
| H A D | sysfs-mce | 27 0 always panic on uncorrected errors, log corrected errors 28 1 panic or SIGBUS on uncorrected errors, log corrected errors 29 2 SIGBUS or log uncorrected errors, log corrected errors 30 3 never panic or SIGBUS, log all errors (for testing only)
|
| /linux/fs/xfs/ |
| H A D | xfs_dahash_test.c | 648 unsigned int errors = 0; in xfs_dahash_test() local 657 errors++; in xfs_dahash_test() 663 errors++; in xfs_dahash_test() 666 if (errors) { in xfs_dahash_test() 668 errors); in xfs_dahash_test()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-pci-devices-aer | 5 statistical counters indicate the errors "as seen/reported by the device". 8 errors may be "seen" / reported by the link partner and not the 16 Description: List of correctable errors seen and reported by this 17 PCI device using ERR_COR. Note that since multiple errors may 20 total of all the errors in the file. Sample output:: 37 Description: List of uncorrectable fatal errors seen and reported by this 38 PCI device using ERR_FATAL. Note that since multiple errors may 41 total of all the errors in the file. Sample output:: 67 Description: List of uncorrectable nonfatal errors seen and reported by this 68 PCI device using ERR_NONFATAL. Note that since multiple errors [all …]
|
| H A D | sysfs-platform-dfl-fme | 48 What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie0_errors 52 Description: Read-Write. Read this file for errors detected on pcie0 link. 53 Write this file to clear errors logged in pcie0_errors. Write 57 What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie1_errors 61 Description: Read-Write. Read this file for errors detected on pcie1 link. 62 Write this file to clear errors logged in pcie1_errors. Write 66 What: /sys/bus/platform/devices/dfl-fme.0/errors/nonfatal_errors 70 Description: Read-only. It returns non-fatal errors detected. 72 What: /sys/bus/platform/devices/dfl-fme.0/errors/catfatal_errors 76 Description: Read-only. It returns catastrophic and fatal errors detected. [all …]
|
| H A D | sysfs-mce | 8 detected by the CPU. Uncorrected errors typically cause a 45 How often to poll for corrected machine check errors, in 52 0 means no polling for corrected machine check errors 53 (but some corrected errors might be still reported 80 Disables polling and CMCI for corrected errors. 87 Disables logging for corrected errors. 88 All reported corrected errors will be cleared silently. 91 errors.
|
| H A D | sysfs-edac-ecs | 36 (RW) The mode of how the DDR5 ECS counts the errors. 41 bit errors is detected. If the ECS is under Row Count mode, 43 check bit errors is detected. 45 - 0 - ECS counts rows in the memory media that have ECC errors. 47 - 1 - ECS counts codewords with errors, specifically, it counts 48 the number of ECC-detected errors in the memory media.
|
| /linux/Documentation/driver-api/soundwire/ |
| H A D | error_handling.rst | 5 The SoundWire PHY was designed with care and errors on the bus are going to 7 errors. Examples of this design can be found in the synchronization 8 mechanism (sync loss after two errors) and short CRCs used for the Bulk 11 The errors can be detected with multiple mechanisms: 13 1. Bus clash or parity errors: This mechanism relies on low-level detectors 15 and audio data. The current implementation only logs such errors. 17 restarting from a known position. In the case of such errors outside of a 21 and after a number of such errors are detected the bus might be reset. Note 22 that bus clashes due to programming errors (two streams using the same bit 27 not be responsible for the errors so resetting them individually is not a [all …]
|
| /linux/drivers/macintosh/ |
| H A D | windfarm_pid.c | 46 st->errors[i] = error; in wf_pid_run() 53 st->errors[st->index] = error; in wf_pid_run() 58 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run() 62 deriv = st->errors[st->index] - in wf_pid_run() 63 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run() 101 st->errors[i] = error; in wf_cpu_pid_run() 109 st->errors[st->index] = error; in wf_cpu_pid_run() 116 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_cpu_pid_run()
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | sve-ptrace.c | 312 uint32_t *in, uint32_t *out, int *errors) in check_u32() argument 317 (*errors)++; in check_u32() 462 int errors = 0; in ptrace_set_sve_get_sve_data() local 520 errors++; in ptrace_set_sve_get_sve_data() 529 errors++; in ptrace_set_sve_get_sve_data() 534 read_buf + SVE_PT_SVE_FPSR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data() 536 read_buf + SVE_PT_SVE_FPCR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data() 538 ksft_test_result(errors == 0, "Set and get %s data for VL %u\n", in ptrace_set_sve_get_sve_data() 558 int errors = 0; in ptrace_set_sve_get_fpsimd_data() local 614 errors++; in ptrace_set_sve_get_fpsimd_data() [all …]
|
| /linux/tools/perf/scripts/perl/ |
| H A D | rw-by-pid.pl | 36 $reads{$common_pid}{errors}{$ret}++; 58 $writes{$common_pid}{errors}{$ret}++; 102 foreach my $error (keys %{$reads{$pid}{errors}}) { 104 my $errcount = $reads{$pid}{errors}{$error} || 0; 142 foreach my $error (keys %{$writes{$pid}{errors}}) { 144 my $errcount = $writes{$pid}{errors}{$error} || 0;
|
| /linux/tools/testing/selftests/vfio/lib/drivers/ioat/ |
| H A D | ioat.c | 68 u32 errors; in ioat_clear_errors() local 70 errors = vfio_pci_config_readl(device, IOAT_PCI_CHANERR_INT_OFFSET); in ioat_clear_errors() 71 vfio_pci_config_writel(device, IOAT_PCI_CHANERR_INT_OFFSET, errors); in ioat_clear_errors() 73 errors = vfio_pci_config_readl(device, IOAT_PCI_DMAUNCERRSTS_OFFSET); in ioat_clear_errors() 74 vfio_pci_config_writel(device, IOAT_PCI_CHANERR_INT_OFFSET, errors); in ioat_clear_errors() 76 errors = readl(registers + IOAT_CHANERR_OFFSET); in ioat_clear_errors() 77 writel(errors, registers + IOAT_CHANERR_OFFSET); in ioat_clear_errors()
|
| /linux/lib/math/ |
| H A D | test_mul_u64_u64_div_u64.c | 85 int errors = 0; in test_run() local 121 errors++; in test_run() 128 errors++; in test_run() 133 fn_name, tests, errors, ktime_get_ns() - start_time); in test_run() 134 return errors; in test_run()
|
| /linux/drivers/soc/tegra/cbb/ |
| H A D | tegra234-cbb.c | 149 const struct tegra_cbb_error *errors; member 398 cbb->fabric->errors[type].code); in tegra234_cbb_print_error() 415 cbb->fabric->errors[type].code); in tegra234_cbb_print_error() 466 cbb->fabric->errors[cbb->type].code); in print_errlog_err() 523 if (!strcmp(cbb->fabric->errors[cbb->type].code, "TIMEOUT_ERR")) { in print_errlog_err() 896 .errors = tegra234_cbb_errors, 910 .errors = tegra234_cbb_errors, 924 .errors = tegra234_cbb_errors, 939 .errors = tegra234_cbb_errors, 953 .errors = tegra234_cbb_errors, [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | ipvs.sh | 173 local errors= 179 errors=$(( $errors + $? )) 185 errors=$(( $errors + $? )) 191 errors=$(( $errors + $? )) 193 return $errors
|
| /linux/drivers/vdpa/vdpa_sim/ |
| H A D | vdpa_sim_net.c | 45 u64 errors; member 53 u64 errors; member 134 u64 requests = 0, errors = 0, successes = 0; in vdpasim_handle_cvq() local 154 ++errors; in vdpasim_handle_cvq() 169 ++errors; in vdpasim_handle_cvq() 191 net->cq_stats.errors += errors; in vdpasim_handle_cvq() 273 net->tx_stats.errors += tx_errors; in vdpasim_net_work() 280 net->rx_stats.errors += rx_errors; in vdpasim_net_work() 302 rx_errors = net->rx_stats.errors; in vdpasim_net_get_stats() 344 tx_errors = net->tx_stats.errors; in vdpasim_net_get_stats() [all …]
|
| /linux/drivers/usb/ |
| H A D | usb-skeleton.c | 59 int errors; /* the last request tanked */ member 151 res = dev->errors ? (dev->errors == -EPIPE ? -EPIPE : -EIO) : 0; in skel_flush() 152 dev->errors = 0; in skel_flush() 177 dev->errors = urb->status; in skel_read_bulk_callback() 268 rv = dev->errors; in skel_read() 271 dev->errors = 0; in skel_read() 349 dev->errors = urb->status; in skel_write_bulk_callback() 391 retval = dev->errors; in skel_write() 394 dev->errors = 0; in skel_write() 625 dev->errors = -EPIPE; in skel_post_reset()
|
| /linux/tools/testing/selftests/powerpc/mm/ |
| H A D | subpage_prot.c | 35 int errors; variable 80 ++errors; in check_faulted() 119 errors = 0; in run_test() 130 if (errors) { in run_test() 131 printf("%d errors detected\n", errors); in run_test()
|
| /linux/drivers/edac/ |
| H A D | e752x_edac.c | 516 static void do_global_error(int fatal, u32 errors) in do_global_error() argument 521 if (errors & (1 << i)) { in do_global_error() 534 static inline void global_error(int fatal, u32 errors, int *error_found, in global_error() argument 540 do_global_error(fatal, errors); in global_error() 550 static void do_hub_error(int fatal, u8 errors) in do_hub_error() argument 555 if (errors & (1 << i)) in do_hub_error() 561 static inline void hub_error(int fatal, u8 errors, int *error_found, in hub_error() argument 567 do_hub_error(fatal, errors); in hub_error() 607 static void do_nsi_error(int fatal, u32 errors) in do_nsi_error() argument 612 if (errors & (1 << i)) in do_nsi_error() [all …]
|
| /linux/arch/x86/tools/ |
| H A D | insn_sanity.c | 223 int errors = 0; in main() local 247 errors++; in main() 255 fprintf((errors) ? stderr : stdout, in main() 258 (errors) ? "failure" : "success", in main() 261 errors, in main() 264 return errors ? 1 : 0; in main()
|
| /linux/drivers/acpi/apei/ |
| H A D | Kconfig | 15 APEI allows to report errors (for example from the chipset) 29 platform hardware errors (such as that from chipset). It 31 errors are reported to firmware firstly, then reported to 41 PCIe AER errors may be reported via APEI firmware first mode. 53 Memory errors may be reported via APEI firmware first mode. 71 Availability and which errors are supported is dependent on
|
| /linux/Documentation/driver-api/ |
| H A D | hw-recoverable-errors.rst | 11 and log recoverable hardware errors. These are hardware recoverable errors 15 By recording counts and timestamps of recoverable errors into the vmcoreinfo 24 - Facilitates correlation of hardware recoverable errors with kernel panics or 40 - These errors are divided by area, which includes CPU, Memory, PCI, CXL and
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_dsb.c | 621 u32 errors; in dsb_error_int_status() local 623 errors = DSB_GTT_FAULT_INT_STATUS | in dsb_error_int_status() 634 errors |= DSB_ATS_FAULT_INT_STATUS; in dsb_error_int_status() 637 errors |= DSB_GOSUB_INT_STATUS; in dsb_error_int_status() 639 return errors; in dsb_error_int_status() 644 u32 errors; in dsb_error_int_en() local 646 errors = DSB_GTT_FAULT_INT_EN | in dsb_error_int_en() 651 errors |= DSB_ATS_FAULT_INT_EN; in dsb_error_int_en() 658 errors |= DSB_GOSUB_INT_EN; in dsb_error_int_en() 660 return errors; in dsb_error_int_en() [all …]
|