Searched refs:bad_blocks (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/fs/pstore/ |
D | ram_core.c | 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()
|
D | ram.c | 246 tmp_prz->bad_blocks += prz_next->bad_blocks; in ramoops_pstore_read()
|
/linux-6.1.9/include/linux/ |
D | pstore_ram.h | 95 int bad_blocks; member
|
/linux-6.1.9/fs/jfs/ |
D | jfs_metapage.c | 354 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/ |
D | scan.c | 94 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/ |
D | mtdswap.c | 1339 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()
|
D | mtdcore.c | 299 MTD_DEVICE_ATTR_RO(bad_blocks);
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-class-mtd | 210 What: /sys/class/mtd/mtdX/bad_blocks
|
/linux-6.1.9/Documentation/admin-guide/ |
D | md.rst | 579 bad_blocks 588 blocks in the same form of ``bad_blocks``. If output is too big
|
/linux-6.1.9/drivers/md/ |
D | md.c | 3478 __ATTR(bad_blocks, S_IRUGO|S_IWUSR, bb_show, bb_store);
|