Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dmtdswap.c172 static unsigned int spare_eblocks = 10; variable
173 module_param(spare_eblocks, uint, 0444);
174 MODULE_PARM_DESC(spare_eblocks, "Percentage of spare erase blocks for "
1377 if (spare_eblocks > 100) in mtdswap_add_mtd()
1378 spare_eblocks = 100; in mtdswap_add_mtd()
1401 spare_cnt = div_u64((uint64_t)eavailable * spare_eblocks, 100); in mtdswap_add_mtd()