Home | History | Annotate | Download | only in dist

Lines Matching refs:sLoc

68655   WalHashLoc sLoc;                /* Hash table location */
68673 i = walHashGet(pWal, walFramePage(pWal->hdr.mxFrame), &sLoc);
68679 iLimit = pWal->hdr.mxFrame - sLoc.iZero;
68682 if( sLoc.aHash[i]>iLimit ){
68683 sLoc.aHash[i] = 0;
68690 nByte = (int)((char *)sLoc.aHash - (char *)&sLoc.aPgno[iLimit]);
68692 memset((void *)&sLoc.aPgno[iLimit], 0, nByte);
68702 for(iKey=walHash(sLoc.aPgno[j]);sLoc.aHash[iKey];iKey=walNextHash(iKey)){
68703 if( sLoc.aHash[iKey]==j+1 ) break;
68705 assert( sLoc.aHash[iKey]==j+1 );
68718 WalHashLoc sLoc; /* Wal-index hash table location */
68720 rc = walHashGet(pWal, walFramePage(iFrame), &sLoc);
68730 idx = iFrame - sLoc.iZero;
68737 int nByte = (int)((u8*)&sLoc.aHash[HASHTABLE_NSLOT] - (u8*)sLoc.aPgno);
68739 memset((void*)sLoc.aPgno, 0, nByte);
68748 if( sLoc.aPgno[idx-1] ){
68750 assert( !sLoc.aPgno[idx-1] );
68755 for(iKey=walHash(iPage); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
68758 sLoc.aPgno[(idx-1)&(HASHTABLE_NPAGE-1)] = iPage;
68759 AtomicStore(&sLoc.aHash[iKey], (ht_slot)idx);
68768 for(i=0; i<HASHTABLE_NSLOT; i++){ if( sLoc.aHash[i] ) nEntry++; }
68780 for(iKey=walHash(sLoc.aPgno[i]);
68781 sLoc.aHash[iKey];
68783 if( sLoc.aHash[iKey]==i+1 ) break;
68785 assert( sLoc.aHash[iKey]==i+1 );
69399 WalHashLoc sLoc;
69401 rc = walHashGet(pWal, i, &sLoc);
69408 nEntry = (int)(iLast - sLoc.iZero);
69410 nEntry = (int)((u32*)sLoc.aHash - (u32*)sLoc.aPgno);
69412 aIndex = &((ht_slot *)&p->aSegment[p->nSegment])[sLoc.iZero];
69413 sLoc.iZero++;
69418 walMergesort((u32 *)sLoc.aPgno, aTmp, aIndex, &nEntry);
69419 p->aSegment[i].iZero = sLoc.iZero;
69422 p->aSegment[i].aPgno = (u32 *)sLoc.aPgno;
70707 WalHashLoc sLoc; /* Hash table location */
70712 rc = walHashGet(pWal, walFramePage(i), &sLoc);
70714 assert( i - sLoc.iZero - 1 >=0 );
70715 pgno = sLoc.aPgno[i-sLoc.iZero-1];
70991 WalHashLoc sLoc; /* Hash table location */
70997 rc = walHashGet(pWal, iHash, &sLoc);
71004 while( (iH = AtomicLoad(&sLoc.aHash[iKey]))!=0 ){
71005 u32 iFrame = iH + sLoc.iZero;
71008 && sLoc.aPgno[(iH-1)&(HASHTABLE_NPAGE-1)]==pgno