Searched refs:list_guard (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.8/kernel/src/mm/ |
D | mmio_buddy.rs | 122 let mut list_guard = self.free_regions[exp2index(exp)].lock(); in give_back_block() localVariable 124 self.push_block(region, &mut list_guard); in give_back_block() 162 list_guard: &mut SpinLockGuard<MmioFreeRegionList>, in query_addr_region() 171 if list_guard.num_free == 0 { in query_addr_region() 193 self.split_block(region, e2, list_guard); in query_addr_region() 213 self.split_block(region, e2, list_guard); in query_addr_region() 226 if list_guard.num_free > 0 { in query_addr_region() 227 match self.pop_block(list_guard) { in query_addr_region() 265 list_guard, in query_addr_region() 277 if list_guard.num_free > 0 { in query_addr_region() [all …]
|
/DragonOS-0.1.8/docs/kernel/memory_management/ |
D | mmio.md | 172 | __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}$大小的内存块 …
|
/DragonOS-0.1.8/kernel/src/time/ |
D | clocksource.rs | 289 let list_guard = &mut CLOCKSOURCE_LIST.lock(); in clocksource_enqueue() localVariable 291 for (pos, ele) in list_guard.iter().enumerate() { in clocksource_enqueue() 297 let mut temp_list = list_guard.split_off(spilt_pos); in clocksource_enqueue() 299 list_guard.push_back(cs); in clocksource_enqueue() 300 list_guard.append(&mut temp_list); in clocksource_enqueue() 322 let mut list_guard = WATCHDOG_LIST.lock_irqsave(); in clocksource_enqueue_watchdog() localVariable 328 list_guard.push_back(cs); in clocksource_enqueue_watchdog() 343 let mut list_guard = WATCHDOG_LIST.lock(); in clocksource_enqueue_watchdog() localVariable 344 list_guard.push_back(cs.clone()); in clocksource_enqueue_watchdog() 345 drop(list_guard); in clocksource_enqueue_watchdog() [all …]
|