Home
last modified time | relevance | path

Searched refs:max_errors (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/fs/btrfs/
Draid56.c907 int max_errors; in raid_write_end_io() local
920 max_errors = (rbio->operation == BTRFS_RBIO_PARITY_SCRUB) ? in raid_write_end_io()
921 0 : rbio->bbio->max_errors; in raid_write_end_io()
922 if (atomic_read(&rbio->error) > max_errors) in raid_write_end_io()
1491 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in raid_rmw_end_io()
2043 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in raid_recover_end_io()
2111 if (atomic_read(&rbio->error) <= rbio->bbio->max_errors) { in __raid56_parity_recover()
2533 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in validate_rbio_for_parity_scrub()
2554 if (dfail > rbio->bbio->max_errors - 1) in validate_rbio_for_parity_scrub()
Dvolumes.h336 int max_errors; member
Dvolumes.c5818 int max_errors = *max_errors_ret; in handle_ops_on_dev_replace() local
5849 max_errors++; in handle_ops_on_dev_replace()
5898 *max_errors_ret = max_errors; in handle_ops_on_dev_replace()
6024 int max_errors = 0; in __btrfs_map_block() local
6132 max_errors = nr_parity_stripes(map); in __btrfs_map_block()
6227 max_errors = btrfs_chunk_max_errors(map); in __btrfs_map_block()
6235 &max_errors); in __btrfs_map_block()
6241 bbio->max_errors = max_errors; in __btrfs_map_block()
6403 if (atomic_read(&bbio->error) > bbio->max_errors) { in btrfs_end_bio()
6497 if (atomic_read(&bbio->error) > bbio->max_errors) in bbio_error()
Ddisk-io.c3758 int max_errors; in write_all_supers() local
3777 max_errors = btrfs_super_num_devices(fs_info->super_copy) - 1; in write_all_supers()
3828 if (total_errors > max_errors) { in write_all_supers()
3853 if (total_errors > max_errors) { in write_all_supers()
/Linux-v5.4/drivers/block/
Dfloppy.c1435 } else if (*errors >= DP->max_errors.reporting) { in interpret_errors()
2057 if (err_count > DP->max_errors.abort) in bad_flp_intr()
2059 if (err_count > DP->max_errors.reset) in bad_flp_intr()
2061 else if (err_count > DP->max_errors.recal) in bad_flp_intr()
2677 *errors < DP->max_errors.read_track && in make_raw_rw_request()
3414 struct floppy_max_errors max_errors; in fd_locked_ioctl() member
3516 UDP->max_errors.reporting = (unsigned short)(param & 0x0f); in fd_locked_ioctl()
3519 outparam = &UDP->max_errors; in fd_locked_ioctl()
3522 UDP->max_errors = inparam.max_errors; in fd_locked_ioctl()
3613 struct floppy_max_errors max_errors; member
[all …]
/Linux-v5.4/include/uapi/linux/
Dfd.h152 struct floppy_max_errors max_errors; member
/Linux-v5.4/drivers/net/ethernet/seeq/
Dether3.c225 int max_errors = 4; in ether3_ramtest() local
244 if (max_errors > 0 && bad != buffer[i]) { in ether3_ramtest()
248 max_errors--; in ether3_ramtest()
/Linux-v5.4/drivers/net/ethernet/i825xx/
Dether1.c256 int max_errors = 15; in ether1_ramtest() local
270 if (max_errors >= 0 && bad != buffer[i]) { in ether1_ramtest()
276 max_errors --; in ether1_ramtest()