Lines Matching refs:nShared
1164 int nShared; /* Number of SHARED locks held */ member
1707 azFileLock(pFile->pInode->eFileLock), pFile->pInode->nShared, in unixLock()
1752 assert( pInode->nShared>0 ); in unixLock()
1754 pInode->nShared++; in unixLock()
1786 assert( pInode->nShared==0 ); in unixLock()
1816 pInode->nShared = 1; in unixLock()
1818 }else if( eFileLock==EXCLUSIVE_LOCK && pInode->nShared>1 ){ in unixLock()
1916 pFile->eFileLock, pFile->pInode->eFileLock, pFile->pInode->nShared, in posixUnlock()
1925 assert( pInode->nShared!=0 ); in posixUnlock()
2029 pInode->nShared--; in posixUnlock()
2030 if( pInode->nShared==0 ){ in posixUnlock()
2927 azFileLock(pInode->eFileLock), pInode->nShared , osGetpid(0))); in afpLock()
2971 assert( pInode->nShared>0 ); in afpLock()
2973 pInode->nShared++; in afpLock()
3000 assert( pInode->nShared==0 ); in afpLock()
3028 pInode->nShared = 1; in afpLock()
3030 }else if( eFileLock==EXCLUSIVE_LOCK && pInode->nShared>1 ){ in afpLock()
3112 pFile->eFileLock, pFile->pInode->eFileLock, pFile->pInode->nShared, in afpUnlock()
3121 assert( pInode->nShared!=0 ); in afpUnlock()
3145 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){ in afpUnlock()
3162 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){ in afpUnlock()
3173 pInode->nShared--; in afpUnlock()
3174 if( pInode->nShared==0 ){ in afpUnlock()
7415 if( conchFile->pInode && conchFile->pInode->nShared>1 ){ in proxyTakeConch()