Home
last modified time | relevance | path

Searched refs:is_bad (Results 1 – 4 of 4) sorted by relevance

/drivers/char/tpm/
Dtpm_eventlog.c397 static int is_bad(void *p) in is_bad() function
411 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()
/drivers/md/
Draid1.c1239 int is_bad; in raid1_make_request() local
1241 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()
Draid10.c1254 int is_bad; in __make_request() local
1256 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()
Draid5.c4068 int is_bad = 0; in analyse_stripe() local
4125 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()