Home
last modified time | relevance | path

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

/linux/drivers/block/
H A Dfloppy.c1456 } else if (floppy_errors >= drive_params[current_drive].max_errors.reporting) { in interpret_errors()
2098 if (err_count > drive_params[current_drive].max_errors.abort) in bad_flp_intr()
2100 if (err_count > drive_params[current_drive].max_errors.reset) in bad_flp_intr()
2102 else if (err_count > drive_params[current_drive].max_errors.recal) in bad_flp_intr()
3404 struct floppy_max_errors max_errors; in fd_locked_ioctl() member
3507 drive_params[drive].max_errors.reporting = (unsigned short)(param & 0x0f); in fd_locked_ioctl()
3510 outparam = &drive_params[drive].max_errors; in fd_locked_ioctl()
3513 drive_params[drive].max_errors = inparam.max_errors; in fd_locked_ioctl()
3595 struct floppy_max_errors max_errors; member
3728 drive_params[drive].max_errors = v.max_errors; in compat_setdrvprm()
[all …]
/linux/include/uapi/linux/
H A Dfd.h152 struct floppy_max_errors max_errors; member
/linux/drivers/net/ethernet/seeq/
H 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/drivers/net/ethernet/i825xx/
H 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()
/linux/fs/btrfs/
H A Draid56.c1253 if (unlikely(found_errors > rbio->bioc->max_errors)) in rbio_add_io_paddrs()
2053 if (unlikely(found_errors > rbio->bioc->max_errors)) in recover_vertical()
2514 if (unlikely(found_errors > rbio->bioc->max_errors)) { in rmw_rbio()
2840 if (unlikely(found_errors > rbio->bioc->max_errors)) { in recover_scrub_rbio()
2864 if (unlikely(dfail > rbio->bioc->max_errors - 1)) { in recover_scrub_rbio()
2972 if (unlikely(found_errors > rbio->bioc->max_errors)) { in scrub_rbio()
H A Dvolumes.h526 u16 max_errors; member
H A Dvolumes.c49 int max_errors; member
6910 int max_errors = io_geom->max_errors; in handle_ops_on_dev_replace() local
6972 io_geom->max_errors = max_errors + nr_extra_stripes; in handle_ops_on_dev_replace()
7159 io_geom->max_errors = btrfs_chunk_max_errors(map); in map_blocks_raid56_write()
7423 io_geom.max_errors = btrfs_chunk_max_errors(map); in btrfs_map_block()
7432 bioc->max_errors = io_geom.max_errors; in btrfs_map_block()
H A Ddisk-io.c4147 int max_errors; in write_all_supers() local
4168 max_errors = btrfs_super_num_devices(fs_info->super_copy) - 1; in write_all_supers()
4219 if (unlikely(total_errors > max_errors)) { in write_all_supers()
4243 if (unlikely(total_errors > max_errors)) { in write_all_supers()
/linux/drivers/cxl/core/
H A Dmbox.c1226 mds->poison.max_errors = min_t(u32, val, CXL_POISON_LIST_MAX); in cxl_dev_state_identify()
1423 if (nr_records >= mds->poison.max_errors) { in cxl_mem_get_poison()
/linux/drivers/cxl/
H A Dcxlmem.h293 u32 max_errors; member