Lines Matching refs:nShared
40055 int nShared; /* Number of SHARED locks held */ member
40610 azFileLock(pFile->pInode->eFileLock), pFile->pInode->nShared, in unixLock()
40655 assert( pInode->nShared>0 ); in unixLock()
40657 pInode->nShared++; in unixLock()
40692 assert( pInode->nShared==0 ); in unixLock()
40722 pInode->nShared = 1; in unixLock()
40724 }else if( eFileLock==EXCLUSIVE_LOCK && pInode->nShared>1 ){ in unixLock()
40818 pFile->eFileLock, pFile->pInode->eFileLock, pFile->pInode->nShared, in posixUnlock()
40827 assert( pInode->nShared!=0 ); in posixUnlock()
40931 pInode->nShared--; in posixUnlock()
40932 if( pInode->nShared==0 ){ in posixUnlock()
41804 azFileLock(pInode->eFileLock), pInode->nShared , osGetpid(0))); in afpLock()
41848 assert( pInode->nShared>0 ); in afpLock()
41850 pInode->nShared++; in afpLock()
41877 assert( pInode->nShared==0 ); in afpLock()
41905 pInode->nShared = 1; in afpLock()
41907 }else if( eFileLock==EXCLUSIVE_LOCK && pInode->nShared>1 ){ in afpLock()
41986 pFile->eFileLock, pFile->pInode->eFileLock, pFile->pInode->nShared, in afpUnlock()
41995 assert( pInode->nShared!=0 ); in afpUnlock()
42016 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1) ){ in afpUnlock()
42033 if( rc==SQLITE_OK && (eFileLock==SHARED_LOCK || pInode->nShared>1)){ in afpUnlock()
42044 pInode->nShared--; in afpUnlock()
42045 if( pInode->nShared==0 ){ in afpUnlock()
46433 if( conchFile->pInode && conchFile->pInode->nShared>1 ){ in proxyTakeConch()