Searched refs:state_count (Results 1 – 2 of 2) 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 …]
948 mach_msg_type_number_t state_count in WriteThreadStream() local951 if (GetThreadState(thread_id, state, &state_count)) { in WriteThreadStream()1133 mach_msg_type_number_t state_count in WriteExceptionStream() local1136 if (!GetThreadState(exception_thread_, state, &state_count)) in WriteExceptionStream()