Lines Matching defs:bes
501 static sqlite_backend_t *bes[BACKEND_TYPE_TOTAL];
506 * bes[BACKEND_TYPE_NORMAL]->be_lock.
552 if (bes[i] != NULL &&
553 bes[i]->be_thread == pthread_self())
554 (void) pthread_mutex_unlock(&bes[i]->be_lock);
565 if (bes[i] != NULL && bes[i]->be_thread == pthread_self())
566 (void) pthread_mutex_unlock(&bes[i]->be_lock);
579 if (bes[i] != NULL && bes[i]->be_thread != pthread_self()) {
580 if (pthread_mutex_reltimedlock_np(&bes[i]->be_lock,
1261 assert(be == bes[BACKEND_TYPE_NORMAL]);
1362 be = bes[t];
1431 bes[backend_id] = be;