Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/allocator/
H A Dbuddy.rs69 free_area: [PhysAddr; MAX_ORDER - MIN_ORDER], field
86 let mut free_area: [PhysAddr; MAX_ORDER - MIN_ORDER] = in new() localVariable
90 for f in free_area.iter_mut() { in new()
102 free_area, in new()
229 let mut page_list_addr = self.free_area[Self::order2index(spec_order)]; in pop_front()
242 self.free_area[Self::order2index(spec_order)] = next_page_list_addr; in pop_front()
249 let next_page_list_addr = self.free_area[Self::order2index(spec_order)]; in pop_front()
286 self.free_area[Self::order2index(spec_order)] = page_list.next_page; in pop_front()
400 let first_page_list_paddr = self.free_area[Self::order2index(order as u8)]; in buddy_free()
435 let mut page_list_paddr = self.free_area[Self::order2index(order as u8)]; in buddy_free()
[all …]