Lines Matching defs:aLock
41181 int aLock[SQLITE_SHM_NLOCK]; /* # shared locks on slot, -1==excl lock */
41757 ** Check that the pShmNode->aLock[] array comports with the locking bitmasks
41766 int aLock[SQLITE_SHM_NLOCK];
41769 memset(aLock, 0, sizeof(aLock));
41774 assert( aLock[i]==0 );
41775 aLock[i] = -1;
41777 assert( aLock[i]>=0 );
41778 aLock[i]++;
41783 assert( 0==memcmp(pShmNode->aLock, aLock, sizeof(aLock)) );
41784 return (memcmp(pShmNode->aLock, aLock, sizeof(aLock))==0);
41807 int *aLock;
41823 aLock = pShmNode->aLock;
41869 if( aLock[ii]>((p->sharedMask & (1<<ii)) ? 1 : 0) ){
41877 memset(&aLock[ofst], 0, sizeof(int)*n);
41880 assert( n==1 && aLock[ofst]>1 );
41881 aLock[ofst]--;
41894 if( aLock[ofst]<0 ){
41896 }else if( aLock[ofst]==0 ){
41903 aLock[ofst]++;
41912 if( ALWAYS((p->exclMask & (1<<ii))==0) && aLock[ii] ){
41926 aLock[ii] = -1;
63650 ** WalCkptInfo.aLock[] array in the wal-index header. In other words, all
63675 ** the locking bytes (WalCkptInfo.aLock) start at offset 120 and
63716 ** The aLock[] field is a set of bytes used for locking. These bytes should
63758 u8 aLock[SQLITE_SHM_NLOCK]; /* Reserved space for locks */
63834 #define WALINDEX_LOCK_OFFSET (sizeof(WalIndexHdr)*2+offsetof(WalCkptInfo,aLock))
246285 if( uFile_db->pShm->pShmNode->aLock[i] ){
246286 sqlite3_log(SQLITE_WARNING, " thrad WAL Lock[%d] for DB file: %d\n", i, uFile_db->pShm->pShmNode->aLock[i]);