Searched refs:io_errors (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | io.c | 65 * we shouldn't count failed REQ_RAHEAD bio to dc->io_errors. in bch_count_backing_io_errors() 73 errors = atomic_add_return(1, &dc->io_errors); in bch_count_backing_io_errors() 109 errors = atomic_read(&ca->io_errors); in bch_count_io_errors() 113 errors = atomic_cmpxchg(&ca->io_errors, in bch_count_io_errors() 122 &ca->io_errors); in bch_count_io_errors()
|
H A D | sysfs.c | 103 read_attribute(io_errors); variable 202 sysfs_printf(io_errors, "%i", atomic_read(&dc->io_errors)); in SHOW() 1029 sysfs_print(io_errors, in SHOW() 1030 atomic_read(&ca->io_errors) >> IO_ERROR_SHIFT); in SHOW() 1157 atomic_set(&ca->io_errors, 0); in SHOW_LOCKED()
|
H A D | bcache.h | 393 atomic_t io_errors; member 465 atomic_t io_errors; member
|
H A D | super.c | 1464 atomic_set(&dc->io_errors, 0); in cached_dev_init()
|
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | io.c | 66 * we shouldn't count failed REQ_RAHEAD bio to dc->io_errors. in bch_count_backing_io_errors() 74 errors = atomic_add_return(1, &dc->io_errors); in bch_count_backing_io_errors() 110 errors = atomic_read(&ca->io_errors); in bch_count_io_errors() 114 errors = atomic_cmpxchg(&ca->io_errors, in bch_count_io_errors() 123 &ca->io_errors); in bch_count_io_errors()
|
H A D | sysfs.c | 103 read_attribute(io_errors); variable 206 sysfs_printf(io_errors, "%i", atomic_read(&dc->io_errors)); in SHOW() 1052 sysfs_print(io_errors, in SHOW() 1053 atomic_read(&ca->io_errors) >> IO_ERROR_SHIFT); in SHOW() 1181 atomic_set(&ca->io_errors, 0); in SHOW_LOCKED()
|
H A D | bcache.h | 396 atomic_t io_errors; member 473 atomic_t io_errors; member
|
H A D | super.c | 1435 atomic_set(&dc->io_errors, 0); in cached_dev_init()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | pktcdvd.h | 130 atomic_t io_errors; /* Number of read/write errors during IO */ member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | pktcdvd.h | 130 atomic_t io_errors; /* Number of read/write errors during IO */ member
|
/kernel/linux/linux-5.10/drivers/block/ |
H A D | pktcdvd.c | 958 atomic_inc(&pkt->io_errors); in pkt_end_io_read() 995 atomic_set(&pkt->io_errors, 0); in pkt_gather_data() 1282 if (atomic_read(&pkt->io_errors) > 0) { in pkt_run_state_machine()
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | pktcdvd.c | 976 atomic_inc(&pkt->io_errors); in pkt_end_io_read() 1016 atomic_set(&pkt->io_errors, 0); in pkt_gather_data() 1337 if (atomic_read(&pkt->io_errors) > 0) { in pkt_run_state_machine()
|
Completed in 23 milliseconds