SHARED_LOCK      22682 sqlite3/libsqlite/sqlite3.c   assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK );
SHARED_LOCK      22684 sqlite3/libsqlite/sqlite3.c   assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK );
SHARED_LOCK      22709 sqlite3/libsqlite/sqlite3.c   if( locktype==SHARED_LOCK && res == NO_ERROR ){
SHARED_LOCK      22713 sqlite3/libsqlite/sqlite3.c       newLocktype = SHARED_LOCK;
SHARED_LOCK      22721 sqlite3/libsqlite/sqlite3.c     assert( pFile->locktype==SHARED_LOCK );
SHARED_LOCK      22745 sqlite3/libsqlite/sqlite3.c     assert( pFile->locktype>=SHARED_LOCK );
SHARED_LOCK      22765 sqlite3/libsqlite/sqlite3.c   if( gotPendingLock && locktype==SHARED_LOCK ){
SHARED_LOCK      22851 sqlite3/libsqlite/sqlite3.c   assert( locktype<=SHARED_LOCK );
SHARED_LOCK      22861 sqlite3/libsqlite/sqlite3.c     if( locktype==SHARED_LOCK && getReadLock(pFile) != NO_ERROR ){
SHARED_LOCK      22876 sqlite3/libsqlite/sqlite3.c   if( locktype==NO_LOCK && type>=SHARED_LOCK ){
SHARED_LOCK      24996 sqlite3/libsqlite/sqlite3.c     case SHARED_LOCK: return "SHARED";
SHARED_LOCK      25679 sqlite3/libsqlite/sqlite3.c   if( pFile->pInode->eFileLock>SHARED_LOCK ){
SHARED_LOCK      25844 sqlite3/libsqlite/sqlite3.c   assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK );
SHARED_LOCK      25846 sqlite3/libsqlite/sqlite3.c   assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK );
SHARED_LOCK      25857 sqlite3/libsqlite/sqlite3.c           (pInode->eFileLock>=PENDING_LOCK || eFileLock>SHARED_LOCK))
SHARED_LOCK      25867 sqlite3/libsqlite/sqlite3.c   if( eFileLock==SHARED_LOCK && 
SHARED_LOCK      25868 sqlite3/libsqlite/sqlite3.c       (pInode->eFileLock==SHARED_LOCK || pInode->eFileLock==RESERVED_LOCK) ){
SHARED_LOCK      25869 sqlite3/libsqlite/sqlite3.c     assert( eFileLock==SHARED_LOCK );
SHARED_LOCK      25872 sqlite3/libsqlite/sqlite3.c     pFile->eFileLock = SHARED_LOCK;
SHARED_LOCK      25885 sqlite3/libsqlite/sqlite3.c   if( eFileLock==SHARED_LOCK 
SHARED_LOCK      25888 sqlite3/libsqlite/sqlite3.c     lock.l_type = (eFileLock==SHARED_LOCK?F_RDLCK:F_WRLCK);
SHARED_LOCK      25904 sqlite3/libsqlite/sqlite3.c   if( eFileLock==SHARED_LOCK ){
SHARED_LOCK      25933 sqlite3/libsqlite/sqlite3.c       pFile->eFileLock = SHARED_LOCK;
SHARED_LOCK      25975 sqlite3/libsqlite/sqlite3.c    && pFile->eFileLock<=SHARED_LOCK
SHARED_LOCK      26038 sqlite3/libsqlite/sqlite3.c   assert( eFileLock<=SHARED_LOCK );
SHARED_LOCK      26046 sqlite3/libsqlite/sqlite3.c   if( pFile->eFileLock>SHARED_LOCK ){
SHARED_LOCK      26078 sqlite3/libsqlite/sqlite3.c     if( eFileLock==SHARED_LOCK ){
SHARED_LOCK      26150 sqlite3/libsqlite/sqlite3.c       pInode->eFileLock = SHARED_LOCK;
SHARED_LOCK      26363 sqlite3/libsqlite/sqlite3.c   if( pFile->eFileLock>SHARED_LOCK ){
SHARED_LOCK      26463 sqlite3/libsqlite/sqlite3.c   assert( eFileLock<=SHARED_LOCK );
SHARED_LOCK      26473 sqlite3/libsqlite/sqlite3.c   if( eFileLock==SHARED_LOCK ){
SHARED_LOCK      26474 sqlite3/libsqlite/sqlite3.c     pFile->eFileLock = SHARED_LOCK;
SHARED_LOCK      26558 sqlite3/libsqlite/sqlite3.c   if( pFile->eFileLock>SHARED_LOCK ){
SHARED_LOCK      26680 sqlite3/libsqlite/sqlite3.c   assert( eFileLock<=SHARED_LOCK );
SHARED_LOCK      26688 sqlite3/libsqlite/sqlite3.c   if (eFileLock==SHARED_LOCK) {
SHARED_LOCK      26748 sqlite3/libsqlite/sqlite3.c   if( pFile->eFileLock>SHARED_LOCK ){
SHARED_LOCK      26764 sqlite3/libsqlite/sqlite3.c         reserved = (pFile->eFileLock < SHARED_LOCK);
SHARED_LOCK      26848 sqlite3/libsqlite/sqlite3.c   assert( eFileLock<=SHARED_LOCK );
SHARED_LOCK      26856 sqlite3/libsqlite/sqlite3.c   if (eFileLock==SHARED_LOCK) {
SHARED_LOCK      26998 sqlite3/libsqlite/sqlite3.c   if( pFile->pInode->eFileLock>SHARED_LOCK ){
SHARED_LOCK      27077 sqlite3/libsqlite/sqlite3.c   assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK );
SHARED_LOCK      27079 sqlite3/libsqlite/sqlite3.c   assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK );
SHARED_LOCK      27090 sqlite3/libsqlite/sqlite3.c        (pInode->eFileLock>=PENDING_LOCK || eFileLock>SHARED_LOCK))
SHARED_LOCK      27100 sqlite3/libsqlite/sqlite3.c   if( eFileLock==SHARED_LOCK && 
SHARED_LOCK      27101 sqlite3/libsqlite/sqlite3.c      (pInode->eFileLock==SHARED_LOCK || pInode->eFileLock==RESERVED_LOCK) ){
SHARED_LOCK      27102 sqlite3/libsqlite/sqlite3.c     assert( eFileLock==SHARED_LOCK );
SHARED_LOCK      27105 sqlite3/libsqlite/sqlite3.c     pFile->eFileLock = SHARED_LOCK;
SHARED_LOCK      27115 sqlite3/libsqlite/sqlite3.c   if( eFileLock==SHARED_LOCK 
SHARED_LOCK      27129 sqlite3/libsqlite/sqlite3.c   if( eFileLock==SHARED_LOCK ){
SHARED_LOCK      27159 sqlite3/libsqlite/sqlite3.c       pFile->eFileLock = SHARED_LOCK;
SHARED_LOCK      27248 sqlite3/libsqlite/sqlite3.c   assert( eFileLock<=SHARED_LOCK );
SHARED_LOCK      27255 sqlite3/libsqlite/sqlite3.c   if( pFile->eFileLock>SHARED_LOCK ){
SHARED_LOCK      27278 sqlite3/libsqlite/sqlite3.c       if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){
SHARED_LOCK      27295 sqlite3/libsqlite/sqlite3.c     if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){
SHARED_LOCK      27296 sqlite3/libsqlite/sqlite3.c       pInode->eFileLock = SHARED_LOCK;
SHARED_LOCK      30443 sqlite3/libsqlite/sqlite3.c           rc = conchFile->pMethod->xLock((sqlite3_file*)conchFile, SHARED_LOCK);          
SHARED_LOCK      30488 sqlite3/libsqlite/sqlite3.c     rc = proxyConchLock(pFile, myHostID, SHARED_LOCK);
SHARED_LOCK      30617 sqlite3/libsqlite/sqlite3.c       conchFile->pMethod->xUnlock((sqlite3_file*)conchFile, SHARED_LOCK);
SHARED_LOCK      32533 sqlite3/libsqlite/sqlite3.c   assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK );
SHARED_LOCK      32535 sqlite3/libsqlite/sqlite3.c   assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK );
SHARED_LOCK      32562 sqlite3/libsqlite/sqlite3.c   if( locktype==SHARED_LOCK && res ){
SHARED_LOCK      32566 sqlite3/libsqlite/sqlite3.c       newLocktype = SHARED_LOCK;
SHARED_LOCK      32575 sqlite3/libsqlite/sqlite3.c     assert( pFile->locktype==SHARED_LOCK );
SHARED_LOCK      32594 sqlite3/libsqlite/sqlite3.c     assert( pFile->locktype>=SHARED_LOCK );
SHARED_LOCK      32610 sqlite3/libsqlite/sqlite3.c   if( gotPendingLock && locktype==SHARED_LOCK ){
SHARED_LOCK      32672 sqlite3/libsqlite/sqlite3.c   assert( locktype<=SHARED_LOCK );
SHARED_LOCK      32678 sqlite3/libsqlite/sqlite3.c     if( locktype==SHARED_LOCK && !getReadLock(pFile) ){
SHARED_LOCK      32687 sqlite3/libsqlite/sqlite3.c   if( locktype==NO_LOCK && type>=SHARED_LOCK ){
SHARED_LOCK      37657 sqlite3/libsqlite/sqlite3.c       assert( p->eLock>=SHARED_LOCK || p->noReadlock );
SHARED_LOCK      37760 sqlite3/libsqlite/sqlite3.c         p->eLock==SHARED_LOCK     ? "SHARED" :
SHARED_LOCK      37852 sqlite3/libsqlite/sqlite3.c   assert( eLock==NO_LOCK || eLock==SHARED_LOCK );
SHARED_LOCK      37878 sqlite3/libsqlite/sqlite3.c   assert( eLock==SHARED_LOCK || eLock==RESERVED_LOCK || eLock==EXCLUSIVE_LOCK );
SHARED_LOCK      38769 sqlite3/libsqlite/sqlite3.c     rc2 = pagerUnlockDb(pPager, SHARED_LOCK);
SHARED_LOCK      39854 sqlite3/libsqlite/sqlite3.c   assert( pPager->eLock>=SHARED_LOCK || pPager->noReadlock );
SHARED_LOCK      39912 sqlite3/libsqlite/sqlite3.c   assert( pPager->eLock>=SHARED_LOCK || pPager->noReadlock );
SHARED_LOCK      40437 sqlite3/libsqlite/sqlite3.c        || (pPager->eLock==NO_LOCK && locktype==SHARED_LOCK)
SHARED_LOCK      41425 sqlite3/libsqlite/sqlite3.c             if( !pPager->exclusiveMode ) pagerUnlockDb(pPager, SHARED_LOCK);
SHARED_LOCK      41517 sqlite3/libsqlite/sqlite3.c       rc = pager_wait_on_lock(pPager, SHARED_LOCK);
SHARED_LOCK      41527 sqlite3/libsqlite/sqlite3.c     if( pPager->eLock<=SHARED_LOCK ){
SHARED_LOCK      41601 sqlite3/libsqlite/sqlite3.c         pagerUnlockDb(pPager, SHARED_LOCK);
SHARED_LOCK      41626 sqlite3/libsqlite/sqlite3.c       assert( (pPager->eLock==SHARED_LOCK)
SHARED_LOCK      41627 sqlite3/libsqlite/sqlite3.c            || (pPager->exclusiveMode && pPager->eLock>SHARED_LOCK)
SHARED_LOCK      43376 sqlite3/libsqlite/sqlite3.c           pagerUnlockDb(pPager, SHARED_LOCK);
SHARED_LOCK      43472 sqlite3/libsqlite/sqlite3.c   assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK );
SHARED_LOCK      43477 sqlite3/libsqlite/sqlite3.c     pagerUnlockDb(pPager, SHARED_LOCK);
SHARED_LOCK      43493 sqlite3/libsqlite/sqlite3.c   assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK || pPager->noReadlock);
SHARED_LOCK      43583 sqlite3/libsqlite/sqlite3.c     rc = pagerLockDb(pPager, SHARED_LOCK);