Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/allocator/
H A Dbump.rs66 let area_end = area.area_end_aligned().data(); in remain_areas() localVariable
69 if offset >= area_end { in remain_areas()
76 } else if offset < area_end { in remain_areas()
81 if offset + MMA::PAGE_SIZE <= area_end { in remain_areas()
144 let area_end = area.area_end_aligned().data(); in allocate() localVariable
147 if offset >= area_end { in allocate()
154 } else if offset < area_end { in allocate()
159 if offset + count.data() * MMA::PAGE_SIZE <= area_end { in allocate()
187 let area_end = (area.base.data() + area.size) & !(MMA::PAGE_SHIFT); in usage() localVariable
189 total += (area_end - area_base) >> MMA::PAGE_SHIFT; in usage()
[all …]
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dbump.rs29 let area_end = area.area_end_aligned().data(); in arch_remain_areas() localVariable
34 if area_end <= offset_start { in arch_remain_areas()
39 let new_end = core::cmp::min(offset_end, area_end); in arch_remain_areas()