Home
last modified time | relevance | path

Searched refs:UNIX_SHM_BASE (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/sqlite3/
H A Dsqlite3.c43223 #define UNIX_SHM_BASE ((22+SQLITE_SHM_NLOCK)*4) /* first lock byte */ macro
43224 #define UNIX_SHM_DMS (UNIX_SHM_BASE+SQLITE_SHM_NLOCK) /* deadman switch */
43244 f.l_start = UNIX_SHM_BASE + 3; in unixFcntlExternalReader()
43282 || (ofst>=UNIX_SHM_BASE && ofst+n<=(UNIX_SHM_BASE+SQLITE_SHM_NLOCK)) in unixShmSystemLock()
43290 for(ii=ofst-UNIX_SHM_BASE; ii<ofst-UNIX_SHM_BASE+n; ii++){ in unixShmSystemLock()
43304 assert( ofst>=UNIX_SHM_BASE && ofst<=(UNIX_SHM_DMS+SQLITE_SHM_NLOCK) ); in unixShmSystemLock()
43970 rc = unixShmSystemLock(pDbFd, F_UNLCK, ofst+UNIX_SHM_BASE, n); in unixShmLock()
43984 rc = unixShmSystemLock(pDbFd, F_RDLCK, ofst+UNIX_SHM_BASE, n); in unixShmLock()
44012 rc = unixShmSystemLock(pDbFd, F_WRLCK, ofst+UNIX_SHM_BASE, n); in unixShmLock()
47093 assert( UNIX_SHM_BASE==120 ); /* Start of locking area */ in sqlite3_os_init()
[all …]