Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dbump.rs56 let area_end = (area.base.data() + area.size) & !(MMA::PAGE_SIZE - 1); in allocate() localVariable
59 if offset >= area_end { in allocate()
66 } else if offset < area_end { in allocate()
71 if offset + count.data() * MMA::PAGE_SIZE <= area_end { in allocate()
96 let area_end = (area.base.data() + area.size) & !(MMA::PAGE_SHIFT); in usage() localVariable
98 total += (area_end - area_base) >> MMA::PAGE_SHIFT; in usage()
100 if self.offset >= area_end { in usage()
101 used += (area_end - area_base) >> MMA::PAGE_SHIFT; in usage()