Lines Matching refs:EXCLUSIVE_LOCK
9387 #define EXCLUSIVE_LOCK 4
9401 ** An EXCLUSIVE_LOCK is obtained by locking all bytes in the range.
23179 ** (4) EXCLUSIVE_LOCK
23232 || (locktype==EXCLUSIVE_LOCK && pFile->locktype==RESERVED_LOCK)
23275 if( locktype==EXCLUSIVE_LOCK && res == NO_ERROR ){
23284 if( locktype==EXCLUSIVE_LOCK && res == NO_ERROR ){
23294 newLocktype = EXCLUSIVE_LOCK;
23394 if( type>=EXCLUSIVE_LOCK ){
25619 case EXCLUSIVE_LOCK: return "EXCLUSIVE";
26384 ** (4) EXCLUSIVE_LOCK
26508 || (eFileLock==EXCLUSIVE_LOCK && pFile->eFileLock<PENDING_LOCK)
26559 }else if( eFileLock==EXCLUSIVE_LOCK && pInode->nShared>1 ){
26571 assert( eFileLock==RESERVED_LOCK || eFileLock==EXCLUSIVE_LOCK );
26610 }else if( eFileLock==EXCLUSIVE_LOCK ){
26642 ** If handleNFSUnlock is true, then on downgrading an EXCLUSIVE_LOCK to SHARED
26989 ** (4) EXCLUSIVE_LOCK
27214 ** (4) EXCLUSIVE_LOCK
27390 ** (4) EXCLUSIVE_LOCK
27641 ** (4) EXCLUSIVE_LOCK
27723 || (eFileLock==EXCLUSIVE_LOCK && pFile->eFileLock<PENDING_LOCK)
27770 }else if( eFileLock==EXCLUSIVE_LOCK && pInode->nShared>1 ){
27788 if (!failed && eFileLock == EXCLUSIVE_LOCK) {
27821 }else if( eFileLock==EXCLUSIVE_LOCK ){
27883 if( pFile->eFileLock==EXCLUSIVE_LOCK ){
31157 if( lockType==EXCLUSIVE_LOCK ){
31281 rc = proxyConchLock(pFile, myHostID, EXCLUSIVE_LOCK);
31284 rc = conchFile->pMethod->xLock((sqlite3_file*)conchFile, EXCLUSIVE_LOCK);
31708 ** (4) EXCLUSIVE_LOCK
34057 ** (4) EXCLUSIVE_LOCK
34108 || ( (locktype==EXCLUSIVE_LOCK)
34154 if( locktype==EXCLUSIVE_LOCK && res ){
34161 if( locktype==EXCLUSIVE_LOCK && res ){
34167 newLocktype = EXCLUSIVE_LOCK;
34244 if( type>=EXCLUSIVE_LOCK ){
38816 ** the database file: NO_LOCK, SHARED_LOCK, RESERVED_LOCK or EXCLUSIVE_LOCK.
38861 #define UNKNOWN_LOCK (EXCLUSIVE_LOCK+1)
38922 ** NO_LOCK, SHARED_LOCK, RESERVED_LOCK or EXCLUSIVE_LOCK.
38925 ** locks), this variable is always set to EXCLUSIVE_LOCK. Since such
39274 assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK );
39351 assert( p->eLock==EXCLUSIVE_LOCK );
39354 assert( p->eLock>=EXCLUSIVE_LOCK );
39363 assert( p->eLock==EXCLUSIVE_LOCK );
39418 p->eLock==EXCLUSIVE_LOCK ? "EXCLUSIVE" :
39526 ** RESERVED_LOCK or EXCLUSIVE_LOCK. If the caller is successful, set the
39530 ** called, do not modify it unless the new locking state is EXCLUSIVE_LOCK.
39537 assert( eLock==SHARED_LOCK || eLock==RESERVED_LOCK || eLock==EXCLUSIVE_LOCK );
39540 if( rc==SQLITE_OK && (pPager->eLock!=UNKNOWN_LOCK||eLock==EXCLUSIVE_LOCK) ){
40349 ** eState==PAGER_NONE and eLock==EXCLUSIVE_LOCK.
40354 ** and eLock==EXCLUSIVE_LOCK when the read-transaction is closed.
40581 || (pPager->eState==PAGER_OPEN && pPager->eLock==EXCLUSIVE_LOCK)
40935 assert( pPager->eLock==EXCLUSIVE_LOCK );
41896 ** SHARED_LOCK -> EXCLUSIVE_LOCK | No
41897 ** RESERVED_LOCK -> EXCLUSIVE_LOCK | Yes
42117 || (pPager->eLock==RESERVED_LOCK && locktype==EXCLUSIVE_LOCK)
42465 assert( pPager->eLock==EXCLUSIVE_LOCK );
42947 pPager->eLock = EXCLUSIVE_LOCK;
43233 rc = pagerLockDb(pPager, EXCLUSIVE_LOCK);
43707 rc = pagerLockDb(pPager, EXCLUSIVE_LOCK);
43728 rc = pager_wait_on_lock(pPager, EXCLUSIVE_LOCK);
44169 rc = pager_wait_on_lock(pPager, EXCLUSIVE_LOCK);
45192 assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK );
45193 rc = pagerLockDb(pPager, EXCLUSIVE_LOCK);
45213 assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK );