Lines Matching refs:runstate
38 switch (td->runstate) {
110 log_err("state %d\n", td->runstate);
193 if (td->runstate == TD_RUNNING || td->runstate == TD_VERIFYING) {
224 } else if (td->runstate == TD_NOT_CREATED || td->runstate == TD_CREATED
225 || td->runstate == TD_INITIALIZED
226 || td->runstate == TD_SETTING_UP
227 || td->runstate == TD_RAMP
228 || td->runstate == TD_PRE_READING) {
367 if (td->runstate == TD_RUNNING || td->runstate == TD_VERIFYING
368 || td->runstate == TD_FSYNCING
369 || td->runstate == TD_PRE_READING
370 || td->runstate == TD_FINISHING) {
392 } else if (td->runstate == TD_RAMP) {
395 } else if (td->runstate == TD_SETTING_UP)
397 else if (td->runstate < TD_RUNNING)
407 if (td->runstate > TD_SETTING_UP) {