Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/
H A Dmmio_buddy.rs46 free_regions: [SpinLock<MmioFreeRegionList>; MMIO_BUDDY_REGION_COUNT as usize],
52 let mut free_regions: [MaybeUninit<SpinLock<MmioFreeRegionList>>; in new()
55 free_regions[i as usize] = MaybeUninit::new(SpinLock::new(MmioFreeRegionList::new())); in new()
60 crate::libs::spinlock::SpinLock<crate::mm::mmio_buddy::MmioFreeRegionList>, in new()
62 [SpinLock<MmioFreeRegionList>; MMIO_BUDDY_REGION_COUNT as usize], in new()
149 low_list_guard: &mut SpinLockGuard<MmioFreeRegionList>, in split_block() argument
172 list_guard: &mut SpinLockGuard<MmioFreeRegionList>, in query_addr_region() argument
185 let pop_list: &mut SpinLockGuard<MmioFreeRegionList> = in query_addr_region()
197 let low_list_guard: &mut SpinLockGuard<MmioFreeRegionList> = in query_addr_region()
216 let low_list_guard: &mut SpinLockGuard<MmioFreeRegionList> = in query_addr_region()
[all …]
/DragonOS/docs/kernel/memory_management/
H A 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…