Lines Matching refs:free_sectors
65 int free_sectors; member
116 block->free_sectors++; in build_block_map()
145 if (block->free_sectors == part->data_sectors_per_block) in build_block_map()
284 part->blocks[block].free_sectors = 0; in erase_block()
292 part->blocks[block].free_sectors = 0; in erase_block()
299 part->blocks[block].free_sectors = part->data_sectors_per_block; in erase_block()
436 if (part->blocks[block].free_sectors) in reclaim_block()
467 part->blocks[best_block].free_sectors); in reclaim_block()
491 if (part->blocks[block].free_sectors && in find_free_block()
578 !part->blocks[block].free_sectors) in mark_sector_deleted()
589 i = stop = part->data_sectors_per_block - block->free_sectors; in find_free_sector()
615 !part->blocks[part->current_block].free_sectors) { in do_writesect()
664 block->free_sectors--; in do_writesect()