Home
last modified time | relevance | path

Searched refs:searchEnd (Results 1 – 3 of 3) sorted by relevance

/haiku/src/tests/system/kernel/file_corruption/fs/
H A DBlockAllocator.cpp259 BlockAllocator::_Allocate(uint64 base, uint64 searchEnd, uint64 count, in _Allocate() argument
263 ASSERT(searchEnd <= fTotalBlocks); in _Allocate()
265 if (base >= searchEnd || fFreeBlocks == 0) in _Allocate()
273 while (count > 0 && base < searchEnd) { in _Allocate()
277 status_t error = _AllocateInGroup(base, searchEnd, toAllocate, in _Allocate()
288 searchEnd - (uint32)*_allocatedBase % kBlocksPerGroup); in _Allocate()
307 while (remaining > 0 && base < searchEnd) { in _Allocate()
310 status_t error = _AllocateInGroup(base, searchEnd, toAllocate, in _Allocate()
355 BlockAllocator::_AllocateInGroup(uint64 base, uint64 searchEnd, uint32 count, in _AllocateInGroup() argument
364 if (base >= searchEnd) in _AllocateInGroup()
[all …]
H A DBlockAllocator.h41 status_t _Allocate(uint64 base, uint64 searchEnd,
45 status_t _AllocateInGroup(uint64 base, uint64 searchEnd,
/haiku/src/system/kernel/vm/
H A DVMUserAddressSpace.cpp169 addr_t searchBase, searchEnd; in InsertArea() local
175 searchEnd = (addr_t)addressRestrictions->address + (size - 1); in InsertArea()
181 searchEnd = fEndAddress; in InsertArea()
189 searchEnd = fEndAddress; in InsertArea()
196 status = _InsertAreaSlot(searchBase, size, searchEnd, in InsertArea()