Lines Matching refs:iKey
1117 int iKey; /* Hash key */ in walCleanupHash() local
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()
1143 int iKey; /* Hash table key */ in walIndexAppend() local
1172 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){ in walIndexAppend()
1176 AtomicStore(&sLoc.aHash[iKey], (ht_slot)idx); in walIndexAppend()
1197 for(iKey=walHash(sLoc.aPgno[i]); in walIndexAppend()
1198 sLoc.aHash[iKey]; in walIndexAppend()
1199 iKey=walNextHash(iKey)){ in walIndexAppend()
1200 if( sLoc.aHash[iKey]==i+1 ) break; in walIndexAppend()
1202 assert( sLoc.aHash[iKey]==i+1 ); in walIndexAppend()
3187 int iKey; /* Hash slot index */ in sqlite3WalFindFrame() local
3197 iKey = walHash(pgno); in sqlite3WalFindFrame()
3198 while( (iH = AtomicLoad(&sLoc.aHash[iKey]))!=0 ){ in sqlite3WalFindFrame()
3207 iKey = walNextHash(iKey); in sqlite3WalFindFrame()