/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() 216 int errors = 0; check_p() local 262 int errors = 0; check_ffr() local 294 int errors = 0; check_svcr() local 325 int errors = 0; check_za() local 351 int errors = 0; check_zt() local 396 int errors = 0; do_test() local [all...] |
/linux/drivers/md/bcache/ |
H A D | io.c | 55 /* IO errors */ 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 102 * successfully do so, we rescale the errors once: in bch_count_io_errors() 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 in bch_count_io_errors() 122 unsigned int errors = atomic_add_return(1 << IO_ERROR_SHIFT, bch_count_io_errors() local [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/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/bcachefs/ |
H A D | sb-downgrade.c | 12 #include "sb-errors.h" 18 * Upgrade, downgrade tables - run certain recovery passes, fix certain errors 20 * x(version, recovery_passes, errors...) 161 const u16 *errors; member 173 .errors = upgrade_##ver##_errors, \ 234 for (const u16 *e = i->errors; e < i->errors + i->nr_errors; e++) in bch2_sb_set_upgrade() 248 .errors = downgrade_##ver##_errors, \ 258 unsigned bytes = sizeof(*dst) + sizeof(dst->errors[0]) * le16_to_cpu(dst->nr_errors); in downgrade_table_extra() 266 bytes += sizeof(dst->errors[ in downgrade_table_extra() [all...] |
/linux/tools/testing/selftests/arm64/fp/ |
H A D | sve-ptrace.c | 264 uint32_t *in, uint32_t *out, int *errors) in check_u32() argument 269 (*errors)++; in check_u32() 343 int errors = 0; in ptrace_set_sve_get_sve_data() local 401 errors++; in ptrace_set_sve_get_sve_data() 410 errors++; in ptrace_set_sve_get_sve_data() 415 read_buf + SVE_PT_SVE_FPSR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data() 417 read_buf + SVE_PT_SVE_FPCR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data() 419 ksft_test_result(errors == 0, "Set and get %s data for VL %u\n", in ptrace_set_sve_get_sve_data() 439 int errors = 0; in ptrace_set_sve_get_fpsimd_data() local 495 errors in ptrace_set_sve_get_fpsimd_data() 524 int errors = 0; ptrace_set_fpsimd_get_sve_data() local [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/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-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 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 detecte [all...] |
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.
|
H A D | sysfs-driver-qaic | 5 Description: Number of correctable errors received from device since driver is loaded. 11 Description: Number of uncorrectable errors received from device since driver is loaded. 17 Description: Number of uncorrectable non-fatal errors received from device since driver
|
/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 s [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}++; 95 printf("%6s %20s %6s %10s\n", "pid", "comm", "error #", "# errors"); 102 foreach my $error (keys %{$reads{$pid}{errors}}) { 104 my $errcount = $reads{$pid}{errors}{$error} || 0; 135 printf("%6s %20s %6s %10s\n", "pid", "comm", "error #", "# errors"); 142 foreach my $error (keys %{$writes{$pid}{errors}}) { 144 my $errcount = $writes{$pid}{errors}{$error} || 0;
|
/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/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 | 204 /* Check errors */ in parse_args() 223 int errors = 0; in main() local 247 errors++; in main() 255 fprintf((errors) ? stderr : stdout, in main() 256 " %s: %s: Decoded and checked %d %s instructions with %d errors (seed:0x%x)\n", 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/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() [all...] |
/linux/drivers/soc/tegra/cbb/ |
H A D | tegra234-cbb.c | 149 const struct tegra_cbb_error *errors; member 387 tegra_cbb_print_err(file, "\t Multiple type of errors reported\n"); in tegra234_cbb_print_error() 398 cbb->fabric->errors[type].code); in tegra234_cbb_print_error() 415 cbb->fabric->errors[type].code); in tegra234_cbb_print_error() 439 * errors only if initiator_id is CCPLEX, CPMU or GPU. in print_errlog_err() 466 cbb->fabric->errors[cbb->type].code); in print_errlog_err() 519 * means that address lookup of target is supported for Timeout errors. in print_errlog_err() 523 if (!strcmp(cbb->fabric->errors[cbb->type].code, "TIMEOUT_ERR")) { in print_errlog_err() 651 * Handler for CBB errors 695 * Register handler for CBB_SECURE interrupt for reporting errors [all...] |
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dsb.c | 638 u32 errors; in dsb_error_int_status() local 640 errors = DSB_GTT_FAULT_INT_STATUS | in dsb_error_int_status() 651 errors |= DSB_ATS_FAULT_INT_STATUS; in dsb_error_int_status() 654 errors |= DSB_GOSUB_INT_STATUS; in dsb_error_int_status() 656 return errors; in dsb_error_int_status() 661 u32 errors; in dsb_error_int_en() local 663 errors = DSB_GTT_FAULT_INT_EN | in dsb_error_int_en() 668 errors |= DSB_ATS_FAULT_INT_EN; in dsb_error_int_en() 675 errors |= DSB_GOSUB_INT_EN; in dsb_error_int_en() 677 return errors; in dsb_error_int_en() 984 u32 tmp, errors; intel_dsb_irq_handler() local [all...] |
/linux/drivers/usb/ |
H A D | usb-skeleton.c | 59 int errors; /* the last request tanked */ member 61 spinlock_t err_lock; /* lock for errors */ 149 /* read out errors, leave subsequent opens a clean slate */ in skel_flush() 151 res = dev->errors ? (dev->errors == -EPIPE ? -EPIPE : -EIO) : 0; in skel_flush() 152 dev->errors = 0; in skel_flush() 168 /* sync/async unlink faults aren't errors */ in skel_read_bulk_callback() 177 dev->errors = urb->status; in skel_read_bulk_callback() 267 /* errors must be reported */ in skel_read() 268 rv = dev->errors; in skel_read() [all...] |
/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() 523 * we are to report ALL errors, then 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 618 nsi_error(int fatal,u32 errors,int * error_found,int handle_error) nsi_error() argument 634 do_membuf_error(u8 errors) do_membuf_error() argument 645 membuf_error(u8 errors,int * error_found,int handle_error) membuf_error() argument 665 do_sysbus_error(int fatal,u32 errors) do_sysbus_error() argument 676 sysbus_error(int fatal,u32 errors,int * error_found,int handle_error) sysbus_error() argument [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() [all...] |
/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_dynamic_config.c | 185 u64 errors; member 205 sja1105_packing(buf, &cmd->errors, 30, 30, size, op); in sja1105et_vl_lookup_cmd_packing() 219 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105pqrs_vl_lookup_cmd_packing() 233 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_vl_lookup_cmd_packing() 270 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1105pqrs_common_l2_lookup_cmd_packing() 418 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1105et_l2_lookup_cmd_packing() 531 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_vlan_lookup_cmd_packing() 561 sja1105_packing(p, &cmd->errors, 30, 30, size, op); in sja1105_l2_forwarding_cmd_packing() 575 sja1105_packing(p, &cmd->errors, 29, 29, size, op); in sja1110_l2_forwarding_cmd_packing() 628 sja1105_packing(p, &cmd->errors, 3 in sja1105pqrs_mac_config_cmd_packing() [all...] |