Lines Matching defs:aPgno

47978     ht_slot *aIndex;              /* i0, i1, i2... such that aPgno[iN] ascend */
47979 u32 *aPgno; /* Array of page numbers. */
47980 int nEntry; /* Nr. of entries in aPgno[] and aIndex[] */
47981 int iZero; /* Frame number associated with aPgno[0] */
48345 volatile u32 *aPgno;
48347 rc = walIndexPage(pWal, iHash, &aPgno);
48354 aHash = (volatile ht_slot *)&aPgno[HASHTABLE_NPAGE];
48356 aPgno = &aPgno[WALINDEX_HDR_SIZE/sizeof(u32)];
48362 *paPgno = &aPgno[-1];
48411 volatile u32 *aPgno = 0; /* Page number array for hash table */
48414 int nByte; /* Number of bytes to zero in aPgno[] */
48430 walHashGet(pWal, walFramePage(pWal->hdr.mxFrame), &aHash, &aPgno, &iZero);
48443 /* Zero the entries in the aPgno array that correspond to frames with
48446 nByte = (int)((char *)aHash - (char *)&aPgno[iLimit+1]);
48447 memset((void *)&aPgno[iLimit+1], 0, nByte);
48457 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
48473 u32 iZero = 0; /* One less than frame number of aPgno[1] */
48474 volatile u32 *aPgno = 0; /* Page number array */
48477 rc = walHashGet(pWal, walFramePage(iFrame), &aHash, &aPgno, &iZero);
48491 ** entire hash table and aPgno[] array before proceding.
48494 int nByte = (int)((u8 *)&aHash[HASHTABLE_NSLOT] - (u8 *)&aPgno[1]);
48495 memset((void*)&aPgno[1], 0, nByte);
48498 /* If the entry in aPgno[] is already set, then the previous writer
48504 if( aPgno[idx] ){
48506 assert( !aPgno[idx] );
48509 /* Write the aPgno[] array entry and the hash-table slot. */
48514 aPgno[idx] = iPage;
48536 for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
48851 u32 iPg = pSegment->aPgno[pSegment->aIndex[pSegment->iNext]];
49062 volatile u32 *aPgno;
49064 rc = walHashGet(pWal, i, &aHash, &aPgno, &iZero);
49070 aPgno++;
49074 nEntry = (int)((u32*)aHash - (u32*)aPgno);
49082 walMergesort((u32 *)aPgno, aTmp, aIndex, &nEntry);
49086 p->aSegment[i].aPgno = (u32 *)aPgno;
49840 ** (aPgno[iFrame]==pgno):
49849 volatile u32 *aPgno; /* Pointer to array of page numbers */
49850 u32 iZero; /* Frame number corresponding to aPgno[0] */
49855 rc = walHashGet(pWal, iHash, &aHash, &aPgno, &iZero);
49862 if( iFrame<=iLast && aPgno[aHash[iKey]]==pgno ){