Searched refs:bad_blocks (Results 1 – 4 of 4) sorted by relevance
181 prz->bad_blocks++; in persistent_ram_ecc_old()241 prz->bad_blocks = 0; in persistent_ram_init_ecc()250 prz->bad_blocks++; in persistent_ram_init_ecc()264 if (prz->corrected_bytes || prz->bad_blocks) in persistent_ram_ecc_string()267 prz->corrected_bytes, prz->bad_blocks); in persistent_ram_ecc_string()
247 tmp_prz->bad_blocks += prz_next->bad_blocks; in ramoops_pstore_read()
354 int bad_blocks = 0; in metapage_writepage() local415 bad_blocks++; in metapage_writepage()446 if (bad_blocks) in metapage_writepage()465 while (bad_blocks--) in metapage_writepage()
94 uint32_t empty_blocks = 0, bad_blocks = 0; in jffs2_scan_medium() local234 bad_blocks++; in jffs2_scan_medium()265 ((c->nr_free_blocks+empty_blocks+bad_blocks) != c->nr_blocks || bad_blocks == c->nr_blocks)) { in jffs2_scan_medium()268 empty_blocks, bad_blocks, c->nr_blocks); in jffs2_scan_medium()