• Home
  • Raw
  • Download

Lines Matching refs:sectorSize

29973   int sectorSize;                     /* Device sector size */
33851 assert( pFd->deviceCharacteristics==0 || pFd->sectorSize!=0 );
33852 if( pFd->sectorSize==0 ){
33869 pFd->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE;
33876 if( pFile->sectorSize == 0 ){
33880 pFile->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE;
33883 return pFile->sectorSize;
33887 pFile->sectorSize = fsInfo.f_bsize;
33896 pFile->sectorSize = fsInfo.f_bsize;
33899 (pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) |
33906 pFile->sectorSize = fsInfo.f_bsize;
33915 pFile->sectorSize = fsInfo.f_bsize;
33918 ((pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) << 1) - 2 |
33923 pFile->sectorSize = fsInfo.f_bsize;
33926 ((pFile->sectorSize / 512 * SQLITE_IOCAP_ATOMIC512) << 1) - 2 |
33940 if( pFile->sectorSize % 512 != 0 ){
33942 pFile->sectorSize = SQLITE_DEFAULT_SECTOR_SIZE;
33960 return pFd->sectorSize;
47714 u32 sectorSize; /* Assumed sector size during rollback */
47804 #define JOURNAL_HDR_SZ(pPager) (pPager->sectorSize)
48241 int nSector = pPager->sectorSize;
48523 put32bits(&zHeader[sizeof(aJournalMagic)+12], pPager->sectorSize);
48678 pPager->sectorSize = iSectorSize;
49755 pPager->sectorSize = 512;
49757 pPager->sectorSize = sqlite3SectorSize(pPager->fd);
51857 if( szPageDflt<pPager->sectorSize ){
51858 if( pPager->sectorSize>SQLITE_MAX_DEFAULT_PAGE_SIZE ){
51861 szPageDflt = (u32)pPager->sectorSize;
53037 Pgno nPagePerSector = (pPager->sectorSize/pPager->pageSize);
53133 }else if( pPager->sectorSize > (u32)pPager->pageSize ){
57854 int sectorSize = sqlite3SectorSize(pWal->pWalFd);
57855 w.iSyncPoint = ((iOffset+sectorSize-1)/sectorSize)*sectorSize;