Lines Matching refs:sLoc

66137   WalHashLoc sLoc;                /* Hash table location */
66155 i = walHashGet(pWal, walFramePage(pWal->hdr.mxFrame), &sLoc);
66161 iLimit = pWal->hdr.mxFrame - sLoc.iZero;
66164 if( sLoc.aHash[i]>iLimit ){
66165 sLoc.aHash[i] = 0;
66172 nByte = (int)((char *)sLoc.aHash - (char *)&sLoc.aPgno[iLimit]);
66174 memset((void *)&sLoc.aPgno[iLimit], 0, nByte);
66184 for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){
66185 if( sLoc.aHash[iKey]==j+1 ) break;
66187 assert( sLoc.aHash[iKey]==j+1 );
66200 WalHashLoc sLoc; /* Wal-index hash table location */
66202 rc = walHashGet(pWal, walFramePage(iFrame), &sLoc);
66212 idx = iFrame - sLoc.iZero;
66219 int nByte = (int)((u8*)&sLoc.aHash[HASHTABLE_NSLOT] - (u8*)sLoc.aPgno);
66221 memset((void*)sLoc.aPgno, 0, nByte);
66230 if( sLoc.aPgno[idx-1] ){
66232 assert( !sLoc.aPgno[idx-1] );
66237 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
66240 sLoc.aPgno[idx-1] = iPage;
66241 AtomicStore(&sLoc.aHash[iKey], (ht_slot)idx);
66250 for(i=0; i<HASHTABLE_NSLOT; i++){ if( sLoc.aHash[i] ) nEntry++; }
66262 for(iKey=walHash(sLoc.aPgno[i]);
66263 sLoc.aHash[iKey];
66265 if( sLoc.aHash[iKey]==i+1 ) break;
66267 assert( sLoc.aHash[iKey]==i+1 );
66882 WalHashLoc sLoc;
66884 rc = walHashGet(pWal, i, &sLoc);
66891 nEntry = (int)(iLast - sLoc.iZero);
66893 nEntry = (int)((u32*)sLoc.aHash - (u32*)sLoc.aPgno);
66895 aIndex = &((ht_slot *)&p->aSegment[p->nSegment])[sLoc.iZero];
66896 sLoc.iZero++;
66901 walMergesort((u32 *)sLoc.aPgno, aTmp, aIndex, &nEntry);
66902 p->aSegment[i].iZero = sLoc.iZero;
66905 p->aSegment[i].aPgno = (u32 *)sLoc.aPgno;
68166 WalHashLoc sLoc; /* Hash table location */
68171 rc = walHashGet(pWal, walFramePage(i), &sLoc);
68173 assert( i - sLoc.iZero - 1 >=0 );
68174 pgno = sLoc.aPgno[i-sLoc.iZero-1];
68447 WalHashLoc sLoc; /* Hash table location */
68453 rc = walHashGet(pWal, iHash, &sLoc);
68460 while( (iH = AtomicLoad(&sLoc.aHash[iKey]))!=0 ){
68461 u32 iFrame = iH + sLoc.iZero;
68462 if( iFrame<=iLast && iFrame>=pWal->minFrame && sLoc.aPgno[iH-1]==pgno ){