Lines Matching refs:pPgno
1054 static int ptrmapGet(BtShared *pBt, Pgno key, u8 *pEType, Pgno *pPgno){ in ptrmapGet() argument
1078 if( pPgno ) *pPgno = get4byte(&pPtrmap[offset+1]); in ptrmapGet()
6242 Pgno *pPgno, /* Store the page number here */ in allocateBtreePage() argument
6341 *pPgno = iTrunk; in allocateBtreePage()
6345 TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1)); in allocateBtreePage()
6357 *pPgno = iTrunk; in allocateBtreePage()
6411 TRACE(("ALLOCATE: %d trunk - %d free pages left\n", *pPgno, n-1)); in allocateBtreePage()
6455 *pPgno = iPage; in allocateBtreePage()
6458 *pPgno, closest+1, k, pTrunk->pgno, n-1)); in allocateBtreePage()
6465 noContent = !btreeGetHasContent(pBt, *pPgno)? PAGER_GET_NOCONTENT : 0; in allocateBtreePage()
6466 rc = btreeGetUnusedPage(pBt, *pPgno, ppPage, noContent); in allocateBtreePage()
6526 *pPgno = pBt->nPage; in allocateBtreePage()
6528 assert( *pPgno!=PENDING_BYTE_PAGE(pBt) ); in allocateBtreePage()
6529 rc = btreeGetUnusedPage(pBt, *pPgno, ppPage, bNoContent); in allocateBtreePage()
6536 TRACE(("ALLOCATE: %d from end of file\n", *pPgno)); in allocateBtreePage()
6539 assert( CORRUPT_DB || *pPgno!=PENDING_BYTE_PAGE(pBt) ); in allocateBtreePage()