Lines Matching refs:corrupt_bio_byte
32 unsigned corrupt_bio_byte; member
118 r = dm_read_arg(_args + 1, as, &fc->corrupt_bio_byte, &ti->error); in parse_features()
292 unsigned int corrupt_bio_byte = fc->corrupt_bio_byte - 1; in corrupt_bio_data() local
305 if (bio_iter_len(bio, iter) > corrupt_bio_byte) { in corrupt_bio_data()
308 segment[corrupt_bio_byte] = fc->corrupt_bio_value; in corrupt_bio_data()
311 bio, fc->corrupt_bio_value, fc->corrupt_bio_byte, in corrupt_bio_data()
316 corrupt_bio_byte -= bio_iter_len(bio, iter); in corrupt_bio_data()
343 if (!fc->corrupt_bio_byte && !test_bit(DROP_WRITES, &fc->flags) && in flakey_map()
364 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == WRITE)) { in flakey_map()
392 if (fc->corrupt_bio_byte && (fc->corrupt_bio_rw == READ) && in flakey_end_io()
431 DMEMIT("%u ", drop_writes + error_writes + (fc->corrupt_bio_byte > 0) * 5); in flakey_status()
438 if (fc->corrupt_bio_byte) in flakey_status()
440 fc->corrupt_bio_byte, in flakey_status()