Searched refs:max_errors (Results 1 – 8 of 8) sorted by relevance
895 int max_errors; in raid_write_end_io() local908 max_errors = (rbio->operation == BTRFS_RBIO_PARITY_SCRUB) ? in raid_write_end_io()909 0 : rbio->bbio->max_errors; in raid_write_end_io()910 if (atomic_read(&rbio->error) > max_errors) in raid_write_end_io()1459 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in raid_rmw_end_io()2009 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in raid_recover_end_io()2077 if (atomic_read(&rbio->error) <= rbio->bbio->max_errors) { in __raid56_parity_recover()2486 if (atomic_read(&rbio->error) > rbio->bbio->max_errors) in validate_rbio_for_parity_scrub()2507 if (dfail > rbio->bbio->max_errors - 1) in validate_rbio_for_parity_scrub()
353 int max_errors; member
6115 int max_errors = *max_errors_ret; in handle_ops_on_dev_replace() local6153 max_errors++; in handle_ops_on_dev_replace()6202 *max_errors_ret = max_errors; in handle_ops_on_dev_replace()6320 int max_errors = 0; in __btrfs_map_block() local6426 max_errors = nr_parity_stripes(map); in __btrfs_map_block()6512 max_errors = btrfs_chunk_max_errors(map); in __btrfs_map_block()6517 &num_stripes, &max_errors); in __btrfs_map_block()6523 bbio->max_errors = max_errors; in __btrfs_map_block()6615 if (atomic_read(&bbio->error) > bbio->max_errors) { in btrfs_end_bio()6675 if (atomic_read(&bbio->error) > bbio->max_errors) in bbio_error()
4107 int max_errors; in write_all_supers() local4126 max_errors = btrfs_super_num_devices(fs_info->super_copy) - 1; in write_all_supers()4177 if (total_errors > max_errors) { in write_all_supers()4202 if (total_errors > max_errors) { in write_all_supers()
152 struct floppy_max_errors max_errors; member
1457 } else if (*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()3377 struct floppy_max_errors max_errors; in fd_locked_ioctl() member3479 drive_params[drive].max_errors.reporting = (unsigned short)(param & 0x0f); in fd_locked_ioctl()3482 outparam = &drive_params[drive].max_errors; in fd_locked_ioctl()3485 drive_params[drive].max_errors = inparam.max_errors; in fd_locked_ioctl()3576 struct floppy_max_errors max_errors; member3709 drive_params[drive].max_errors = v.max_errors; in compat_setdrvprm()[all …]
225 int max_errors = 4; in ether3_ramtest() local244 if (max_errors > 0 && bad != buffer[i]) { in ether3_ramtest()248 max_errors--; in ether3_ramtest()
256 int max_errors = 15; in ether1_ramtest() local270 if (max_errors >= 0 && bad != buffer[i]) { in ether1_ramtest()276 max_errors --; in ether1_ramtest()