Lines Matching refs:pNextCkpt
109 PgHdr *pNextCkpt, *pPrevCkpt; /* List of pages in the checkpoint journal */ member
396 assert( pPg->pPrevCkpt==0 && pPg->pNextCkpt==0 ); in page_add_to_ckpt_list()
401 pPg->pNextCkpt = pPager->pCkpt; in page_add_to_ckpt_list()
408 assert( pPg->pPrevCkpt->pNextCkpt==pPg ); in page_remove_from_ckpt_list()
409 pPg->pPrevCkpt->pNextCkpt = pPg->pNextCkpt; in page_remove_from_ckpt_list()
412 pPg->pPager->pCkpt = pPg->pNextCkpt; in page_remove_from_ckpt_list()
414 if( pPg->pNextCkpt ){ in page_remove_from_ckpt_list()
415 assert( pPg->pNextCkpt->pPrevCkpt==pPg ); in page_remove_from_ckpt_list()
416 pPg->pNextCkpt->pPrevCkpt = pPg->pPrevCkpt; in page_remove_from_ckpt_list()
418 pPg->pNextCkpt = 0; in page_remove_from_ckpt_list()
2163 pNext = pPg->pNextCkpt; in sqlitepager_ckpt_commit()
2166 pPg->pPrevCkpt = pPg->pNextCkpt = 0; in sqlitepager_ckpt_commit()