Home
last modified time | relevance | path

Searched refs:errors (Results 1 – 25 of 729) sorted by relevance

12345678910>>...30

/linux/tools/testing/selftests/arm64/abi/
H A Dsyscall-abi.c76 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/lib/
H A Dcrc32test.c667 int errors = 0; in crc32c_test() local
691 errors++; in crc32c_test()
699 if (errors) in crc32c_test()
700 pr_warn("crc32c: %d self tests failed\n", errors); in crc32c_test()
712 int errors = 0, runs = 0; in crc32c_combine_test() local
730 errors++; in crc32c_combine_test()
736 if (errors) in crc32c_combine_test()
737 pr_warn("crc32c_combine: %d/%d self tests failed\n", errors, runs); in crc32c_combine_test()
747 int errors = 0; in crc32_test() local
774 errors++; in crc32_test()
[all …]
/linux/drivers/md/bcache/
H A Dio.c58 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()
122 unsigned int errors = atomic_add_return(1 << IO_ERROR_SHIFT, in bch_count_io_errors() local
[all …]
/linux/fs/bcachefs/
H A Dsb-downgrade.c126 const u16 *errors; member
138 .errors = upgrade_##ver##_errors, \
199 for (const u16 *e = i->errors; e < i->errors + i->nr_errors; e++) in bch2_sb_set_upgrade()
213 .errors = downgrade_##ver##_errors, \
222 unsigned bytes = sizeof(*dst) + sizeof(dst->errors[0]) * le16_to_cpu(dst->nr_errors); in downgrade_table_extra()
230 bytes += sizeof(dst->errors[0]) * 2; in downgrade_table_extra()
241 dst->errors[nr_errors++] = cpu_to_le16(BCH_FSCK_ERR_alloc_key_dirty_sectors_wrong); in downgrade_table_extra()
253 return (void *) &e->errors[le16_to_cpu(e->nr_errors)]; in downgrade_entry_next_c()
259 (void *) &_i->errors[0] <= vstruct_end(&(_d)->field) && \
276 if ((void *) &i->errors[0] > vstruct_end(&e->field)) in bch2_sb_downgrade_validate()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_tunnel.sh585 local errors=0
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 + $? ))
[all …]
/linux/Documentation/ABI/removed/
H A Dsysfs-mce27 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 Dxfs_dahash_test.c648 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/arm64/fp/
H A Dsve-ptrace.c263 uint32_t *in, uint32_t *out, int *errors) in check_u32()
268 (*errors)++; in check_u32()
340 int errors = 0; in ptrace_set_sve_get_sve_data()
398 errors++; in ptrace_set_sve_get_sve_data()
407 errors++; in ptrace_set_sve_get_sve_data()
412 read_buf + SVE_PT_SVE_FPSR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data()
414 read_buf + SVE_PT_SVE_FPCR_OFFSET(vq), &errors); in ptrace_set_sve_get_sve_data()
416 ksft_test_result(errors == 0, "Set and get %s data for VL %u\n", in ptrace_set_sve_get_sve_data()
436 int errors = 0; in ptrace_set_sve_get_fpsimd_data()
492 errors in ptrace_set_sve_get_fpsimd_data()
261 check_u32(unsigned int vl,const char * reg,uint32_t * in,uint32_t * out,int * errors) check_u32() argument
338 int errors = 0; ptrace_set_sve_get_sve_data() local
434 int errors = 0; ptrace_set_sve_get_fpsimd_data() local
519 int errors = 0; ptrace_set_fpsimd_get_sve_data() local
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-pci-devices-aer_stats5 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 Dsysfs-platform-dfl-fme48 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 Dsysfs-mce8 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.
/linux/drivers/macintosh/
H A Dwindfarm_pid.c46 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 Derror_handling.rst5 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 Drw-by-pid.pl36 $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 Dvdpa_sim_net.c45 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 Dsubpage_prot.c35 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/tools/testing/selftests/net/netfilter/
H A Dipvs.sh179 local errors=
185 errors=$(( $errors + $? ))
191 errors=$(( $errors + $? ))
197 errors=$(( $errors + $? ))
199 return $errors
/linux/arch/x86/tools/
H A Dinsn_sanity.c223 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 DKconfig15 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/drivers/usb/
H A Dusb-skeleton.c59 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 De752x_edac.c516 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/drivers/comedi/drivers/
H A Djr3_pci.c115 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/net/dsa/sja1105/
H A Dsja1105_dynamic_config.c185 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, 30, 30, size, op); in sja1105pqrs_mac_config_cmd_packing()
[all …]
/linux/Documentation/driver-api/
H A Dlibata.rst378 This chapter describes how errors are handled under libata. Readers are
543 Errors which aren't ATA device errors are treated as ATA device
544 errors by setting ATA_ERR bit. Better error descriptor which can
545 properly represent ATA and other errors/exceptions is needed.
556 errors and other errors quite often require reset to return to known
560 - ATA errors are directly handled in the interrupt handler and PIO
561 errors in pio_task. This is problematic for advanced error handling
600 ATA errors and exceptions
611 which are not errors (say, power or hotplug events), or to describe both
612 errors and non-error exceptional conditions. Where explicit distinction
[all …]
/linux/drivers/soc/tegra/cbb/
H A Dtegra234-cbb.c101 const struct tegra_cbb_error *errors; member
325 cbb->fabric->errors[type].code); in tegra234_cbb_print_error()
342 cbb->fabric->errors[type].code); in tegra234_cbb_print_error()
394 cbb->fabric->errors[cbb->type].code); in print_errlog_err()
440 if (!strcmp(cbb->fabric->errors[cbb->type].code, "TIMEOUT_ERR")) { in print_errlog_err()
707 .errors = tegra234_cbb_errors,
728 .errors = tegra234_cbb_errors,
805 .errors = tegra234_cbb_errors,
828 .errors = tegra234_cbb_errors,
841 .errors = tegra234_cbb_errors,
[all …]

12345678910>>...30