Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/librdmacm/examples/
H A Dcmtime.c101 static struct work_list disc_work; variable
260 pthread_mutex_lock(&disc_work.lock); in disc_handler_thread()
261 if (__list_empty(&disc_work)) in disc_handler_thread()
262 pthread_cond_wait(&disc_work.cond, &disc_work.lock); in disc_handler_thread()
263 work = __list_remove_head(&disc_work); in disc_handler_thread()
264 pthread_mutex_unlock(&disc_work.lock); in disc_handler_thread()
337 list_add_tail(&disc_work, request); in cma_handler()
420 INIT_LIST(&disc_work.list); in run_server()
427 ret = pthread_mutex_init(&disc_work.lock, NULL); in run_server()
439 ret = pthread_cond_init(&disc_work.cond, NULL); in run_server()