Lines Matching refs:write_errors
402 static struct floppy_write_errors write_errors[N_DRIVE]; variable
2098 INFBOUND(write_errors[current_drive].badness, err_count); in bad_flp_intr()
2303 write_errors[current_drive].write_errors++; in request_done()
2304 if (write_errors[current_drive].write_errors == 1) { in request_done()
2305 write_errors[current_drive].first_error_sector = blk_rq_pos(req); in request_done()
2306 write_errors[current_drive].first_error_generation = drive_state[current_drive].generation; in request_done()
2308 write_errors[current_drive].last_error_sector = blk_rq_pos(req); in request_done()
2309 write_errors[current_drive].last_error_generation = drive_state[current_drive].generation; in request_done()
3547 memset(&write_errors[drive], 0, sizeof(write_errors[drive])); in fd_locked_ioctl()
3550 outparam = &write_errors[drive]; in fd_locked_ioctl()
3641 unsigned int write_errors; member
3852 v = write_errors[drive]; in compat_werrorget()
3854 v32.write_errors = v.write_errors; in compat_werrorget()
4658 memset(&write_errors[drive], 0, sizeof(write_errors[drive])); in do_floppy_init()