Home
last modified time | relevance | path

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

/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_checkptrw.c19 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()
H A Dyaffs_yaffs1.c73 dev->n_erased_blocks++; in yaffs1_scan()
118 dev->n_erased_blocks++; in yaffs1_scan()
H A Dyaffs_yaffs2.c283 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()
H A Dyaffs_verify.c149 if (dev->n_erased_blocks != state_count[YAFFS_BLOCK_STATE_EMPTY]) in yaffs_verify_blocks()
152 dev->n_erased_blocks, in yaffs_verify_blocks()
H A Dyaffs_guts.c377 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 …]
H A Dyaffs_guts.h681 int n_erased_blocks; member
790 int n_erased_blocks; member