Lines Matching refs:sqlite3_mutex_held
30 assert( sqlite3_mutex_held(p->db->mutex) ); in lockBtreeMutex()
44 assert( sqlite3_mutex_held(pBt->mutex) ); in unlockBtreeMutex()
45 assert( sqlite3_mutex_held(p->db->mutex) ); in unlockBtreeMutex()
87 assert( sqlite3_mutex_held(p->db->mutex) ); in sqlite3BtreeEnter()
144 assert( sqlite3_mutex_held(p->db->mutex) ); in sqlite3BtreeLeave()
164 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->pBt->mutex) ); in sqlite3BtreeHoldsMutex()
165 assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->db->mutex) ); in sqlite3BtreeHoldsMutex()
190 assert( sqlite3_mutex_held(db->mutex) ); in btreeEnterAll()
206 assert( sqlite3_mutex_held(db->mutex) ); in btreeLeaveAll()
225 if( !sqlite3_mutex_held(db->mutex) ){ in sqlite3BtreeHoldsAllMutexes()
232 (p->wantToLock==0 || !sqlite3_mutex_held(p->pBt->mutex)) ){ in sqlite3BtreeHoldsAllMutexes()
257 if( !sqlite3_mutex_held(db->mutex) ) return 0; in sqlite3SchemaMutexHeld()