Lines Matching defs:errors
54 /* IO errors */
57 unsigned int errors;
73 errors = atomic_add_return(1, &dc->io_errors);
74 if (errors < dc->error_limit)
95 unsigned int errors;
101 * successfully do so, we rescale the errors once:
109 errors = atomic_read(&ca->io_errors);
111 old = errors;
112 new = ((uint64_t) errors * 127) / 128;
113 errors = atomic_cmpxchg(&ca->io_errors,
115 } while (old != errors);
121 unsigned int errors = atomic_add_return(1 << IO_ERROR_SHIFT,
123 errors >>= IO_ERROR_SHIFT;
125 if (errors < ca->set->error_limit)
131 "%s: too many IO errors %s\n",