Lines Matching refs:mmapSize
234 sqlite3_int64 mmapSize; /* Usable size of mapping at pMapRegion */ member
3360 if( offset<pFile->mmapSize ){ in unixRead()
3361 if( offset+amt <= pFile->mmapSize ){ in unixRead()
3365 int nCopy = pFile->mmapSize - offset; in unixRead()
3512 if( offset<pFile->mmapSize ){ in unixWrite()
3513 if( offset+amt <= pFile->mmapSize ){ in unixWrite()
3517 int nCopy = pFile->mmapSize - offset; in unixWrite()
3823 if( nByte<pFile->mmapSize ){ in unixTruncate()
3824 pFile->mmapSize = nByte; in unixTruncate()
3919 if( pFile->mmapSizeMax>0 && nByte>pFile->mmapSize ){ in fcntlSizeHint()
4048 if( pFile->mmapSize>0 ){ in unixFileControl()
5125 pFd->mmapSize = 0; in unixUnmapfile()
5157 assert( nNew>pFd->mmapSize ); in unixRemapfile()
5160 assert( pFd->mmapSizeActual>=pFd->mmapSize ); in unixRemapfile()
5169 i64 nReuse = pFd->mmapSize; in unixRemapfile()
5172 i64 nReuse = (pFd->mmapSize & ~(szSyspage-1)); in unixRemapfile()
5218 pFd->mmapSize = pFd->mmapSizeActual = nNew; in unixRemapfile()
5239 assert( nMap>0 || (pFd->mmapSize==0 && pFd->pMapRegion==0) ); in unixMapfile()
5253 assert( nMap>0 || (pFd->mmapSize==0 && pFd->pMapRegion==0) ); in unixMapfile()
5254 if( nMap!=pFd->mmapSize ){ in unixMapfile()
5286 if( pFd->mmapSize >= iOff+nAmt ){ in unixFetch()