Lines Matching refs:write_errors
402 static struct floppy_write_errors write_errors[N_DRIVE]; variable
2101 INFBOUND(write_errors[current_drive].badness, err_count); in bad_flp_intr()
2306 write_errors[current_drive].write_errors++; in request_done()
2307 if (write_errors[current_drive].write_errors == 1) { in request_done()
2308 write_errors[current_drive].first_error_sector = blk_rq_pos(req); in request_done()
2309 write_errors[current_drive].first_error_generation = drive_state[current_drive].generation; in request_done()
2311 write_errors[current_drive].last_error_sector = blk_rq_pos(req); in request_done()
2312 write_errors[current_drive].last_error_generation = drive_state[current_drive].generation; in request_done()
3551 memset(&write_errors[drive], 0, sizeof(write_errors[drive])); in fd_locked_ioctl()
3554 outparam = &write_errors[drive]; in fd_locked_ioctl()
3645 unsigned int write_errors; member
3856 v = write_errors[drive]; in compat_werrorget()
3858 v32.write_errors = v.write_errors; in compat_werrorget()
4665 memset(&write_errors[drive], 0, sizeof(write_errors[drive])); in do_floppy_init()