Searched refs:nFree (Results 1 – 14 of 14) sorted by relevance
104 int nFree; /* Number of unused slots in a[] */ member144 p->nFree = TESTPCACHE_NPAGE; in testpcacheCreate()178 return TESTPCACHE_NPAGE - p->nFree; in testpcachePagecount()200 assert( p->nPinned <= TESTPCACHE_NPAGE - p->nFree ); in testpcacheFetch()234 if( p->nFree>TESTPCACHE_RESERVE || (createFlag==2 && p->nFree>0) ){ in testpcacheFetch()242 p->nFree--; in testpcacheFetch()243 assert( p->nPinned <= TESTPCACHE_NPAGE - p->nFree ); in testpcacheFetch()268 assert( p->nPinned <= TESTPCACHE_NPAGE - p->nFree ); in testpcacheFetch()311 p->nFree++; in testpcacheUnpin()312 assert( p->nFree<=TESTPCACHE_NPAGE ); in testpcacheUnpin()[all …]
29 int nFree; member46 pGlobal->nFree = nMalloc - sizeof(ProcessLocalStorage); in sqlite3_wsd_init()71 assert( pGlobal->nFree>=nByte ); in sqlite3_wsd_find()76 pGlobal->nFree -= nByte; in sqlite3_wsd_find()
930 int nFree = 0; in sqlite3PcacheReleaseMemory() local936 while( (nReq<0 || nFree<nReq) && ((p=pcache1.grp.pLruTail)!=0) ){ in sqlite3PcacheReleaseMemory()937 nFree += pcache1MemSize(PGHDR1_TO_PAGE(p)); in sqlite3PcacheReleaseMemory()944 return nFree; in sqlite3PcacheReleaseMemory()
1126 if( cbrk-iCellFirst!=pPage->nFree ){ in defragmentPage()1158 assert( pPage->nFree>=nByte ); in allocateSpace()1288 pPage->nFree = pPage->nFree + (u16)size; in freeSpace()1386 int nFree; /* Number of unused bytes on the page */ in btreeInitPage() local1443 nFree = data[hdr+7] + top; in btreeInitPage()1457 nFree = nFree + size; in btreeInitPage()1468 if( nFree>usableSize ){ in btreeInitPage()1471 pPage->nFree = (u16)(nFree - iCellFirst); in btreeInitPage()1500 pPage->nFree = (u16)(pBt->usableSize - first); in zeroPage()3017 Pgno nFree; /* Number of pages on the freelist initially */ in autoVacuumCommit() local[all …]
283 u16 nFree; /* Number of free bytes on the page */ member
189 set nFree [expr {$nAlloc1-$nAlloc2}]202 do_test dbstatus-2.$tn.ax { expr {($nSchema1-$nSchema2)<=$nFree} } 1204 do_test dbstatus-2.$tn.a { expr {$nSchema1-$nSchema2} } $nFree327 set nFree [expr {$nAlloc1-$nAlloc2}]337 #puts "$nStmt1 $nFree"339 do_test dbstatus-3.$tn.bx { expr $nStmt1<=$nFree } {1}341 do_test dbstatus-3.$tn.b { expr $nStmt1==$nFree } {1}
143 set nFree [execsql {pragma freelist_count} db1]170 } [expr {$nFree - $nFree2}]
695 for (uint32 nFree = nAcked; nFree > 0; ) { in process() local697 if (nFree < m_slist.front().len) { in process()698 m_slist.front().len -= nFree; in process()699 nFree = 0; in process()704 nFree -= m_slist.front().len; in process()
761 for (uint32 nFree = nAcked; nFree > 0; ) { in process() local763 if (nFree < m_slist.front().len) { in process()764 m_slist.front().len -= nFree; in process()765 nFree = 0; in process()770 nFree -= m_slist.front().len; in process()
6529 int nFree; in yaffs_CountFreeChunks() local6534 for (nFree = 0, b = dev->internalStartBlock; b <= dev->internalEndBlock; in yaffs_CountFreeChunks()6543 nFree += in yaffs_CountFreeChunks()6553 return nFree; in yaffs_CountFreeChunks()6560 int nFree; in yaffs_GetNumberOfFreeChunks() local6565 nFree = dev->nFreeChunks; in yaffs_GetNumberOfFreeChunks()6567 nFree = yaffs_CountFreeChunks(dev); in yaffs_GetNumberOfFreeChunks()6570 nFree += dev->nDeletedFiles; in yaffs_GetNumberOfFreeChunks()6582 nFree -= nDirtyCacheChunks; in yaffs_GetNumberOfFreeChunks()6584 nFree -= ((dev->nReservedBlocks + 1) * dev->nChunksPerBlock); in yaffs_GetNumberOfFreeChunks()[all …]
844 int nFree = 0; in fts3ExprGlobalHitsCb() local845 int rc = sqlite3Fts3ExprLoadFtDoclist(pCsr, pExpr, &pFree, &nFree); in fts3ExprGlobalHitsCb()848 pEnd = &pFree[nFree]; in fts3ExprGlobalHitsCb()
35857 int nFree = 0;35863 while( (nReq<0 || nFree<nReq) && ((p=pcache1.grp.pLruTail)!=0) ){35864 nFree += pcache1MemSize(PGHDR1_TO_PAGE(p));35871 return nFree;46664 u16 nFree; /* Number of free bytes on the page */48424 if( cbrk-iCellFirst!=pPage->nFree ){48456 assert( pPage->nFree>=nByte );48586 pPage->nFree = pPage->nFree + (u16)size;48684 int nFree; /* Number of unused bytes on the page */48741 nFree = data[hdr+7] + top;[all …]
37819 int nFree = 0;37825 while( (nReq<0 || nFree<nReq) && ((p=pcache1.grp.pLruTail)!=0) ){37826 nFree += pcache1MemSize(p->page.pBuf);37828 nFree += sqlite3MemSize(p);37836 return nFree;48721 u16 nFree; /* Number of free bytes on the page */50497 if( cbrk-iCellFirst!=pPage->nFree ){50529 assert( pPage->nFree>=nByte );50659 pPage->nFree = pPage->nFree + (u16)size;50758 int nFree; /* Number of unused bytes on the page */[all …]
37847 int nFree = 0;37853 while( (nReq<0 || nFree<nReq) && ((p=pcache1.grp.pLruTail)!=0) ){37854 nFree += pcache1MemSize(p->page.pBuf);37856 nFree += sqlite3MemSize(p);37864 return nFree;48749 u16 nFree; /* Number of free bytes on the page */50525 if( cbrk-iCellFirst!=pPage->nFree ){50557 assert( pPage->nFree>=nByte );50687 pPage->nFree = pPage->nFree + (u16)size;50786 int nFree; /* Number of unused bytes on the page */[all …]