Lines Matching refs:iKey
119 unsigned int iKey; /* Key value (page number) */ member
559 unsigned int h = pPage->iKey % nNew; in pcache1ResizeHash()
609 h = pPage->iKey % pCache->nHash; in pcache1RemoveFromHash()
675 if( pPage->iKey>=iLimit ){ in pcache1TruncateUnsafe()
876 unsigned int iKey, in pcache1FetchStage2() argument
926 unsigned int h = iKey % pCache->nHash; in pcache1FetchStage2()
928 pPage->iKey = iKey; in pcache1FetchStage2()
936 if( iKey>pCache->iMaxKey ){ in pcache1FetchStage2()
937 pCache->iMaxKey = iKey; in pcache1FetchStage2()
1004 unsigned int iKey, in pcache1FetchNoMutex() argument
1011 pPage = pCache->apHash[iKey % pCache->nHash]; in pcache1FetchNoMutex()
1012 while( pPage && pPage->iKey!=iKey ){ pPage = pPage->pNext; } in pcache1FetchNoMutex()
1026 return pcache1FetchStage2(pCache, iKey, createFlag); in pcache1FetchNoMutex()
1034 unsigned int iKey, in pcache1FetchWithMutex() argument
1041 pPage = pcache1FetchNoMutex(p, iKey, createFlag); in pcache1FetchWithMutex()
1042 assert( pPage==0 || pCache->iMaxKey>=iKey ); in pcache1FetchWithMutex()
1049 unsigned int iKey, in pcache1Fetch() argument
1064 return (sqlite3_pcache_page*)pcache1FetchWithMutex(p, iKey, createFlag); in pcache1Fetch()
1068 return (sqlite3_pcache_page*)pcache1FetchNoMutex(p, iKey, createFlag); in pcache1Fetch()
1123 assert( pPage->iKey==iOld ); in pcache1Rekey()
1139 pPage->iKey = iNew; in pcache1Rekey()