Home
last modified time | relevance | path

Searched refs:runstate (Results 1 – 7 of 7) sorted by relevance

/external/fio/
Dlibfio.c170 void td_set_runstate(struct thread_data *td, int runstate) in td_set_runstate() argument
172 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()
Deta.c38 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 …]
Dbackend.c1707 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()
Dfio.h158 volatile int runstate; member
Dio_u.c184 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()
Dstat.c1467 if (td->runstate >= TD_EXITED) in __show_running_run_stats()
/external/fio/engines/
Dnet.c838 state = td->runstate; in fio_netio_accept()
997 state = td->runstate; in fio_netio_open_file()