Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/btrfs/
Draid56.c912 int max_errors; in raid_write_end_io() local
925 max_errors = (rbio->operation == BTRFS_RBIO_PARITY_SCRUB) ? in raid_write_end_io()
926 0 : rbio->bbio->max_errors; in raid_write_end_io()
927 if (atomic_read(&rbio->error) > max_errors) in raid_write_end_io()
1494 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in raid_rmw_end_io()
2065 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in raid_recover_end_io()
2126 if (atomic_read(&rbio->error) <= rbio->bbio->max_errors) { in __raid56_parity_recover()
2534 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in validate_rbio_for_parity_scrub()
2555 if (dfail > rbio->bbio->max_errors - 1) in validate_rbio_for_parity_scrub()
Dvolumes.h332 int max_errors; member
Dvolumes.c5900 int max_errors = *max_errors_ret; in handle_ops_on_dev_replace() local
5931 max_errors++; in handle_ops_on_dev_replace()
5980 *max_errors_ret = max_errors; in handle_ops_on_dev_replace()
6106 int max_errors = 0; in __btrfs_map_block() local
6211 max_errors = nr_parity_stripes(map); in __btrfs_map_block()
6297 max_errors = btrfs_chunk_max_errors(map); in __btrfs_map_block()
6302 &max_errors); in __btrfs_map_block()
6308 bbio->max_errors = max_errors; in __btrfs_map_block()
6400 if (atomic_read(&bbio->error) > bbio->max_errors) { in btrfs_end_bio()
6446 if (atomic_read(&bbio->error) > bbio->max_errors) in bbio_error()
Ddisk-io.c3892 int max_errors; in write_all_supers() local
3911 max_errors = btrfs_super_num_devices(fs_info->super_copy) - 1; in write_all_supers()
3962 if (total_errors > max_errors) { in write_all_supers()
3987 if (total_errors > max_errors) { in write_all_supers()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dfd.h86 struct floppy_max_errors max_errors; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dfd.h152 struct floppy_max_errors max_errors; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dfd.h79 struct floppy_max_errors max_errors; member
/kernel/linux/linux-5.10/drivers/block/
Dfloppy.c1457 } else if (floppy_errors >= drive_params[current_drive].max_errors.reporting) { in interpret_errors()
2099 if (err_count > drive_params[current_drive].max_errors.abort) in bad_flp_intr()
2101 if (err_count > drive_params[current_drive].max_errors.reset) in bad_flp_intr()
2103 else if (err_count > drive_params[current_drive].max_errors.recal) in bad_flp_intr()
2722 floppy_errors < drive_params[current_drive].max_errors.read_track && in make_raw_rw_request()
3498 struct floppy_max_errors max_errors; in fd_locked_ioctl() member
3600 drive_params[drive].max_errors.reporting = (unsigned short)(param & 0x0f); in fd_locked_ioctl()
3603 outparam = &drive_params[drive].max_errors; in fd_locked_ioctl()
3606 drive_params[drive].max_errors = inparam.max_errors; in fd_locked_ioctl()
3688 struct floppy_max_errors max_errors; member
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()