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()
342 if (!fc->corrupt_bio_byte && !test_bit(DROP_WRITES, &fc->flags) && in flakey_map()
343 !test_bit(ERROR_WRITES, &fc->flags)) in flakey_map()
351 if (test_bit(DROP_WRITES, &fc->flags)) { in flakey_map()
355 else if (test_bit(ERROR_WRITES, &fc->flags)) { in flakey_map()
398 } else if (!test_bit(DROP_WRITES, &fc->flags) && in flakey_end_io()
399 !test_bit(ERROR_WRITES, &fc->flags)) { in flakey_end_io()
428 drop_writes = test_bit(DROP_WRITES, &fc->flags); in flakey_status()
429 error_writes = test_bit(ERROR_WRITES, &fc->flags); in flakey_status()