/linux/tools/testing/selftests/arm64/abi/ |
H A D | syscall-abi.c | 87 errors++; in check_gpr() 119 errors++; in check_fpr() 132 errors++; in check_fpr() 225 errors++; in check_p() 226 if (errors) in check_p() 275 errors++; in check_ffr() 276 if (errors) in check_ffr() 299 errors++; in check_svcr() 305 errors++; in check_svcr() 332 errors++; in check_za() [all …]
|
/linux/lib/ |
H A D | crc32test.c | 667 int errors = 0; in crc32c_test() local 691 errors++; in crc32c_test() 699 if (errors) in crc32c_test() 730 errors++; in crc32c_combine_test() 736 if (errors) in crc32c_combine_test() 747 int errors = 0; in crc32_test() local 774 errors++; in crc32_test() 778 errors++; in crc32_test() 787 if (errors) in crc32_test() 818 errors++; in crc32_combine_test() [all …]
|
/linux/drivers/md/bcache/ |
H A D | io.c | 58 unsigned int errors; in bch_count_backing_io_errors() local 74 errors = atomic_add_return(1, &dc->io_errors); in bch_count_backing_io_errors() 75 if (errors < dc->error_limit) in bch_count_backing_io_errors() 96 unsigned int errors; in bch_count_io_errors() local 110 errors = atomic_read(&ca->io_errors); in bch_count_io_errors() 112 old = errors; in bch_count_io_errors() 113 new = ((uint64_t) errors * 127) / 128; in bch_count_io_errors() 114 errors = atomic_cmpxchg(&ca->io_errors, in bch_count_io_errors() 116 } while (old != errors); in bch_count_io_errors() 124 errors >>= IO_ERROR_SHIFT; in bch_count_io_errors() [all …]
|
/linux/fs/bcachefs/ |
H A D | sb-downgrade.c | 65 const u16 *errors; member 77 .errors = upgrade_##ver##_errors, \ 104 for (const u16 *e = i->errors; in bch2_sb_set_upgrade() 105 e < i->errors + i->nr_errors; in bch2_sb_set_upgrade() 122 .errors = downgrade_##ver##_errors, \ 131 return (void *) &e->errors[le16_to_cpu(e->nr_errors)]; in downgrade_entry_next_c() 137 (void *) &_i->errors[0] <= vstruct_end(&(_d)->field) && \ 154 if ((void *) &i->errors[0] > vstruct_end(&e->field)) in bch2_sb_downgrade_validate() 199 unsigned e = le16_to_cpu(i->errors[j]); in bch2_sb_downgrade_to_text() 235 dst->errors[i] = cpu_to_le16(src->errors[i]); in bch2_sb_downgrade_update() [all …]
|
/linux/Documentation/PCI/ |
H A D | pcieaer-howto.rst | 102 PCIe errors are classified into two types: correctable errors 107 Correctable errors pose no impacts on the functionality of the 112 Unlike correctable errors, uncorrectable 113 errors impact functionality of the interface. Uncorrectable errors 116 errors are further classified into non-fatal errors and fatal errors. 118 but the PCIe link itself is fully functional. Fatal errors, on 134 errors because device specific errors will still get sent directly to 168 Correctable errors 171 Correctable errors pose no impacts on the functionality of 177 Non-correctable (non-fatal and fatal) errors [all …]
|
/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/tools/testing/selftests/bpf/ |
H A D | test_tunnel.sh | 589 errors=$(( $errors + $? )) 593 errors=$(( $errors + $? )) 597 errors=$(( $errors + $? )) 601 errors=$(( $errors + $? )) 605 errors=$(( $errors + $? )) 609 errors=$(( $errors + $? )) 613 errors=$(( $errors + $? )) 617 errors=$(( $errors + $? )) 621 errors=$(( $errors + $? )) 625 errors=$(( $errors + $? )) [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/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-devices-aer_stats | 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-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-platform-dfl-fme | 48 What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie0_errors 53 Write this file to clear errors logged in pcie0_errors. Write 57 What: /sys/bus/platform/devices/dfl-fme.0/errors/pcie1_errors 62 Write this file to clear errors logged in pcie1_errors. Write 70 Description: Read-only. It returns non-fatal errors detected. 78 What: /sys/bus/platform/devices/dfl-fme.0/errors/inject_errors 83 file to inject errors for testing purpose. Write fails with 87 What: /sys/bus/platform/devices/dfl-fme.0/errors/fme_errors 92 Write this file to clear errors logged in fme_errors. Write 96 What: /sys/bus/platform/devices/dfl-fme.0/errors/first_error [all …]
|
/linux/tools/testing/selftests/arm64/fp/ |
H A D | sve-ptrace.c | 266 (*errors)++; in check_u32() 338 int errors = 0; in ptrace_set_sve_get_sve_data() local 396 errors++; in ptrace_set_sve_get_sve_data() 405 errors++; in ptrace_set_sve_get_sve_data() 434 int errors = 0; in ptrace_set_sve_get_fpsimd_data() local 490 errors++; in ptrace_set_sve_get_fpsimd_data() 495 &fpsimd_state.fpsr, &errors); in ptrace_set_sve_get_fpsimd_data() 519 int errors = 0; in ptrace_set_fpsimd_get_sve_data() local 567 errors++; in ptrace_set_fpsimd_get_sve_data() 592 errors++; in ptrace_set_fpsimd_get_sve_data() [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/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/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/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/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/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) 28 platform hardware errors (such as that from chipset). It 30 errors are reported to firmware firstly, then reported to 40 PCIe AER errors may be reported via APEI firmware first mode. 52 Memory errors may be reported via APEI firmware first mode. 70 Availability and which errors are supported is dependent on
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | ipvs.sh | 179 local errors= 185 errors=$(( $errors + $? )) 191 errors=$(( $errors + $? )) 197 errors=$(( $errors + $? )) 199 return $errors
|
/linux/drivers/spi/ |
H A D | spi-rzv2m-csi.c | 108 u32 errors; member 314 if (csi->errors) in rzv2m_csi_wait_for_interrupt() 330 csi->errors |= RX_TIMEOUT_ERROR; in rzv2m_csi_wait_for_rx_ready() 343 csi->errors |= OVERFLOW_ERROR; in rzv2m_csi_irq_handler() 345 csi->errors |= UNDERRUN_ERROR; in rzv2m_csi_irq_handler() 458 csi->errors = 0; in rzv2m_csi_pio_transfer() 517 if (csi->errors) { in rzv2m_csi_pio_transfer() 550 if (csi->errors & UNDERRUN_ERROR) in rzv2m_csi_transfer_one() 552 if (csi->errors & OVERFLOW_ERROR) in rzv2m_csi_transfer_one() 554 if (csi->errors & TX_TIMEOUT_ERROR) in rzv2m_csi_transfer_one() [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/drivers/edac/ |
H A D | e752x_edac.c | 521 if (errors & (1 << i)) { in do_global_error() 540 do_global_error(fatal, errors); in global_error() 555 if (errors & (1 << i)) in do_hub_error() 567 do_hub_error(fatal, errors); in hub_error() 612 if (errors & (1 << i)) in do_nsi_error() 624 do_nsi_error(fatal, errors); in nsi_error() 634 static void do_membuf_error(u8 errors) in do_membuf_error() argument 639 if (errors & (1 << i)) in do_membuf_error() 650 do_membuf_error(errors); in membuf_error() 670 if (errors & (1 << i)) in do_sysbus_error() [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | jr3_pci.c | 115 u16 errors; member 258 u16 errors; in jr3_pci_ai_insn_read() local 261 errors = get_u16(&spriv->sensor->errors); in jr3_pci_ai_insn_read() 263 (errors & (watch_dog | watch_dog2 | sensor_change))) { in jr3_pci_ai_insn_read() 432 int errors; in jr3_pci_poll_subdevice() local 436 errors = get_u16(&sensor->errors); in jr3_pci_poll_subdevice() 438 if (errors != spriv->errors) in jr3_pci_poll_subdevice() 439 spriv->errors = errors; in jr3_pci_poll_subdevice() 442 if (errors & (watch_dog | watch_dog2 | sensor_change)) in jr3_pci_poll_subdevice() 450 if ((errors & (watch_dog | watch_dog2)) || in jr3_pci_poll_subdevice()
|
/linux/drivers/base/test/ |
H A D | test_async_driver_probe.c | 21 static atomic_t warnings, errors, timeout, async_completed; variable 34 atomic_inc(&errors); in test_probe() 247 } else if (!atomic_read(&errors) && !atomic_read(&warnings)) { in test_async_probe_init() 270 atomic_inc(&errors); in test_async_probe_init() 275 atomic_read(&errors), atomic_read(&warnings)); in test_async_probe_init()
|