Lines Matching refs:SQLITE_SHM_NLOCK
1906 #define SQLITE_SHM_NLOCK 8 macro
43191 sqlite3_mutex *aMutex[SQLITE_SHM_NLOCK];
43193 int aLock[SQLITE_SHM_NLOCK]; /* # shared locks on slot, -1==excl lock */
43224 #define UNIX_SHM_BASE ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */
43225 #define UNIX_SHM_DMS (UNIX_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */
43246 f.l_len = SQLITE_SHM_NLOCK - 3; in unixFcntlExternalReader()
43283 || (ofst>=UNIX_SHM_BASE && ofst+n<=(UNIX_SHM_BASE+SQLITE_SHM_NLOCK)) in unixShmSystemLock()
43304 assert( n>=1 && n<=SQLITE_SHM_NLOCK ); in unixShmSystemLock()
43305 assert( ofst>=UNIX_SHM_BASE && ofst<=(UNIX_SHM_DMS+SQLITE_SHM_NLOCK) ); in unixShmSystemLock()
43383 for(i=0; i<SQLITE_SHM_NLOCK; i++){ in unixShmPurge()
43583 for(ii=0; ii<SQLITE_SHM_NLOCK; ii++){ in unixOpenSharedMemory()
43817 int aLock[SQLITE_SHM_NLOCK]; in assertLockingArrayOk()
43822 for(i=0; i<SQLITE_SHM_NLOCK; i++){ in assertLockingArrayOk()
43868 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); in unixShmLock()
47093 assert( SQLITE_SHM_NLOCK==8 ); /* Number of available locks */ in sqlite3_os_init()
51227 #define WIN_SHM_BASE ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */
51228 #define WIN_SHM_DMS (WIN_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */
51659 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK );
66177 #define WAL_NREADER (SQLITE_SHM_NLOCK-3)
66275 u8 aLock[SQLITE_SHM_NLOCK]; /* Reserved space for locks */
66989 pWal->lockMask |= (((1<<n)-1) << (SQLITE_SHM_NLOCK+lockIdx));
66999 pWal->lockMask &= ~(((1<<n)-1) << (SQLITE_SHM_NLOCK+lockIdx));
67552 assert( 8 == SQLITE_SHM_NLOCK );
68298 static const int E = (1<<SQLITE_SHM_NLOCK);
68307 for(ii=0; ii<SQLITE_SHM_NLOCK; ii++){
68331 static const int E = (1<<SQLITE_SHM_NLOCK);
225807 for(i=0; i<SQLITE_SHM_NLOCK;i++){