Home
last modified time | relevance | path

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

/haiku/src/tests/add-ons/kernel/file_systems/bfs/
H A Dbfs_allocator_invalidate_largest.cpp12 int32_t fLargestStart = -1; variable
26 if (fLargestStart == start) { in allocate()
28 fLargestStart += length; in allocate()
31 } else if (start > fLargestStart in allocate()
32 && start < fLargestStart + fLargestLength) { in allocate()
34 fLargestLength = start - fLargestStart; in allocate()
37 if (cut && (fLargestLength < fLargestStart in allocate()
39 < (int32_t)fNumBits - (fLargestStart + fLargestLength))) { in allocate()
54 if (!(!fLargestValid || start + length <= fLargestStart in free()
55 || start > fLargestStart)) in free()
[all …]
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DBlockAllocator.cpp83 uint32 fLargestStart; member in AllocationBlockGroup
104 fLargestStart(0), in AllocationBlockGroup()
146 fLargestStart = _FirstFreeBlock(); in Initialize()
167 fPreviousLargestStart = fLargestStart; in Initialize()
202 ASSERT(block.CheckUnmarked(fLargestStart, fLargestLength)); in _ScanFreeRanges()
241 B_PRIu32 "\n", fLargestStart, fLargestStart + fLargestLength); in Allocate()
242 ASSERT(block.CheckUnmarked(fLargestStart, fLargestLength)); in Allocate()
255 if (start == fLargestStart) { in Allocate()
256 if (fFirstFree == fLargestStart) in Allocate()
259 fLargestStart += length; in Allocate()
[all …]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBlockAllocator.cpp218 int32 fLargestStart; member in AllocationGroup
388 fLargestStart = start; in AddFreeRange()
417 if (fLargestStart == start) { in Allocate()
419 fLargestStart += length; in Allocate()
422 } else if (start > fLargestStart in Allocate()
423 && start < fLargestStart + fLargestLength) { in Allocate()
425 fLargestLength = start - fLargestStart; in Allocate()
428 if (cut && (fLargestLength < fLargestStart in Allocate()
430 < (int32)fNumBits - (fLargestStart + fLargestLength))) { in Allocate()
484 ASSERT(!fLargestValid || start + length <= fLargestStart in Free()
[all …]