Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dbump.rs53 let area_base = (area.base.data() + (MMA::PAGE_SIZE - 1)) & !(MMA::PAGE_SIZE - 1); in allocate() localVariable
64 if offset < area_base { in allocate()
65 offset = area_base; in allocate()
94 let area_base = (area.base.data() + MMA::PAGE_SHIFT) & !(MMA::PAGE_SHIFT); in usage() localVariable
98 total += (area_end - area_base) >> MMA::PAGE_SHIFT; in usage()
101 used += (area_end - area_base) >> MMA::PAGE_SHIFT; in usage()
102 } else if self.offset < area_base { in usage()
106 used += (self.offset - area_base) >> MMA::PAGE_SHIFT; in usage()