Searched refs:tdat (Results 1 – 2 of 2) sorted by relevance
43 struct tp_data *tdat = data; in tp_thread() local49 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() argument75 pthread_mutex_lock(&tdat->lock); in tp_queue_work()[all …]
1091 struct tp_data *tdat = log->td->tp_data; in iolog_flush() local1121 tp_queue_work(tdat, &data->work); in iolog_flush()