Searched refs:state_count (Results 1 – 1 of 1) sorted by relevance
111 int state_count[YAFFS_NUMBER_OF_BLOCK_STATES]; in yaffs_verify_blocks() local117 memset(state_count, 0, sizeof(state_count)); in yaffs_verify_blocks()124 state_count[bi->block_state]++; in yaffs_verify_blocks()134 if (state_count[YAFFS_BLOCK_STATE_ALLOCATING] > 1) in yaffs_verify_blocks()141 block_state_name[i], state_count[i]); in yaffs_verify_blocks()143 if (dev->blocks_in_checkpt != state_count[YAFFS_BLOCK_STATE_CHECKPOINT]) in yaffs_verify_blocks()147 state_count[YAFFS_BLOCK_STATE_CHECKPOINT]); in yaffs_verify_blocks()149 if (dev->n_erased_blocks != state_count[YAFFS_BLOCK_STATE_EMPTY]) in yaffs_verify_blocks()153 state_count[YAFFS_BLOCK_STATE_EMPTY]); in yaffs_verify_blocks()155 if (state_count[YAFFS_BLOCK_STATE_COLLECTING] > 1) in yaffs_verify_blocks()[all …]
Completed in 3 milliseconds