Home
last modified time | relevance | path

Searched refs:bad_blocks (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/fs/pstore/
Dram_core.c181 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()
Dram.c246 tmp_prz->bad_blocks += prz_next->bad_blocks; in ramoops_pstore_read()
/linux-6.1.9/include/linux/
Dpstore_ram.h95 int bad_blocks; member
/linux-6.1.9/fs/jfs/
Djfs_metapage.c354 int bad_blocks = 0; in metapage_writepage() local
415 bad_blocks++; in metapage_writepage()
446 if (bad_blocks) in metapage_writepage()
465 while (bad_blocks--) in metapage_writepage()
/linux-6.1.9/fs/jffs2/
Dscan.c94 uint32_t empty_blocks = 0, bad_blocks = 0; in jffs2_scan_medium() local
234 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()
/linux-6.1.9/drivers/mtd/
Dmtdswap.c1339 unsigned int eblocks, eavailable, bad_blocks, spare_cnt; in mtdswap_add_mtd() local
1391 bad_blocks = mtdswap_badblocks(mtd, use_size); in mtdswap_add_mtd()
1392 eavailable = eblocks - bad_blocks; in mtdswap_add_mtd()
1414 MTDSWAP_PREFIX, part, swap_size / 1024, spare_cnt, bad_blocks); in mtdswap_add_mtd()
Dmtdcore.c299 MTD_DEVICE_ATTR_RO(bad_blocks);
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-class-mtd210 What: /sys/class/mtd/mtdX/bad_blocks
/linux-6.1.9/Documentation/admin-guide/
Dmd.rst579 bad_blocks
588 blocks in the same form of ``bad_blocks``. If output is too big
/linux-6.1.9/drivers/md/
Dmd.c3478 __ATTR(bad_blocks, S_IRUGO|S_IWUSR, bb_show, bb_store);