Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/mm/
Dmmio_buddy.rs85 let list_guard: &mut SpinLockGuard<MmioFreeRegionList> = in give_back_block() localVariable
87 self.push_block(region, list_guard); in give_back_block()
125 list_guard: &mut SpinLockGuard<MmioFreeRegionList>, in query_addr_region()
134 if list_guard.num_free == 0 { in query_addr_region()
156 self.split_block(region, e2, list_guard); in query_addr_region()
176 self.split_block(region, e2, list_guard); in query_addr_region()
189 if list_guard.num_free > 0 { in query_addr_region()
190 match self.pop_block(list_guard) { in query_addr_region()
228 list_guard, in query_addr_region()
240 if list_guard.num_free > 0 { in query_addr_region()
[all …]
/DragonOS-0.1.7/docs/kernel/memory_management/
Dmmio.md172 | __buddy_split(&self,region,exp,list_guard) | 将给定大小为$2^{exp}$的内存块一分为二,并插入内存…
173 | __query_addr_region(&self,exp,list_guard) | 从buddy中申请一块大小为$2^{exp}$的内存块 …
175 | __buddy_add_region_obj(&self,region,list_guard) | 往指定的地址空间链表中添加一个内存块 …
177 | __pop_buddy_block( &self, vaddr,exp,list_guard) | 寻找并弹出指定内存块的伙伴块 …
178 | __buddy_pop_region( &self, list_guard) | 从指定空闲链表中取出内存区域 …
179 | __buddy_merge(&self,exp,list_guard,high_list_guard) | 合并所有$2^{exp}$大小的内存块 …