Searched refs:work_cv (Results 1 – 4 of 4) sorted by relevance
505 #define NFS_WAKE_ASYNC_WORKER(work_cv) { \ argument506 if (CV_HAS_WAITERS(&work_cv[NFS_ASYNC_QUEUE])) \507 cv_signal(&work_cv[NFS_ASYNC_QUEUE]); \508 else if (CV_HAS_WAITERS(&work_cv[NFS_ASYNC_PGOPS_QUEUE])) \509 cv_signal(&work_cv[NFS_ASYNC_PGOPS_QUEUE]); \512 #define NFS_WAKEALL_ASYNC_WORKERS(work_cv) { \ argument513 cv_broadcast(&work_cv[NFS_ASYNC_QUEUE]); \514 cv_broadcast(&work_cv[NFS_ASYNC_PGOPS_QUEUE]); \
88 #define NFS4_WAKE_ASYNC_WORKER(work_cv) { \ argument89 if (CV_HAS_WAITERS(&work_cv[NFS4_ASYNC_QUEUE])) \90 cv_signal(&work_cv[NFS4_ASYNC_QUEUE]); \91 else if (CV_HAS_WAITERS(&work_cv[NFS4_ASYNC_PGOPS_QUEUE])) \92 cv_signal(&work_cv[NFS4_ASYNC_PGOPS_QUEUE]); \95 #define NFS4_WAKEALL_ASYNC_WORKERS(work_cv) { \ argument96 cv_broadcast(&work_cv[NFS4_ASYNC_QUEUE]); \97 cv_broadcast(&work_cv[NFS4_ASYNC_PGOPS_QUEUE]); \
87 kcondvar_t work_cv; /* synchronize deferred thread */ member
219 cv_init(&work_queue.work_cv, NULL, CV_DEFAULT, NULL); in rsmka_pathmanager_init()246 cv_signal(&work_queue.work_cv); in rsmka_pathmanager_cleanup()261 cv_destroy(&work_queue.work_cv); in rsmka_pathmanager_cleanup()336 cv_wait(&work_queue.work_cv, &work_queue.work_mutex); in do_deferred_work()579 cv_signal(&work_queue.work_cv); in enqueue_work()1322 cv_signal(&work_queue.work_cv); in rsmka_disconnect_node()