Lines Matching defs:bse
361 struct blockif_sig_elem *bse;
369 bse = blockif_bse_head;
370 if (bse == NULL)
373 (uintptr_t)bse,
374 (uintptr_t)bse->bse_next));
376 pthread_mutex_lock(&bse->bse_mtx);
377 bse->bse_pending = 0;
378 pthread_cond_signal(&bse->bse_cond);
379 pthread_mutex_unlock(&bse->bse_mtx);
660 struct blockif_sig_elem bse, *old_head;
662 pthread_mutex_init(&bse.bse_mtx, NULL);
663 pthread_cond_init(&bse.bse_cond, NULL);
665 bse.bse_pending = 1;
669 bse.bse_next = old_head;
672 (uintptr_t)&bse));
676 pthread_mutex_lock(&bse.bse_mtx);
677 while (bse.bse_pending)
678 pthread_cond_wait(&bse.bse_cond, &bse.bse_mtx);
679 pthread_mutex_unlock(&bse.bse_mtx);