Searched defs:wear (Results 1 - 3 of 3) sorted by relevance
/drivers/mtd/devices/ |
H A D | docg3.c | 382 * band data (16 bytes). For each, 4 more bytes can be accessed, where the wear 441 * @wear: if true, read will occur on the 4 extra bytes of the wear area 445 * Alternatively, programs the flash to the wear area of the specified page. 448 int wear, int ofs) 452 doc_dbg("doc_seek(blocks=(%d,%d), page=%d, ofs=%d, wear=%d)\n", 453 block0, block1, page, ofs, wear); 455 if (!wear && (ofs < 2 * DOC_LAYOUT_PAGE_SIZE)) { 466 if (wear) 494 * Alternatively, programs the flash to the wear are 447 doc_read_seek(struct docg3 *docg3, int block0, int block1, int page, int wear, int ofs) argument [all...] |
/drivers/mtd/ |
H A D | mtdswap.c | 3 * Turns an MTD device into a swap device with block wear leveling 56 * Wear level cost amortization. We want to do wear leveling on the background 59 * on the biggest wear difference rather than the biggest dirtiness. 853 unsigned int i, idx = -1, wear, max; local 862 wear = d->max_erase_count - MTDSWAP_ECNT_MIN(root); 863 if (wear > max) { 864 max = wear;
|
/drivers/mtd/nand/ |
H A D | nandsim.c | 165 MODULE_PARM_DESC(rptwear, "Number of erases between reporting wear, if not zero"); 930 NS_ERR("Too many erase blocks for wear reporting\n"); 935 NS_ERR("Too many erase blocks for wear reporting\n"); 959 /* Calc wear stats */ 961 unsigned long wear = erase_block_wear[i]; local 962 if (wear < wmin) 963 wmin = wear; 964 if (wear > wmax) 965 wmax = wear; 966 tot += wear; 976 unsigned long wear = erase_block_wear[i]; local [all...] |
Completed in 148 milliseconds