Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/
H A Dmtdswap.c157 #define MIN_SPARE_EBLOCKS 2 macro
158 #define MIN_ERASE_BLOCKS (MIN_SPARE_EBLOCKS + 1)
742 if (d->spare_eblks < MIN_SPARE_EBLOCKS) in mtdswap_gc_eblock()
943 if (d->spare_eblks < MIN_SPARE_EBLOCKS) in mtdswap_gc()
1030 if (d->spare_eblks < MIN_SPARE_EBLOCKS) in mtdswap_writesect()
1405 if (spare_cnt < MIN_SPARE_EBLOCKS) in mtdswap_add_mtd()
1406 spare_cnt = MIN_SPARE_EBLOCKS; in mtdswap_add_mtd()
/kernel/linux/linux-6.6/drivers/mtd/
H A Dmtdswap.c157 #define MIN_SPARE_EBLOCKS 2 macro
158 #define MIN_ERASE_BLOCKS (MIN_SPARE_EBLOCKS + 1)
741 if (d->spare_eblks < MIN_SPARE_EBLOCKS) in mtdswap_gc_eblock()
942 if (d->spare_eblks < MIN_SPARE_EBLOCKS) in mtdswap_gc()
1029 if (d->spare_eblks < MIN_SPARE_EBLOCKS) in mtdswap_writesect()
1403 if (spare_cnt < MIN_SPARE_EBLOCKS) in mtdswap_add_mtd()
1404 spare_cnt = MIN_SPARE_EBLOCKS; in mtdswap_add_mtd()

Completed in 4 milliseconds