Home
last modified time | relevance | path

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

12345678910>>...29

/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.c147 const u16 *errors; member
159 .errors = upgrade_##ver##_errors, \
220 for (const u16 *e = i->errors; e < i->errors + i->nr_errors; e++) in bch2_sb_set_upgrade()
234 .errors = downgrade_##ver##_errors, \
243 unsigned bytes = sizeof(*dst) + sizeof(dst->errors[0]) * le16_to_cpu(dst->nr_errors); in downgrade_table_extra()
251 bytes += sizeof(dst->errors[0]) * 2; in downgrade_table_extra()
262 dst->errors[nr_errors++] = cpu_to_le16(BCH_FSCK_ERR_alloc_key_dirty_sectors_wrong); in downgrade_table_extra()
274 return (void *) &e->errors[le16_to_cpu(e->nr_errors)]; in downgrade_entry_next_c()
280 (void *) &_i->errors[0] <= vstruct_end(&(_d)->field) && \
297 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/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/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 …]
H A Di7300_edac.c355 unsigned long errors; in i7300_process_error_global() local
365 errors = error_reg; in i7300_process_error_global()
366 errnum = find_first_bit(&errors, in i7300_process_error_global()
381 errors = error_reg; in i7300_process_error_global()
382 errnum = find_first_bit(&errors, in i7300_process_error_global()
414 unsigned long errors; in i7300_process_fbd_error() local
424 errors = error_reg & FERR_FAT_FBD_ERR_MASK ; in i7300_process_fbd_error()
425 errnum = find_first_bit(&errors, in i7300_process_fbd_error()
447 bank, ras, cas, errors, specific); in i7300_process_fbd_error()
460 errors = error_reg & FERR_NF_FBD_ERR_MASK; in i7300_process_fbd_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/base/test/
H A Dtest_async_driver_probe.c21 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()
/linux/Documentation/filesystems/
H A Docfs2-online-filecheck.rst15 Then, a mount option (errors=continue) is introduced, which would return the
42 When there are errors in the OCFS2 filesystem, they are usually accompanied
68 <ERROR> says what kind of errors was found. For the detailed error numbers,
92 file metadata. In case of errors, the filesystem would fix the errors
94 the inode must first be checked for errors before performing a final fix.
98 fixed/checked, the detailed errors which were fixed/checked are printed in the
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-recheck.sh122 echo $configerrors runs with .config errors.
125 EDITOR=echo kvm-find-errors.sh "${@: -1}" > $T 2>&1
129 echo $builderrors runs with build errors.
135 echo $runerrors runs with runtime errors.
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dsb.c499 u32 errors; in dsb_error_int_status() local
501 errors = DSB_GTT_FAULT_INT_STATUS | in dsb_error_int_status()
512 errors |= DSB_ATS_FAULT_INT_STATUS; in dsb_error_int_status()
514 return errors; in dsb_error_int_status()
519 u32 errors; in dsb_error_int_en() local
521 errors = DSB_GTT_FAULT_INT_EN | in dsb_error_int_en()
526 errors |= DSB_ATS_FAULT_INT_EN; in dsb_error_int_en()
528 return errors; in dsb_error_int_en()
818 u32 tmp, errors; in intel_dsb_irq_handler() local
840 errors = tmp & dsb_error_int_status(display); in intel_dsb_irq_handler()
[all …]

12345678910>>...29