Lines Matching refs:nLock
25418 int nLock; /* Number of outstanding file locks */
25737 assert( pInode->nLock==0 );
25745 pInode->nLock++;
25874 pInode->nLock++;
25934 pInode->nLock++;
26184 pInode->nLock--;
26185 assert( pInode->nLock>=0 );
26186 if( pInode->nLock==0 ){
26256 assert( pFile->pInode->nLock>0 || pFile->pInode->bProcessLock==0 );
26257 if( ALWAYS(pFile->pInode) && pFile->pInode->nLock ){
27107 pInode->nLock++;
27160 pInode->nLock++;
27320 pInode->nLock--;
27321 assert( pInode->nLock>=0 );
27322 if( pInode->nLock==0 ){
27342 if( pFile->pInode && pFile->pInode->nLock ){
44686 int nLock; /* Number of locks to hold */
44699 nLock = SQLITE_SHM_NLOCK - iLock;
44700 rc = walLockExclusive(pWal, iLock, nLock);
44837 walUnlockExclusive(pWal, iLock, nLock);