Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mtd/
Dmtdswap.c172 #define MIN_SPARE_EBLOCKS 2 macro
173 #define MIN_ERASE_BLOCKS (MIN_SPARE_EBLOCKS + 1)
791 if (d->spare_eblks < MIN_SPARE_EBLOCKS) in mtdswap_gc_eblock()
992 if (d->spare_eblks < MIN_SPARE_EBLOCKS) in mtdswap_gc()
1079 if (d->spare_eblks < MIN_SPARE_EBLOCKS) in mtdswap_writesect()
1490 if (spare_cnt < MIN_SPARE_EBLOCKS) in mtdswap_add_mtd()
1491 spare_cnt = MIN_SPARE_EBLOCKS; in mtdswap_add_mtd()