Lines Matching refs:PGHDR_NEED_SYNC

8828 #define PGHDR_NEED_SYNC         0x004  /* Fsync the rollback journal before
35233 assert( p->nRef || (p->flags&PGHDR_NEED_SYNC) );
35235 return (p==0 || p->nRef || (p->flags&PGHDR_NEED_SYNC)==0);
35251 while( pSynced && (pSynced->flags&PGHDR_NEED_SYNC) ){
35293 if( !p->pSynced && 0==(pPage->flags&PGHDR_NEED_SYNC) ){
35416 ** page that does not require a journal-sync (one with PGHDR_NEED_SYNC
35422 pPg && (pPg->nRef || (pPg->flags&PGHDR_NEED_SYNC));
35540 p->flags &= ~(PGHDR_DIRTY|PGHDR_NEED_SYNC);
35558 ** Clear the PGHDR_NEED_SYNC flag from all dirty pages.
35563 p->flags &= ~PGHDR_NEED_SYNC;
35577 if( (p->flags&PGHDR_DIRTY) && (p->flags&PGHDR_NEED_SYNC) ){
39760 isSynced = (pPg==0 || 0==(pPg->flags & PGHDR_NEED_SYNC));
39767 testcase( !isSavepnt && pPg!=0 && (pPg->flags&PGHDR_NEED_SYNC)!=0 );
39827 ** clean will clear the PGHDR_NEED_SYNC flag. Since the page is
39829 ** the PGHDR_NEED_SYNC flag is cleared, if the page is written to
39831 ** the PGHDR_NEED_SYNC flag will not be set. It could then potentially
41374 ** If successful, this routine clears the PGHDR_NEED_SYNC flag of every
41480 ** successfully synced. Either way, clear the PGHDR_NEED_SYNC flag on
41563 assert( (pList->flags&PGHDR_NEED_SYNC)==0 );
41715 if( pPager->doNotSyncSpill && (pPg->flags & PGHDR_NEED_SYNC)!=0 ){
41731 if( pPg->flags&PGHDR_NEED_SYNC
41772 assert( (pPg->flags&PGHDR_NEED_SYNC)==0 );
42899 pPg->flags |= PGHDR_NEED_SYNC;
42913 ((pPg->flags&PGHDR_NEED_SYNC)?1:0), pager_pagehash(pPg)));
42928 pPg->flags |= PGHDR_NEED_SYNC;
42932 ((pPg->flags&PGHDR_NEED_SYNC)?1:0)));
42984 int needSync = 0; /* True if any page has PGHDR_NEED_SYNC */
43020 if( pPage->flags&PGHDR_NEED_SYNC ){
43027 if( pPage->flags&PGHDR_NEED_SYNC ){
43034 /* If the PGHDR_NEED_SYNC flag is set for any of the nPage pages
43045 pPage->flags |= PGHDR_NEED_SYNC;
43897 PAGERID(pPager), pPg->pgno, (pPg->flags&PGHDR_NEED_SYNC)?1:0, pgno));
43907 if( (pPg->flags&PGHDR_NEED_SYNC) && !isCommit ){
43914 ** from its hash chain. Also, if the PGHDR_NEED_SYNC flag was set for
43918 pPg->flags &= ~PGHDR_NEED_SYNC;
43922 pPg->flags |= (pPgOld->flags&PGHDR_NEED_SYNC);
43951 ** loading the page into the pager-cache and setting the PGHDR_NEED_SYNC
43970 pPgHdr->flags |= PGHDR_NEED_SYNC;