Searched refs:erased_chunks (Results 1 - 2 of 2) sorted by relevance

/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_guts.c2861 int erased_chunks; local
2883 erased_chunks =
2891 && erased_chunks > (dev->n_free_chunks / 4))
2896 if (erased_chunks < dev->n_free_chunks / 2 ||
2954 int erased_chunks = dev->n_erased_blocks * dev->param.chunks_per_block; local
2959 return erased_chunks > dev->n_free_chunks / 2;
H A Dyaffs_vfs.c2021 unsigned erased_chunks = local
2026 if (erased_chunks < dev->n_free_chunks)
2027 scattered = (dev->n_free_chunks - erased_chunks);
2033 else if (erased_chunks > dev->n_free_chunks / 2)
2035 else if (erased_chunks > dev->n_free_chunks / 4)

Completed in 46 milliseconds