Searched refs:wear (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 444 /* Calc wear stats */ in ns_show() 446 unsigned long wear = erase_block_wear[i]; in ns_show() local 447 if (wear < wmin) in ns_show() 448 wmin = wear; in ns_show() 449 if (wear > wmax) in ns_show() 450 wmax = wear; in ns_show() 451 tot += wear; in ns_show() 462 unsigned long wear = erase_block_wear[i]; in ns_show() local 464 if (wear <= decile_max[d]) { in ns_show() 471 /* Output wear repor in ns_show() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 446 /* Calc wear stats */ in ns_show() 448 unsigned long wear = erase_block_wear[i]; in ns_show() local 449 if (wear < wmin) in ns_show() 450 wmin = wear; in ns_show() 451 if (wear > wmax) in ns_show() 452 wmax = wear; in ns_show() 453 tot += wear; in ns_show() 464 unsigned long wear = erase_block_wear[i]; in ns_show() local 466 if (wear <= decile_max[d]) { in ns_show() 473 /* Output wear repor in ns_show() [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdswap.c | 4 * Turns an MTD device into a swap device with block wear leveling 43 * Wear level cost amortization. We want to do wear leveling on the background 46 * on the biggest wear difference rather than the biggest dirtiness. 804 unsigned int i, idx = -1, wear, max; in mtdswap_choose_wl_tree() local 813 wear = d->max_erase_count - MTDSWAP_ECNT_MIN(root); in mtdswap_choose_wl_tree() 814 if (wear > max) { in mtdswap_choose_wl_tree() 815 max = wear; in mtdswap_choose_wl_tree()
|
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | mtdswap.c | 4 * Turns an MTD device into a swap device with block wear leveling 43 * Wear level cost amortization. We want to do wear leveling on the background 46 * on the biggest wear difference rather than the biggest dirtiness. 803 unsigned int i, idx = -1, wear, max; in mtdswap_choose_wl_tree() local 812 wear = d->max_erase_count - MTDSWAP_ECNT_MIN(root); in mtdswap_choose_wl_tree() 813 if (wear > max) { in mtdswap_choose_wl_tree() 814 max = wear; in mtdswap_choose_wl_tree()
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | docg3.c | 391 * band data (16 bytes). For each, 4 more bytes can be accessed, where the wear 450 * @wear: if true, read will occur on the 4 extra bytes of the wear area 454 * Alternatively, programs the flash to the wear area of the specified page. 457 int wear, int ofs) in doc_read_seek() 461 doc_dbg("doc_seek(blocks=(%d,%d), page=%d, ofs=%d, wear=%d)\n", in doc_read_seek() 462 block0, block1, page, ofs, wear); in doc_read_seek() 464 if (!wear && (ofs < 2 * DOC_LAYOUT_PAGE_SIZE)) { in doc_read_seek() 475 if (wear) in doc_read_seek() 503 * Alternatively, programs the flash to the wear are 456 doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, int wear, int ofs) doc_read_seek() argument [all...] |
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | docg3.c | 391 * band data (16 bytes). For each, 4 more bytes can be accessed, where the wear 450 * @wear: if true, read will occur on the 4 extra bytes of the wear area 454 * Alternatively, programs the flash to the wear area of the specified page. 457 int wear, int ofs) in doc_read_seek() 461 doc_dbg("doc_seek(blocks=(%d,%d), page=%d, ofs=%d, wear=%d)\n", in doc_read_seek() 462 block0, block1, page, ofs, wear); in doc_read_seek() 464 if (!wear && (ofs < 2 * DOC_LAYOUT_PAGE_SIZE)) { in doc_read_seek() 475 if (wear) in doc_read_seek() 503 * Alternatively, programs the flash to the wear are 456 doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, int wear, int ofs) doc_read_seek() argument [all...] |
Completed in 11 milliseconds