Home
last modified time | relevance | path

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

/drivers/md/
Ddm-kcopyd.c214 int read_err; member
325 int read_err = job->read_err; in run_complete_job() local
338 fn(read_err, write_err, context); in run_complete_job()
355 job->read_err = 1; in complete_io()
438 job->read_err = 1; in process_jobs()
499 static void segment_complete(int read_err, unsigned long write_err, in segment_complete() argument
512 if (read_err) in segment_complete()
513 job->read_err = 1; in segment_complete()
521 if ((!job->read_err && !job->write_err) || in segment_complete()
600 job->read_err = 0; in dm_kcopyd_copy()
[all …]
Ddm-snap.c859 static void merge_callback(int read_err, unsigned long write_err,
969 static void merge_callback(int read_err, unsigned long write_err, void *context) in merge_callback() argument
974 if (read_err || write_err) { in merge_callback()
975 if (read_err) in merge_callback()
1455 static void copy_callback(int read_err, unsigned long write_err, void *context) in copy_callback() argument
1460 if (read_err || write_err) in copy_callback()
Ddm-raid1.c292 static void recovery_complete(int read_err, unsigned long write_err, in recovery_complete() argument
299 if (read_err) { in recovery_complete()
322 dm_rh_recovery_end(reg, !(read_err || write_err)); in recovery_complete()
Ddm-thin.c772 static void copy_complete(int read_err, unsigned long write_err, void *context) in copy_complete() argument
778 m->err = read_err || write_err ? -EIO : 0; in copy_complete()
/drivers/mtd/ubi/
Dio.c754 int err, read_err; in ubi_io_read_ec_hdr() local
760 read_err = ubi_io_read(ubi, ec_hdr, pnum, 0, UBI_EC_HDR_SIZE); in ubi_io_read_ec_hdr()
761 if (read_err) { in ubi_io_read_ec_hdr()
762 if (read_err != UBI_IO_BITFLIPS && !mtd_is_eccerr(read_err)) in ubi_io_read_ec_hdr()
763 return read_err; in ubi_io_read_ec_hdr()
778 if (mtd_is_eccerr(read_err)) in ubi_io_read_ec_hdr()
793 if (!read_err) in ubi_io_read_ec_hdr()
825 if (!read_err) in ubi_io_read_ec_hdr()
842 return read_err ? UBI_IO_BITFLIPS : 0; in ubi_io_read_ec_hdr()
1024 int err, read_err; in ubi_io_read_vid_hdr() local
[all …]
/drivers/staging/rts5139/
Dsd_cprm.c380 int cmd13_checkbit = 0, read_err = 0; local
463 read_err = 1;
505 read_err = 1;
517 read_err = 1;
525 read_err = 1;
582 if (read_err)
/drivers/block/
Dida_cmd.h174 __u16 read_err[32]; member
/drivers/staging/rts_pstor/
Dsd.c4040 int cmd13_checkbit = 0, read_err = 0; in sd_execute_read_data() local
4149 read_err = 1; in sd_execute_read_data()
4189 read_err = 1; in sd_execute_read_data()
4256 if (read_err) { in sd_execute_read_data()