Lines Matching refs:ht_slot
560 typedef u16 ht_slot; typedef
582 ht_slot *aIndex; /* i0, i1, i2... such that aPgno[iN] ascend */
610 sizeof(ht_slot)*HASHTABLE_NSLOT + HASHTABLE_NPAGE*sizeof(u32) \
987 volatile ht_slot *aHash; /* Start of the wal-index hash table */
1017 pLoc->aHash = (volatile ht_slot *)&pLoc->aPgno[HASHTABLE_NPAGE]; in walHashGet()
1176 AtomicStore(&sLoc.aHash[iKey], (ht_slot)idx); in walIndexAppend()
1645 ht_slot *aLeft, /* IN: Left hand input list */ in walMerge()
1647 ht_slot **paRight, /* IN/OUT: Right hand input list */ in walMerge()
1649 ht_slot *aTmp /* Temporary buffer */ in walMerge()
1655 ht_slot *aRight = *paRight; in walMerge()
1659 ht_slot logpage; in walMerge()
1702 ht_slot *aBuffer, /* Buffer of at least *pnList items to use */ in walMergesort()
1703 ht_slot *aList, /* IN/OUT: List to sort */ in walMergesort()
1708 ht_slot *aList; /* Pointer to sub-list content */ in walMergesort()
1713 ht_slot *aMerge = 0; /* List to be merged */ in walMergesort()
1786 ht_slot *aTmp; /* Temp space used by merge-sort */ in walIteratorInit()
1799 + iLast*sizeof(ht_slot); in walIteratorInit()
1810 aTmp = (ht_slot *)sqlite3_malloc64( in walIteratorInit()
1811 sizeof(ht_slot) * (iLast>HASHTABLE_NPAGE?HASHTABLE_NPAGE:iLast) in walIteratorInit()
1824 ht_slot *aIndex; /* Sorted index for this segment */ in walIteratorInit()
1831 aIndex = &((ht_slot *)&p->aSegment[p->nSegment])[sLoc.iZero]; in walIteratorInit()
1835 aIndex[j] = (ht_slot)j; in walIteratorInit()