Lines Matching refs:disc_work
101 static struct work_list disc_work;
260 pthread_mutex_lock(&disc_work.lock);
261 if (__list_empty(&disc_work))
262 pthread_cond_wait(&disc_work.cond, &disc_work.lock);
263 work = __list_remove_head(&disc_work);
264 pthread_mutex_unlock(&disc_work.lock);
337 list_add_tail(&disc_work, request);
420 INIT_LIST(&disc_work.list);
427 ret = pthread_mutex_init(&disc_work.lock, NULL);
439 ret = pthread_cond_init(&disc_work.cond, NULL);