Home
last modified time | relevance | path

Searched refs:tdat (Results 1 – 2 of 2) sorted by relevance

/external/fio/lib/
Dtp.c43 struct tp_data *tdat = data; in tp_thread() local
49 pthread_mutex_lock(&tdat->lock); in tp_thread()
51 if (!tdat->thread_exit && flist_empty(&tdat->work)) in tp_thread()
52 pthread_cond_wait(&tdat->cv, &tdat->lock); in tp_thread()
54 if (!flist_empty(&tdat->work)) in tp_thread()
55 flist_splice_tail_init(&tdat->work, &work_list); in tp_thread()
57 pthread_mutex_unlock(&tdat->lock); in tp_thread()
60 if (tdat->thread_exit) in tp_thread()
71 void tp_queue_work(struct tp_data *tdat, struct tp_work *work) in tp_queue_work() argument
75 pthread_mutex_lock(&tdat->lock); in tp_queue_work()
[all …]
/external/fio/
Diolog.c1091 struct tp_data *tdat = log->td->tp_data; in iolog_flush() local
1121 tp_queue_work(tdat, &data->work); in iolog_flush()