Home
last modified time | relevance | path

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

/linux/fs/btrfs/
A Draid56.c893 int max_errors; in raid_write_end_io() local
906 max_errors = (rbio->operation == BTRFS_RBIO_PARITY_SCRUB) ? in raid_write_end_io()
907 0 : rbio->bioc->max_errors; in raid_write_end_io()
908 if (atomic_read(&rbio->error) > max_errors) in raid_write_end_io()
1456 if (atomic_read(&rbio->error) > rbio->bioc->max_errors) in raid_rmw_end_io()
2007 if (atomic_read(&rbio->error) > rbio->bioc->max_errors) in raid_recover_end_io()
2075 if (atomic_read(&rbio->error) <= rbio->bioc->max_errors) { in __raid56_parity_recover()
2484 if (atomic_read(&rbio->error) > rbio->bioc->max_errors) in validate_rbio_for_parity_scrub()
2505 if (dfail > rbio->bioc->max_errors - 1) in validate_rbio_for_parity_scrub()
A Dvolumes.h390 int max_errors; member
A Dvolumes.c6172 int max_errors = *max_errors_ret; in handle_ops_on_dev_replace() local
6210 max_errors++; in handle_ops_on_dev_replace()
6258 *max_errors_ret = max_errors; in handle_ops_on_dev_replace()
6376 int max_errors = 0; in __btrfs_map_block() local
6482 max_errors = nr_parity_stripes(map); in __btrfs_map_block()
6568 max_errors = btrfs_chunk_max_errors(map); in __btrfs_map_block()
6573 &num_stripes, &max_errors); in __btrfs_map_block()
6579 bioc->max_errors = max_errors; in __btrfs_map_block()
6671 if (atomic_read(&bioc->error) > bioc->max_errors) { in btrfs_end_bio()
6731 if (atomic_read(&bioc->error) > bioc->max_errors) in bioc_error()
A Ddisk-io.c4137 int max_errors; in write_all_supers() local
4156 max_errors = btrfs_super_num_devices(fs_info->super_copy) - 1; in write_all_supers()
4207 if (total_errors > max_errors) { in write_all_supers()
4232 if (total_errors > max_errors) { in write_all_supers()
/linux/drivers/block/
A Dfloppy.c1458 } else if (*errors >= drive_params[current_drive].max_errors.reporting) { in interpret_errors()
2100 if (err_count > drive_params[current_drive].max_errors.abort) in bad_flp_intr()
2102 if (err_count > drive_params[current_drive].max_errors.reset) in bad_flp_intr()
2104 else if (err_count > drive_params[current_drive].max_errors.recal) in bad_flp_intr()
3378 struct floppy_max_errors max_errors; in fd_locked_ioctl() member
3480 drive_params[drive].max_errors.reporting = (unsigned short)(param & 0x0f); in fd_locked_ioctl()
3483 outparam = &drive_params[drive].max_errors; in fd_locked_ioctl()
3486 drive_params[drive].max_errors = inparam.max_errors; in fd_locked_ioctl()
3577 struct floppy_max_errors max_errors; member
3710 drive_params[drive].max_errors = v.max_errors; in compat_setdrvprm()
[all …]
/linux/drivers/net/ethernet/seeq/
A 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/include/uapi/linux/
A Dfd.h152 struct floppy_max_errors max_errors; member
/linux/drivers/net/ethernet/i825xx/
A 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()

Completed in 54 milliseconds