Lines Matching refs:iPage
772 static void tvfsAllocPage(TestvfsBuffer *p, int iPage, int pgsz){
773 assert( iPage<TESTVFS_MAX_PAGES );
774 if( p->aPage[iPage]==0 ){
775 p->aPage[iPage] = (u8 *)ckalloc(pgsz);
776 memset(p->aPage[iPage], 0, pgsz);
783 int iPage, /* Page to retrieve */
802 Tcl_ListObjAppendElement(p->interp, pArg, Tcl_NewIntObj(iPage));
815 if( rc==SQLITE_OK && isWrite && !pFd->pShm->aPage[iPage] ){
816 tvfsAllocPage(pFd->pShm, iPage, pgsz);
818 *pp = (void volatile *)pFd->pShm->aPage[iPage];