Searched refs:n_erased_blocks (Results 1 – 6 of 6) sorted by relevance
19 int blocks_avail = dev->n_erased_blocks - dev->param.n_reserved_blocks; in yaffs2_checkpt_space_ok()49 dev->n_erased_blocks++; in yaffs_checkpt_erase()67 int blocks_avail = dev->n_erased_blocks - dev->param.n_reserved_blocks; in yaffs2_checkpt_find_erased_block()71 dev->n_erased_blocks, dev->param.n_reserved_blocks, in yaffs2_checkpt_find_erased_block()384 dev->n_erased_blocks -= dev->blocks_in_checkpt; in yaffs_checkpt_close()
73 dev->n_erased_blocks++; in yaffs1_scan()118 dev->n_erased_blocks++; in yaffs1_scan()
283 cp->n_erased_blocks = dev->n_erased_blocks; in yaffs2_dev_to_checkpt_dev()298 dev->n_erased_blocks = cp->n_erased_blocks; in yaffs_checkpt_dev_to_dev()988 dev->n_erased_blocks++; in yaffs2_scan_chunk()1415 dev->n_erased_blocks++; in yaffs2_scan_backwards()
149 if (dev->n_erased_blocks != state_count[YAFFS_BLOCK_STATE_EMPTY]) in yaffs_verify_blocks()152 dev->n_erased_blocks, in yaffs_verify_blocks()
377 if (dev->n_erased_blocks < 1) { in yaffs_find_alloc_block()402 dev->n_erased_blocks--; in yaffs_find_alloc_block()406 dev->n_erased_blocks); in yaffs_find_alloc_block()413 dev->n_erased_blocks); in yaffs_find_alloc_block()435 if (dev->n_erased_blocks < dev->param.n_reserved_blocks in yaffs_alloc_chunk()2371 dev->n_erased_blocks++; in yaffs_block_became_dirty()2829 if (dev->n_erased_blocks < min_erased) in yaffs_check_gc()2871 dev->n_erased_blocks, aggressive); in yaffs_check_gc()2880 dev->n_erased_blocks, max_tries, in yaffs_check_gc()4748 dev->n_erased_blocks = 0; in yaffs_guts_initialise()[all …]
681 int n_erased_blocks; member790 int n_erased_blocks; member