Searched refs:req_work (Results 1 – 1 of 1) sorted by relevance
100 static struct work_list req_work; variable245 pthread_mutex_lock(&req_work.lock); in req_handler_thread()246 if (__list_empty(&req_work)) in req_handler_thread()247 pthread_cond_wait(&req_work.cond, &req_work.lock); in req_handler_thread()248 work = __list_remove_head(&req_work); in req_handler_thread()249 pthread_mutex_unlock(&req_work.lock); in req_handler_thread()293 list_add_tail(&req_work, request); in cma_handler()419 INIT_LIST(&req_work.list); in run_server()421 ret = pthread_mutex_init(&req_work.lock, NULL); in run_server()433 ret = pthread_cond_init(&req_work.cond, NULL); in run_server()