Lines Matching refs:aHash
987 volatile ht_slot *aHash; /* Start of the wal-index hash table */ member
1017 pLoc->aHash = (volatile ht_slot *)&pLoc->aPgno[HASHTABLE_NPAGE]; in walHashGet()
1099 if( sLoc.aHash[i]>iLimit ){ in walCleanupHash()
1100 sLoc.aHash[i] = 0; in walCleanupHash()
1107 nByte = (int)((char *)sLoc.aHash - (char *)&sLoc.aPgno[iLimit]); in walCleanupHash()
1119 for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){ in walCleanupHash()
1120 if( sLoc.aHash[iKey]==j+1 ) break; in walCleanupHash()
1122 assert( sLoc.aHash[iKey]==j+1 ); in walCleanupHash()
1154 int nByte = (int)((u8*)&sLoc.aHash[HASHTABLE_NSLOT] - (u8*)sLoc.aPgno); in walIndexAppend()
1172 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){ in walIndexAppend()
1176 AtomicStore(&sLoc.aHash[iKey], (ht_slot)idx); in walIndexAppend()
1185 for(i=0; i<HASHTABLE_NSLOT; i++){ if( sLoc.aHash[i] ) nEntry++; } in walIndexAppend()
1198 sLoc.aHash[iKey]; in walIndexAppend()
1200 if( sLoc.aHash[iKey]==i+1 ) break; in walIndexAppend()
1202 assert( sLoc.aHash[iKey]==i+1 ); in walIndexAppend()
1829 nEntry = (int)((u32*)sLoc.aHash - (u32*)sLoc.aPgno); in walIteratorInit()
3198 while( (iH = AtomicLoad(&sLoc.aHash[iKey]))!=0 ){ in sqlite3WalFindFrame()