Lines Matching refs:pMapRegion
24259 sqlite3_int64 mmapSize; /* Usable size of mapping at pMapRegion */
24260 sqlite3_int64 mmapSizeActual; /* Actual size of mapping at pMapRegion */
24262 void *pMapRegion; /* Memory mapped region */
27458 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
27462 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
27593 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
27597 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
28949 if( pFd->pMapRegion ){
28950 osMunmap(pFd->pMapRegion, pFd->mmapSizeActual);
28951 pFd->pMapRegion = 0;
28963 ** unixFile.pMapRegion
28978 u8 *pOrig = (u8 *)pFd->pMapRegion; /* Pointer to current file mapping */
29042 pFd->pMapRegion = (void *)pNew;
29113 if( pFd->pMapRegion==0 ){
29118 *pp = &((u8 *)pFd->pMapRegion)[iOff];
29147 assert( p==0 || p==&((u8 *)pFd->pMapRegion)[iOff] );
32244 void *pMapRegion; /* Area memory mapped */
34458 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], amt);
34463 memcpy(pBuf, &((u8 *)(pFile->pMapRegion))[offset], nCopy);
34530 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, amt);
34535 memcpy(&((u8 *)(pFile->pMapRegion))[offset], pBuf, nCopy);
34646 if( pFile->pMapRegion && nByte<pFile->mmapSize ){
35908 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, hMap=%p, pMapRegion=%p, "
35910 osGetCurrentProcessId(), pFile, pFile->hMap, pFile->pMapRegion,
35912 if( pFile->pMapRegion ){
35913 if( !osUnmapViewOfFile(pFile->pMapRegion) ){
35915 OSTRACE(("UNMAP-FILE pid=%lu, pFile=%p, pMapRegion=%p, "
35917 pFile->pMapRegion));
35921 pFile->pMapRegion = 0;
36030 pFd->pMapRegion = pNew;
36064 if( pFd->pMapRegion==0 ){
36073 *pp = &((u8 *)pFd->pMapRegion)[iOff];
36104 assert( p==0 || p==&((u8 *)pFd->pMapRegion)[iOff] );
36759 pFile->pMapRegion = 0;