Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/mm/
Dmmio_buddy.rs62 let mut region: Box<MmioBuddyAddrRegion> = Box::new(MmioBuddyAddrRegion::new()); in create_region() localVariable
63 region.vaddr = vaddr; in create_region()
64 return region; in create_region()
83 let region: Box<MmioBuddyAddrRegion> = self.create_region(vaddr); in give_back_block() localVariable
87 self.push_block(region, list_guard); in give_back_block()
100 region: Box<MmioBuddyAddrRegion>, in split_block()
104 let vaddr: u64 = self.calculate_block_vaddr(region.vaddr, exp - 1); in split_block()
106 self.push_block(region, low_list_guard); in split_block()
147 Ok(region) => { in query_addr_region()
152 self.split_block(region, e2, low_list_guard); in query_addr_region()
[all …]
/DragonOS-0.1.7/docs/kernel/memory_management/
Dmmio.md172 | __buddy_split(&self,region,exp,list_guard) | 将给定大小为$2^{exp}$的内存块一分为二,并插入内存…
175 | __buddy_add_region_obj(&self,region,list_guard) | 往指定的地址空间链表中添加一个内存块 …