Searched refs:is_bad (Results 1 – 4 of 4) sorted by relevance
397 static int is_bad(void *p) in is_bad() function411 if (is_bad(tpm_dir)) in tpm_bios_log_setup()418 if (is_bad(bin_file)) in tpm_bios_log_setup()425 if (is_bad(ascii_file)) in tpm_bios_log_setup()
1239 int is_bad; in raid1_make_request() local1241 is_bad = is_badblock(rdev, r1_bio->sector, in raid1_make_request()1244 if (is_bad < 0) { in raid1_make_request()1251 if (is_bad && first_bad <= r1_bio->sector) { in raid1_make_request()1272 if (is_bad) { in raid1_make_request()
1254 int is_bad; in __make_request() local1256 is_bad = is_badblock(rdev, dev_sector, in __make_request()1259 if (is_bad < 0) { in __make_request()1268 if (is_bad && first_bad <= dev_sector) { in __make_request()1286 if (is_bad) { in __make_request()
4068 int is_bad = 0; in analyse_stripe() local4125 is_bad = is_badblock(rdev, sh->sector, STRIPE_SECTORS, in analyse_stripe()4129 || is_bad < 0)) { in analyse_stripe()4130 if (is_bad < 0) in analyse_stripe()4140 else if (is_bad) { in analyse_stripe()