Home
last modified time | relevance | path

Searched refs:newBlocks (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ext2/
H A DHTreeEntryIterator.cpp292 uint32 newBlocks = 0; in BlocksNeededForNewEntry() local
294 newBlocks++; in BlocksNeededForNewEntry()
297 newBlocks += fParent->BlocksNeededForNewEntry(); in BlocksNeededForNewEntry()
307 newBlocks++; in BlocksNeededForNewEntry()
311 return newBlocks; in BlocksNeededForNewEntry()
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp1169 cached_block** newBlocks; in Add() local
1172 newBlocks = (cached_block**)malloc(newCapacity * sizeof(void*)); in Add()
1174 newBlocks = (cached_block**)realloc(fBlocks, in Add()
1178 if (newBlocks == NULL) { in Add()
1184 memcpy(newBlocks, fBuffer, kBufferSize * sizeof(void*)); in Add()
1186 fBlocks = newBlocks; in Add()