Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dbuddy.rs24 pub struct PageList<A> { struct
32 impl<A> Clone for PageList<A> { argument
42 impl<A> PageList<A> { implementation
74 (A::PAGE_SIZE - mem::size_of::<PageList<A>>()) / mem::size_of::<PhysAddr>();
99 let page_list: PageList<A> = PageList::new(0, PhysAddr::new(0)); in new()
113 let page_list: PageList<A> = in new()
114 PageList::new(0, free_area[Self::order2index((MAX_ORDER - 1) as u8)]); in new()
139 let mut page_list: PageList<A> = Self::read_page(page_list_paddr); in new()
164 let mut page_list: PageList<A> = Self::read_page(page_list_paddr); in new()
180 let mut page_list: PageList<A> = Self::read_page(page_list_paddr); in new()
[all …]