Lines Matching refs:bse
362 struct blockif_sig_elem *bse;
370 bse = blockif_bse_head;
371 if (bse == NULL)
374 (uintptr_t)bse,
375 (uintptr_t)bse->bse_next));
377 pthread_mutex_lock(&bse->bse_mtx);
378 bse->bse_pending = 0;
379 pthread_cond_signal(&bse->bse_cond);
380 pthread_mutex_unlock(&bse->bse_mtx);
661 struct blockif_sig_elem bse, *old_head;
663 pthread_mutex_init(&bse.bse_mtx, NULL);
664 pthread_cond_init(&bse.bse_cond, NULL);
666 bse.bse_pending = 1;
670 bse.bse_next = old_head;
673 (uintptr_t)&bse));
677 pthread_mutex_lock(&bse.bse_mtx);
678 while (bse.bse_pending)
679 pthread_cond_wait(&bse.bse_cond, &bse.bse_mtx);
680 pthread_mutex_unlock(&bse.bse_mtx);