Lines Matching refs:sectorSize

37009   int sectorSize;                     /* Device sector size */
40977 ** If pFd->sectorSize is non-zero when this function is called, it is a
40978 ** no-op. Otherwise, the values of pFd->sectorSize and
40987 assert( pFd->deviceCharacteristics==0 || pFd->sectorSize!=0 );
40988 if( pFd->sectorSize==0 ){
41005 pFd->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE;
41012 if( pFile->sectorSize == 0 ){
41016 pFile->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE;
41023 pFile->sectorSize = fsInfo.f_bsize;
41032 pFile->sectorSize = fsInfo.f_bsize;
41035 (pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) |
41042 pFile->sectorSize = fsInfo.f_bsize;
41051 pFile->sectorSize = fsInfo.f_bsize;
41054 ((pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) << 1) - 2 |
41059 pFile->sectorSize = fsInfo.f_bsize;
41062 ((pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) << 1) - 2 |
41076 if( pFile->sectorSize % 512 != 0 ){
41078 pFile->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE;
41096 return pFd->sectorSize;
56177 u32 sectorSize; /* Assumed sector size during rollback */
56269 #define JOURNAL_HDR_SZ(pPager) (pPager->sectorSize)
56725 int nSector = pPager->sectorSize;
56853 ** size of pPager->sectorSize bytes.
57009 put32bits(&zHeader[sizeof(aJournalMagic)+12], pPager->sectorSize);
57162 ** of Pager.sectorSize is restored at the end of that routine.
57164 pPager->sectorSize = iSectorSize;
58214 ** Set the value of the Pager.sectorSize variable for the given
58229 ** pPager->sectorSize is to define the "blast radius" of bytes that
58246 pPager->sectorSize = 512;
58248 pPager->sectorSize = sqlite3SectorSize(pPager->fd);
58508 /* The Pager.sectorSize variable may have been updated while rolling
60480 if( szPageDflt<pPager->sectorSize ){
60481 if( pPager->sectorSize>SQLITE_MAX_DEFAULT_PAGE_SIZE ){
60484 szPageDflt = (u32)pPager->sectorSize;
61655 Pgno nPagePerSector = (pPager->sectorSize/pPager->pageSize);
61751 }else if( pPager->sectorSize > (u32)pPager->pageSize ){
67143 int sectorSize = sqlite3SectorSize(pWal->pWalFd);
67144 w.iSyncPoint = ((iOffset+sectorSize-1)/sectorSize)*sectorSize;