Home | History | Annotate | Download | only in orig

Lines Matching refs:sectorSize

29969   int sectorSize;                     /* Device sector size */
33837 ** If pFd->sectorSize is non-zero when this function is called, it is a
33838 ** no-op. Otherwise, the values of pFd->sectorSize and
33847 assert( pFd->deviceCharacteristics==0 || pFd->sectorSize!=0 );
33848 if( pFd->sectorSize==0 ){
33865 pFd->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE;
33872 if( pFile->sectorSize == 0 ){
33876 pFile->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE;
33879 return pFile->sectorSize;
33883 pFile->sectorSize = fsInfo.f_bsize;
33892 pFile->sectorSize = fsInfo.f_bsize;
33895 (pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) |
33902 pFile->sectorSize = fsInfo.f_bsize;
33911 pFile->sectorSize = fsInfo.f_bsize;
33914 ((pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) << 1) - 2 |
33919 pFile->sectorSize = fsInfo.f_bsize;
33922 ((pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) << 1) - 2 |
33936 if( pFile->sectorSize % 512 != 0 ){
33938 pFile->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE;
33956 return pFd->sectorSize;
47710 u32 sectorSize; /* Assumed sector size during rollback */
47800 #define JOURNAL_HDR_SZ(pPager) (pPager->sectorSize)
48237 int nSector = pPager->sectorSize;
48363 ** size of pPager->sectorSize bytes.
48519 put32bits(&zHeader[sizeof(aJournalMagic)+12], pPager->sectorSize);
48672 ** of Pager.sectorSize is restored at the end of that routine.
48674 pPager->sectorSize = iSectorSize;
49719 ** Set the value of the Pager.sectorSize variable for the given
49734 ** pPager->sectorSize is to define the "blast radius" of bytes that
49751 pPager->sectorSize = 512;
49753 pPager->sectorSize = sqlite3SectorSize(pPager->fd);
50002 /* The Pager.sectorSize variable may have been updated while rolling
51853 if( szPageDflt<pPager->sectorSize ){
51854 if( pPager->sectorSize>SQLITE_MAX_DEFAULT_PAGE_SIZE ){
51857 szPageDflt = (u32)pPager->sectorSize;
53033 Pgno nPagePerSector = (pPager->sectorSize/pPager->pageSize);
53129 }else if( pPager->sectorSize > (u32)pPager->pageSize ){
57849 int sectorSize = sqlite3SectorSize(pWal->pWalFd);
57850 w.iSyncPoint = ((iOffset+sectorSize-1)/sectorSize)*sectorSize;