Lines Matching refs:aPgno

47958     ht_slot *aIndex;              /* i0, i1, i2... such that aPgno[iN] ascend */
47959 u32 *aPgno; /* Array of page numbers. */
47960 int nEntry; /* Nr. of entries in aPgno[] and aIndex[] */
47961 int iZero; /* Frame number associated with aPgno[0] */
48325 volatile u32 *aPgno;
48327 rc = walIndexPage(pWal, iHash, &aPgno);
48334 aHash = (volatile ht_slot *)&aPgno[HASHTABLE_NPAGE];
48336 aPgno = &aPgno[WALINDEX_HDR_SIZE/sizeof(u32)];
48342 *paPgno = &aPgno[-1];
48391 volatile u32 *aPgno = 0; /* Page number array for hash table */
48394 int nByte; /* Number of bytes to zero in aPgno[] */
48410 walHashGet(pWal, walFramePage(pWal->hdr.mxFrame), &aHash, &aPgno, &iZero);
48423 /* Zero the entries in the aPgno array that correspond to frames with
48426 nByte = (int)((char *)aHash - (char *)&aPgno[iLimit+1]);
48427 memset((void *)&aPgno[iLimit+1], 0, nByte);
48437 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
48453 u32 iZero = 0; /* One less than frame number of aPgno[1] */
48454 volatile u32 *aPgno = 0; /* Page number array */
48457 rc = walHashGet(pWal, walFramePage(iFrame), &aHash, &aPgno, &iZero);
48471 ** entire hash table and aPgno[] array before proceding.
48474 int nByte = (int)((u8 *)&aHash[HASHTABLE_NSLOT] - (u8 *)&aPgno[1]);
48475 memset((void*)&aPgno[1], 0, nByte);
48478 /* If the entry in aPgno[] is already set, then the previous writer
48484 if( aPgno[idx] ){
48486 assert( !aPgno[idx] );
48489 /* Write the aPgno[] array entry and the hash-table slot. */
48494 aPgno[idx] = iPage;
48516 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
48831 u32 iPg = pSegment->aPgno[pSegment->aIndex[pSegment->iNext]];
49042 volatile u32 *aPgno;
49044 rc = walHashGet(pWal, i, &aHash, &aPgno, &iZero);
49050 aPgno++;
49054 nEntry = (int)((u32*)aHash - (u32*)aPgno);
49062 walMergesort((u32 *)aPgno, aTmp, aIndex, &nEntry);
49066 p->aSegment[i].aPgno = (u32 *)aPgno;
49820 ** (aPgno[iFrame]==pgno):
49829 volatile u32 *aPgno; /* Pointer to array of page numbers */
49830 u32 iZero; /* Frame number corresponding to aPgno[0] */
49835 rc = walHashGet(pWal, iHash, &aHash, &aPgno, &iZero);
49842 if( iFrame<=iLast && aPgno[aHash[iKey]]==pgno ){