Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Drfd_ftl.c409 int block, best_block, score, old_sector_block; in reclaim_block() local
416 best_block = -1; in reclaim_block()
450 best_block = block; in reclaim_block()
455 if (best_block == -1) in reclaim_block()
459 part->reserved_block = best_block; in reclaim_block()
462 "%d free sectors\n", best_block, in reclaim_block()
463 part->blocks[best_block].used_sectors, in reclaim_block()
464 part->blocks[best_block].free_sectors); in reclaim_block()
466 if (part->blocks[best_block].used_sectors) in reclaim_block()
467 rc = move_block_contents(part, best_block, old_sector); in reclaim_block()
[all …]