Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs95 fn create_region(&self, vaddr: VirtAddr) -> MmioBuddyAddrRegion { in create_region() argument
98 let region: MmioBuddyAddrRegion = MmioBuddyAddrRegion::new(vaddr); in create_region()
120 let region: MmioBuddyAddrRegion = self.create_region(vaddr); in give_back_block()
137 region: MmioBuddyAddrRegion, in split_block() argument
142 let new_region: MmioBuddyAddrRegion = self.create_region(vaddr); in split_block()
163 ) -> Result<MmioBuddyAddrRegion, MmioResult> { in query_addr_region() argument
298 fn mmio_buddy_query_addr_region(&self, exp: u32) -> Result<MmioBuddyAddrRegion, MmioResult> { in mmio_buddy_query_addr_region() argument
316 region: MmioBuddyAddrRegion, in push_block() argument
346 ) -> Result<MmioBuddyAddrRegion, MmioResult> { in pop_buddy_block() argument
354 let mut element: Vec<MmioBuddyAddrRegion> = list_guard in pop_buddy_block()
[all …]
/DragonOS-0.1.8/docs/kernel/memory_management/
Dmmio.md97 │ │ └────────┘ │ MmioBuddyAddrRegion
141 list: LinkedList<Box<MmioBuddyAddrRegion>>,
147 pub struct MmioBuddyAddrRegion {
156 …`MMIO_BUDDY_REGION_COUNT`的双向链表数组(free_regions)。`free_regions`中的各个链表维护了若干空闲内存块(MmioBuddyAddrRegion)。
162 &emsp;&emsp;`MmioFreeRegionList`中的元素类型为`MmioBuddyAddrRegion`结构体,`MmioBuddyAddrRegion`记录了内存块的起始地址(va…