Searched refs:UNIX_SHM_BASE (Results 1 – 2 of 2) sorted by relevance
4324 #define UNIX_SHM_BASE ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */ macro4325 #define UNIX_SHM_DMS (UNIX_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */4345 f.l_start = UNIX_SHM_BASE + 3; in unixFcntlExternalReader()4975 rc = unixShmSystemLock(pDbFd, F_UNLCK, ofst+UNIX_SHM_BASE, n); in unixShmLock()4997 rc = unixShmSystemLock(pDbFd, F_RDLCK, ofst+UNIX_SHM_BASE, n); in unixShmLock()5021 rc = unixShmSystemLock(pDbFd, F_WRLCK, ofst+UNIX_SHM_BASE, n); in unixShmLock()8076 assert( UNIX_SHM_BASE==120 ); /* Start of locking area */ in sqlite3_os_init()
1528 #ifdef UNIX_SHM_BASE in sqlite3WalOpen()1529 assert( UNIX_SHM_BASE==WALINDEX_LOCK_OFFSET ); in sqlite3WalOpen()