Lines Matching refs:PAGESIZE
79 Uint32 tmpFileOffset = startAtMbyte * PAGESIZE * NO_PAGES_IN_MBYTE * sizeof(Uint32);
85 redoLogPage = new Uint32[PAGESIZE*NO_PAGES_IN_MBYTE];
92 readFromFile(f, redoLogPage, PAGESIZE*NO_PAGES_IN_MBYTE);
99 thePageHeader = (PageHeader *) &redoLogPage[i*PAGESIZE];
111 for (int ps = 1; ps < PAGESIZE; ps++)
112 checkSum = redoLogPage[i*PAGESIZE+ps] ^ checkSum;
114 if (checkSum != redoLogPage[i*PAGESIZE]){
115 ndbout << "WRONG CHECKSUM: checksum = " << redoLogPage[i*PAGESIZE]
139 Uint32 *redoLogPagePos = redoLogPage + i*PAGESIZE;
151 ndbout << j << ":" << i-1 << ":" << PAGESIZE-words_from_previous_page << endl
153 << " " << j*32 + i-1 << ":" << PAGESIZE-words_from_previous_page << " ";
162 redoLogPagePos = redoLogPage + i*PAGESIZE + wordIndex;
185 if (wordIndex <= PAGESIZE) {
199 if (wordIndex <= PAGESIZE) {
212 wordIndex += poRecord->getLogRecordSize(PAGESIZE-wordIndex);
213 if (wordIndex <= PAGESIZE) {
227 if (wordIndex <= PAGESIZE) {
241 if (wordIndex <= PAGESIZE) {
261 if (wordIndex <= PAGESIZE) {
281 for (int k = wordIndex; k < PAGESIZE; k++){
282 Uint32 unknown = redoLogPage[i*PAGESIZE + k];
296 for (int k = wordIndex > PAGESIZE ? oldWordIndex : wordIndex;
297 k < PAGESIZE; k++)
299 Uint32 word = redoLogPage[i*PAGESIZE + k];
305 if (wordIndex > PAGESIZE) {
306 words_from_previous_page = PAGESIZE - oldWordIndex;