Lines Matching refs:test_bit
85 } else if (test_bit(ERROR_WRITES, &fc->flags)) { in parse_features()
101 } else if (test_bit(DROP_WRITES, &fc->flags)) { in parse_features()
160 if (test_bit(DROP_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features()
164 } else if (test_bit(ERROR_WRITES, &fc->flags) && (fc->corrupt_bio_rw == WRITE)) { in parse_features()
335 if (!fc->corrupt_bio_byte && !test_bit(DROP_WRITES, &fc->flags) && in flakey_map()
336 !test_bit(ERROR_WRITES, &fc->flags)) in flakey_map()
344 if (test_bit(DROP_WRITES, &fc->flags)) { in flakey_map()
348 else if (test_bit(ERROR_WRITES, &fc->flags)) { in flakey_map()
396 } else if (!test_bit(DROP_WRITES, &fc->flags) && in flakey_end_io()
397 !test_bit(ERROR_WRITES, &fc->flags)) { in flakey_end_io()
426 drop_writes = test_bit(DROP_WRITES, &fc->flags); in flakey_status()
427 error_writes = test_bit(ERROR_WRITES, &fc->flags); in flakey_status()