Lines Matching refs:szMaster

21220   u32 szMaster;  member
21362 assert( mem3.szMaster>=nBlock ); in memsys3FromMaster()
21363 if( nBlock>=mem3.szMaster-1 ){ in memsys3FromMaster()
21365 void *p = memsys3Checkout(mem3.iMaster, mem3.szMaster); in memsys3FromMaster()
21367 mem3.szMaster = 0; in memsys3FromMaster()
21373 newi = mem3.iMaster + mem3.szMaster - nBlock; in memsys3FromMaster()
21375 mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.prevSize = nBlock; in memsys3FromMaster()
21376 mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.size4x |= 2; in memsys3FromMaster()
21378 mem3.szMaster -= nBlock; in memsys3FromMaster()
21379 mem3.aPool[newi-1].u.hdr.prevSize = mem3.szMaster; in memsys3FromMaster()
21381 mem3.aPool[mem3.iMaster-1].u.hdr.size4x = mem3.szMaster*4 | x; in memsys3FromMaster()
21382 if( mem3.szMaster < mem3.mnMaster ){ in memsys3FromMaster()
21383 mem3.mnMaster = mem3.szMaster; in memsys3FromMaster()
21430 if( size>mem3.szMaster ){ in memsys3Merge()
21432 mem3.szMaster = size; in memsys3Merge()
21483 if( mem3.szMaster>=nBlock ){ in memsys3MallocUnsafe()
21500 mem3.szMaster = 0; in memsys3MallocUnsafe()
21508 if( mem3.szMaster ){ in memsys3MallocUnsafe()
21510 if( mem3.szMaster>=nBlock ){ in memsys3MallocUnsafe()
21546 mem3.szMaster += size; in memsys3FreeUnsafe()
21549 mem3.aPool[mem3.iMaster-1].u.hdr.size4x = mem3.szMaster*4 | x; in memsys3FreeUnsafe()
21550 mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.prevSize = mem3.szMaster; in memsys3FreeUnsafe()
21553 while( (mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.size4x&1)==0 ){ in memsys3FreeUnsafe()
21554 memsys3Unlink(mem3.iMaster+mem3.szMaster); in memsys3FreeUnsafe()
21555 mem3.szMaster += mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.size4x/4; in memsys3FreeUnsafe()
21556 mem3.aPool[mem3.iMaster-1].u.hdr.size4x = mem3.szMaster*4 | x; in memsys3FreeUnsafe()
21557 mem3.aPool[mem3.iMaster+mem3.szMaster-1].u.hdr.prevSize = mem3.szMaster; in memsys3FreeUnsafe()
21654 mem3.szMaster = mem3.nPool; in memsys3Init()
21655 mem3.mnMaster = mem3.szMaster; in memsys3Init()
21657 mem3.aPool[0].u.hdr.size4x = (mem3.szMaster<<2) + 2; in memsys3Init()
21739 fprintf(out, "nowUsed=%d\n", mem3.nPool*8 - mem3.szMaster*8); in sqlite3Memsys3Dump()