Searched refs:read_mutex (Results 1 – 2 of 2) sorted by relevance
127 kmutex_t read_mutex; member376 mutex_init(&xbs->read_mutex, NULL, MUTEX_DRIVER, NULL); in xenbusdrv_open()419 mutex_destroy(&xbs->read_mutex); in xenbusdrv_close()452 mutex_enter(&xbs->read_mutex); in xenbusdrv_read()456 if (cv_wait_sig(&xbs->read_cv, &xbs->read_mutex) == 0) { in xenbusdrv_read()457 mutex_exit(&xbs->read_mutex); in xenbusdrv_read()474 mutex_exit(&xbs->read_mutex); in xenbusdrv_read()491 mutex_enter(&xbs->read_mutex); in xenbusdrv_queue_reply()497 mutex_exit(&xbs->read_mutex); in xenbusdrv_queue_reply()513 mutex_exit(&xbs->read_mutex); in xenbusdrv_queue_reply()
51 static pthread_mutex_t read_mutex = {0}; variable228 mutex_lock(&read_mutex); \230 mutex_unlock(&read_mutex); \383 mutex_lock(&read_mutex); in process()387 mutex_unlock(&read_mutex); in process()1213 mutex_lock(&read_mutex); 1216 mutex_unlock(&read_mutex); 1250 mutex_unlock(&read_mutex); 1260 mutex_unlock(&read_mutex);