Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/
Dmmio_buddy.rs49 free_regions: [SpinLock<MmioFreeRegionList>; MMIO_BUDDY_REGION_COUNT as usize],
54 let mut free_regions: [MaybeUninit<SpinLock<MmioFreeRegionList>>; in new()
57 free_regions[i as usize] = MaybeUninit::new(SpinLock::new(MmioFreeRegionList::new())); in new()
60 mem::transmute::<_, [SpinLock<MmioFreeRegionList>; MMIO_BUDDY_REGION_COUNT as usize]>( in new()
139 low_list_guard: &mut SpinLockGuard<MmioFreeRegionList>, in split_block() argument
162 list_guard: &mut SpinLockGuard<MmioFreeRegionList>, in query_addr_region() argument
175 let pop_list: &mut SpinLockGuard<MmioFreeRegionList> = in query_addr_region()
187 let low_list_guard: &mut SpinLockGuard<MmioFreeRegionList> = in query_addr_region()
207 let low_list_guard: &mut SpinLockGuard<MmioFreeRegionList> = in query_addr_region()
299 let list_guard: &mut SpinLockGuard<MmioFreeRegionList> = in mmio_buddy_query_addr_region()
[all …]
/DragonOS-0.1.8/docs/kernel/memory_management/
Dmmio.md95MmioFreeRegionList├────────┤ │ └───────┘ └────────┘ │
135 free_regions: [SpinLock<MmioFreeRegionList>; MMIO_BUDDY_REGION_COUNT as usize],
139 pub struct MmioFreeRegionList {
160 …加了 {ref}`自旋锁 <_spinlock_doc_spinlock>`(SpinLock)的空闲内存块链表(MmioFreeRegionList),`MmioFreeRegionList`中…
162 &emsp;&emsp;`MmioFreeRegionList`中的元素类型为`MmioBuddyAddrRegion`结构体,`MmioBuddyAddrRegion`记录了内存块的起始地址(va…