Home
last modified time | relevance | path

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

123456

/drivers/md/bcache/
Dio.c65 unsigned errors; in bch_count_io_errors() local
79 errors = atomic_read(&ca->io_errors); in bch_count_io_errors()
81 old = errors; in bch_count_io_errors()
82 new = ((uint64_t) errors * 127) / 128; in bch_count_io_errors()
83 errors = atomic_cmpxchg(&ca->io_errors, in bch_count_io_errors()
85 } while (old != errors); in bch_count_io_errors()
92 unsigned errors = atomic_add_return(1 << IO_ERROR_SHIFT, in bch_count_io_errors() local
94 errors >>= IO_ERROR_SHIFT; in bch_count_io_errors()
96 if (errors < ca->set->error_limit) in bch_count_io_errors()
/drivers/macintosh/
Dwindfarm_pid.c47 st->errors[i] = error; in wf_pid_run()
54 st->errors[st->index] = error; in wf_pid_run()
59 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_pid_run()
63 deriv = st->errors[st->index] - in wf_pid_run()
64 st->errors[(st->index + hlen - 1) % hlen]; in wf_pid_run()
102 st->errors[i] = error; in wf_cpu_pid_run()
110 st->errors[st->index] = error; in wf_cpu_pid_run()
117 integ += st->errors[(st->index + hlen - i) % hlen]; in wf_cpu_pid_run()
Dwindfarm_pid.h40 s32 errors[WF_PID_MAX_HISTORY]; /* error history buffer */ member
77 s32 errors[WF_PID_MAX_HISTORY]; /* error history buffer */ member
/drivers/usb/
Dusb-skeleton.c61 int errors; /* the last request tanked */ member
153 res = dev->errors ? (dev->errors == -EPIPE ? -EPIPE : -EIO) : 0; in skel_flush()
154 dev->errors = 0; in skel_flush()
178 dev->errors = urb->status; in skel_read_bulk_callback()
270 rv = dev->errors; in skel_read()
273 dev->errors = 0; in skel_read()
350 dev->errors = urb->status; in skel_write_bulk_callback()
392 retval = dev->errors; in skel_write()
395 dev->errors = 0; in skel_write()
626 dev->errors = -EPIPE; in skel_post_reset()
/drivers/edac/
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 …]
Di7300_edac.c357 unsigned long errors; in i7300_process_error_global() local
367 errors = error_reg; in i7300_process_error_global()
368 errnum = find_first_bit(&errors, in i7300_process_error_global()
383 errors = error_reg; in i7300_process_error_global()
384 errnum = find_first_bit(&errors, in i7300_process_error_global()
416 unsigned long errors; in i7300_process_fbd_error() local
426 errors = error_reg & FERR_FAT_FBD_ERR_MASK ; in i7300_process_fbd_error()
427 errnum = find_first_bit(&errors, in i7300_process_fbd_error()
449 bank, ras, cas, errors, specific); in i7300_process_fbd_error()
462 errors = error_reg & FERR_NF_FBD_ERR_MASK; in i7300_process_fbd_error()
[all …]
DKconfig17 report hardware errors. These are low-level errors that are reported
19 memory errors, cache errors, PCI errors, thermal throttling, etc..
56 bool "Output ACPI APEI/GHES BIOS detected errors via EDAC"
81 Support for error detection and correction of DRAM ECC errors on
91 errors into DRAM.
/drivers/staging/comedi/drivers/
Djr3_pci.c124 u16 errors; member
280 u16 errors; in jr3_pci_ai_insn_read() local
283 errors = get_u16(&spriv->sensor->errors); in jr3_pci_ai_insn_read()
285 (errors & (watch_dog | watch_dog2 | sensor_change))) { in jr3_pci_ai_insn_read()
455 int errors; in jr3_pci_poll_subdevice() local
459 errors = get_u16(&sensor->errors); in jr3_pci_poll_subdevice()
461 if (errors != spriv->errors) in jr3_pci_poll_subdevice()
462 spriv->errors = errors; in jr3_pci_poll_subdevice()
465 if (errors & (watch_dog | watch_dog2 | sensor_change)) in jr3_pci_poll_subdevice()
473 if ((errors & (watch_dog | watch_dog2)) || in jr3_pci_poll_subdevice()
/drivers/acpi/apei/
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.
62 Memory errors may be reported via APEI firmware first mode.
/drivers/staging/lustre/lnet/selftest/
Dping_test.c72 int errors; in ping_client_fini() local
77 errors = atomic_read(&sn->sn_ping_errors); in ping_client_fini()
78 if (errors) in ping_client_fini()
79 CWARN("%d pings have failed.\n", errors); in ping_client_fini()
/drivers/net/fddi/skfp/
Dpcmplc.c1077 u_long errors ; in lem_evaluate() local
1087 errors = inpw(PLC(((int) phy->np),PL_LINK_ERR_CTR)) ; in lem_evaluate()
1088 lem->lem_errors += errors ; in lem_evaluate()
1089 mib->fddiPORTLem_Ct += errors ; in lem_evaluate()
1091 errors = lem->lem_errors ; in lem_evaluate()
1102 if (!errors) ber = 15 ; in lem_evaluate()
1103 else if (errors <= 9) ber = 9 ; in lem_evaluate()
1104 else if (errors <= 99) ber = 8 ; in lem_evaluate()
1105 else if (errors <= 999) ber = 7 ; in lem_evaluate()
1106 else if (errors <= 9999) ber = 6 ; in lem_evaluate()
[all …]
/drivers/net/wireless/intel/iwlwifi/dvm/
Drxon.c776 u32 errors = 0; in iwl_check_rxon_cmd() local
781 errors |= BIT(0); in iwl_check_rxon_cmd()
785 errors |= BIT(1); in iwl_check_rxon_cmd()
790 errors |= BIT(2); in iwl_check_rxon_cmd()
794 errors |= BIT(3); in iwl_check_rxon_cmd()
799 errors |= BIT(4); in iwl_check_rxon_cmd()
806 errors |= BIT(5); in iwl_check_rxon_cmd()
811 errors |= BIT(6); in iwl_check_rxon_cmd()
817 errors |= BIT(7); in iwl_check_rxon_cmd()
823 errors |= BIT(8); in iwl_check_rxon_cmd()
[all …]
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc-compat.c337 u32 errors; in dispc_error_worker() local
347 errors = dispc_compat.error_irqs; in dispc_error_worker()
360 if (bit & errors) { in dispc_error_worker()
375 if (bit & errors) { in dispc_error_worker()
397 if (errors & DISPC_IRQ_OCP_ERR) { in dispc_error_worker()
408 dispc_compat.irq_error_mask |= errors; in dispc_error_worker()
/drivers/pci/pcie/aer/
DKconfig.debug14 to trigger various real hardware errors. Software based
15 error injection can fake almost all kinds of errors with the
/drivers/net/ethernet/aquantia/atlantic/
Daq_vec.c352 stats_rx->errors += rx->errors; in aq_vec_add_stats()
358 stats_tx->errors += tx->errors; in aq_vec_add_stats()
380 data[++count] += stats_rx.errors; in aq_vec_get_sw_stats()
Daq_ring.h88 u64 errors; member
96 u64 errors; member
/drivers/spi/
Dspi-davinci.c540 u32 buf, status, errors = 0, spidat1; in davinci_spi_process_events() local
552 errors = status & SPIFLG_ERROR_MASK; in davinci_spi_process_events()
565 return errors; in davinci_spi_process_events()
602 u32 errors = 0; in davinci_spi_bufs() local
698 errors = SPIFLG_TIMEOUT_MASK; in davinci_spi_bufs()
701 errors = davinci_spi_process_events(dspi); in davinci_spi_bufs()
702 if (errors) in davinci_spi_bufs()
719 if (errors) { in davinci_spi_bufs()
720 ret = davinci_spi_check_error(dspi, errors); in davinci_spi_bufs()
/drivers/block/drbd/
DKconfig48 Say Y here if you want to simulate IO errors, in order to test DRBD's
51 The actual simulation of IO errors is done by writing 3 values to
69 Example: Simulate data write errors on /dev/drbd0 with a probability of 5%.
/drivers/acpi/
Dbus.c239 u32 errors; in acpi_run_osc() local
279 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in acpi_run_osc()
280 if (errors) { in acpi_run_osc()
281 if (errors & OSC_REQUEST_ERROR) in acpi_run_osc()
284 if (errors & OSC_INVALID_UUID_ERROR) in acpi_run_osc()
287 if (errors & OSC_INVALID_REVISION_ERROR) in acpi_run_osc()
290 if (errors & OSC_CAPABILITIES_MASK_ERROR) { in acpi_run_osc()
/drivers/cpufreq/
Dpcc-cpufreq.c308 u32 errors; in pcc_cpufreq_do_osc() local
341 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
342 if (errors) { in pcc_cpufreq_do_osc()
370 errors = *((u32 *)out_obj->buffer.pointer) & ~(1 << 0); in pcc_cpufreq_do_osc()
371 if (errors) { in pcc_cpufreq_do_osc()
/drivers/staging/media/omap4iss/
DTODO3 * Fix checkpatch errors and warnings
/drivers/xen/
Dxen-scsiback.c258 static void scsiback_print_status(char *sense_buffer, int errors, in scsiback_print_status() argument
265 pending_req->cmnd[0], status_byte(errors), msg_byte(errors), in scsiback_print_status()
266 host_byte(errors), driver_byte(errors)); in scsiback_print_status()
376 int errors; in scsiback_cmd_done() local
380 errors = pending_req->result; in scsiback_cmd_done()
382 if (errors && log_print_stat) in scsiback_cmd_done()
383 scsiback_print_status(sense_buffer, errors, pending_req); in scsiback_cmd_done()
386 scsiback_do_resp_with_sense(sense_buffer, errors, resid, pending_req); in scsiback_cmd_done()
/drivers/net/can/
Dsun4i_can.c297 u32 errors; in sun4ican_get_berr_counter() local
306 errors = readl(priv->base + SUN4I_REG_ERRC_ADDR); in sun4ican_get_berr_counter()
308 bec->txerr = errors & 0xFF; in sun4ican_get_berr_counter()
309 bec->rxerr = (errors >> 16) & 0xFF; in sun4ican_get_berr_counter()
/drivers/staging/greybus/tools/
DREADME.loopback39 error - number of errors that have occurred.
178 errors: 0
192 errors: 0
/drivers/mtd/
Drfd_ftl.c85 int errors; member
134 part->errors = 1; in build_block_map()
228 part->errors = 1; in scan_header()
786 else if (part->errors) { in rfd_ftl_add_mtd()

123456