eavailable       1347 drivers/mtd/mtdswap.c 	unsigned int eblocks, eavailable, bad_blocks, spare_cnt;
eavailable       1400 drivers/mtd/mtdswap.c 	eavailable = eblocks - bad_blocks;
eavailable       1402 drivers/mtd/mtdswap.c 	if (eavailable < MIN_ERASE_BLOCKS) {
eavailable       1404 drivers/mtd/mtdswap.c 			"%d needed\n", MTDSWAP_PREFIX, eavailable,
eavailable       1409 drivers/mtd/mtdswap.c 	spare_cnt = div_u64((uint64_t)eavailable * spare_eblocks, 100);
eavailable       1414 drivers/mtd/mtdswap.c 	if (spare_cnt > eavailable - 1)
eavailable       1415 drivers/mtd/mtdswap.c 		spare_cnt = eavailable - 1;
eavailable       1417 drivers/mtd/mtdswap.c 	swap_size = (uint64_t)(eavailable - spare_cnt) * mtd->erasesize +