Lines Matching defs:iTrunk
70941 Pgno iTrunk;
70966 /* Decrement the free-list count by 1. Set iTrunk to the index of the
70984 iTrunk = get4byte(&pPrevTrunk->aData[0]);
70989 iTrunk = get4byte(&pPage1->aData[32]);
70991 testcase( iTrunk==mxPage );
70992 if( iTrunk>mxPage || nSearch++ > n ){
70995 rc = btreeGetUnusedPage(pBt, iTrunk, &pTrunk, 0);
71015 *pPgno = iTrunk;
71022 rc = SQLITE_CORRUPT_PGNO(iTrunk);
71026 && (nearby==iTrunk || (iTrunk<nearby && eMode==BTALLOC_LE))
71031 *pPgno = iTrunk;
71056 rc = SQLITE_CORRUPT_PGNO(iTrunk);
71121 rc = SQLITE_CORRUPT_PGNO(iTrunk);
71237 Pgno iTrunk = 0; /* Page number of free-list trunk page */
71293 iTrunk = get4byte(&pPage1->aData[32]);
71294 if( iTrunk>btreePagecount(pBt) ){
71298 rc = btreeGetPage(pBt, iTrunk, &pTrunk, 0);
71356 put4byte(pPage->aData, iTrunk);
71359 TRACE(("FREE-PAGE: %d new trunk page replacing %d\n", pPage->pgno, iTrunk));