Searched refs:runstate (Results 1 – 8 of 8) sorted by relevance
170 void td_set_runstate(struct thread_data *td, int runstate) in td_set_runstate() argument172 if (td->runstate == runstate) in td_set_runstate()176 td->runstate, runstate); in td_set_runstate()177 td->runstate = runstate; in td_set_runstate()182 int old_state = td->runstate; in td_bump_runstate()224 else if (td->runstate < TD_RAMP) in fio_terminate_threads()244 if (td->runstate < TD_EXITED) in fio_running_or_pending_io_threads()
38 switch (td->runstate) { in check_str_update()110 log_err("state %d\n", td->runstate); in check_str_update()193 if (td->runstate == TD_RUNNING || td->runstate == TD_VERIFYING) { in thread_eta()224 } else if (td->runstate == TD_NOT_CREATED || td->runstate == TD_CREATED in thread_eta()225 || td->runstate == TD_INITIALIZED in thread_eta()226 || td->runstate == TD_SETTING_UP in thread_eta()227 || td->runstate == TD_RAMP in thread_eta()228 || td->runstate == TD_PRE_READING) { in thread_eta()367 if (td->runstate == TD_RUNNING || td->runstate == TD_VERIFYING in calc_thread_status()368 || td->runstate == TD_FSYNCING in calc_thread_status()[all …]
1707 if (td->runstate == TD_REAPED) in reap_threads()1710 if (td->runstate == TD_EXITED) { in reap_threads()1718 if (td->runstate == TD_EXITED) in reap_threads()1728 (int) td->pid, td->runstate); in reap_threads()1961 if (td->runstate != TD_NOT_CREATED) in run_threads()2053 if (td->runstate == TD_INITIALIZED) { in run_threads()2056 } else if (td->runstate >= TD_EXITED) { in run_threads()2081 if (td->runstate != TD_INITIALIZED) in run_threads()
158 volatile int runstate; member
184 if (td->runstate != TD_VERIFYING) in should_sort_io()1676 if (ramp_time_over(td) && (td->runstate == TD_RUNNING || in io_completed()1677 td->runstate == TD_VERIFYING)) { in io_completed()
1467 if (td->runstate >= TD_EXITED) in __show_running_run_stats()
106 std::string runstate = in CheckForNextProcess() local108 if (runstate.size() != 1) { in CheckForNextProcess()115 if (runstate[0] != 'Z') in CheckForNextProcess()
838 state = td->runstate; in fio_netio_accept()997 state = td->runstate; in fio_netio_open_file()