Searched refs:pDbFd (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/third_party/sqlite/src/src/ |
D | wal.c | 412 sqlite3_file *pDbFd; /* File handle for the database file */ member 528 rc = sqlite3OsShmMap(pWal->pDbFd, iPage, WALINDEX_PGSZ, in walIndexPage() 616 sqlite3OsShmBarrier(pWal->pDbFd); in walShmBarrier() 760 rc = sqlite3OsShmLock(pWal->pDbFd, lockIdx, 1, in walLockShared() 769 (void)sqlite3OsShmLock(pWal->pDbFd, lockIdx, 1, in walUnlockShared() 776 rc = sqlite3OsShmLock(pWal->pDbFd, lockIdx, n, in walLockExclusive() 785 (void)sqlite3OsShmLock(pWal->pDbFd, lockIdx, n, in walUnlockExclusive() 1213 sqlite3OsShmUnmap(pWal->pDbFd, isDelete); in walIndexClose() 1234 sqlite3_file *pDbFd, /* The open database file */ in sqlite3WalOpen() argument 1244 assert( pDbFd ); in sqlite3WalOpen() [all …]
|
D | os_win.c | 1437 static int winOpenSharedMemory(winFile *pDbFd){ in winOpenSharedMemory() argument 1444 assert( pDbFd->pShm==0 ); /* Not previously opened */ in winOpenSharedMemory() 1452 nName = sqlite3Strlen30(pDbFd->zPath); in winOpenSharedMemory() 1460 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath); in winOpenSharedMemory() 1487 rc = winOpen(pDbFd->pVfs, in winOpenSharedMemory() 1519 pDbFd->pShm = p; in winOpenSharedMemory() 1538 winShmPurge(pDbFd->pVfs, 0); /* This call frees pShmNode if required */ in winOpenSharedMemory() 1553 winFile *pDbFd; /* Database holding shared-memory */ in winShmUnmap() local 1558 pDbFd = (winFile*)fd; in winShmUnmap() 1559 p = pDbFd->pShm; in winShmUnmap() [all …]
|
D | os_unix.c | 3753 static int unixOpenSharedMemory(unixFile *pDbFd){ in unixOpenSharedMemory() argument 3765 assert( pDbFd->pShm==0 ); in unixOpenSharedMemory() 3771 pInode = pDbFd->pInode; in unixOpenSharedMemory() 3781 if( osFstat(pDbFd->h, &sStat) && pInode->bProcessLock==0 ){ in unixOpenSharedMemory() 3789 nShmFilename = 5 + (int)strlen(pDbFd->zPath); in unixOpenSharedMemory() 3803 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath); in unixOpenSharedMemory() 3806 pDbFd->pInode->pShmNode = pShmNode; in unixOpenSharedMemory() 3807 pShmNode->pInode = pDbFd->pInode; in unixOpenSharedMemory() 3844 pDbFd->pShm = p; in unixOpenSharedMemory() 3862 unixShmPurge(pDbFd); /* This call frees pShmNode if required */ in unixOpenSharedMemory() [all …]
|
/external/chromium_org/third_party/sqlite/ |
D | system-sqlite.patch | 183 unixShmPurge(pDbFd); 581 unixShmPurge(pDbFd);
|
/external/sqlite/dist/ |
D | sqlite3.c | 28901 static int unixOpenSharedMemory(unixFile *pDbFd){ 28913 assert( pDbFd->pShm==0 ); 28919 pInode = pDbFd->pInode; 28928 if( osFstat(pDbFd->h, &sStat) && pInode->bProcessLock==0 ){ 28929 rc = unixLogError(SQLITE_IOERR_FSTAT, "fstat", pDbFd->zPath); 28936 nShmFilename = 6 + (int)strlen(pDbFd->zPath); 28950 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath); 28951 sqlite3FileSuffix3(pDbFd->zPath, zShmFilename); 28954 pDbFd->pInode->pShmNode = pShmNode; 28955 pShmNode->pInode = pDbFd->pInode; [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 28881 static int unixOpenSharedMemory(unixFile *pDbFd){ 28893 assert( pDbFd->pShm==0 ); 28899 pInode = pDbFd->pInode; 28908 if( osFstat(pDbFd->h, &sStat) && pInode->bProcessLock==0 ){ 28916 nShmFilename = 6 + (int)strlen(pDbFd->zPath); 28930 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath); 28931 sqlite3FileSuffix3(pDbFd->zPath, zShmFilename); 28934 pDbFd->pInode->pShmNode = pShmNode; 28935 pShmNode->pInode = pDbFd->pInode; 28944 if( sqlite3_uri_boolean(pDbFd->zPath, "readonly_shm", 0) ){ [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 27909 static int unixOpenSharedMemory(unixFile *pDbFd){ 27921 assert( pDbFd->pShm==0 ); 27927 pInode = pDbFd->pInode; 27937 if( osFstat(pDbFd->h, &sStat) && pInode->bProcessLock==0 ){ 27945 nShmFilename = 5 + (int)strlen(pDbFd->zPath); 27959 sqlite3_snprintf(nShmFilename, zShmFilename, "%s-shm", pDbFd->zPath); 27962 pDbFd->pInode->pShmNode = pShmNode; 27963 pShmNode->pInode = pDbFd->pInode; 28000 pDbFd->pShm = p; 28018 unixShmPurge(pDbFd); /* This call frees pShmNode if required */ [all …]
|