Lines Matching refs:pDbFd
3921 static int winOpenSharedMemory(winFile *pDbFd){ argument
3928 assert( pDbFd->pShm==0 ); /* Not previously opened */
3935 nName = sqlite3Strlen30(pDbFd->zPath);
3942 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
3943 sqlite3FileSuffix3(pDbFd->zPath, pNew->zFilename);
3975 if( 0==sqlite3_uri_boolean(pDbFd->zPath, "readonly_shm", 0) ){
3980 rc = winOpen(pDbFd->pVfs, pShmNode->zFilename,
4000 pDbFd->pShm = p;
4019 winShmPurge(pDbFd->pVfs, 0); /* This call frees pShmNode if required */
4034 winFile *pDbFd; /* Database holding shared-memory */ local
4039 pDbFd = (winFile*)fd;
4040 p = pDbFd->pShm;
4052 pDbFd->pShm = 0;
4061 winShmPurge(pDbFd->pVfs, deleteFlag);
4077 winFile *pDbFd = (winFile*)fd; /* Connection holding shared memory */ local
4078 winShm *p = pDbFd->pShm; /* The shared memory being locked */
4219 winFile *pDbFd = (winFile*)fd; local
4220 winShm *pShm = pDbFd->pShm;
4227 rc = winOpenSharedMemory(pDbFd);
4229 pShm = pDbFd->pShm;
4256 "winShmMap1", pDbFd->zPath);
4271 "winShmMap2", pDbFd->zPath);
4330 "winShmMap3", pDbFd->zPath);