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

/openwrt/target/linux/generic/files/fs/yaffs2/
H A Dyaffs_guts.c2748 int max_threshold; local
2751 max_threshold = dev->param.chunks_per_block / 2;
2753 max_threshold = dev->param.chunks_per_block / 8;
2755 if (max_threshold < YAFFS_GC_PASSIVE_THRESHOLD)
2756 max_threshold = YAFFS_GC_PASSIVE_THRESHOLD;
2761 if (threshold > max_threshold)
2762 threshold = max_threshold;

Completed in 82 milliseconds