Lines Matching refs:order2index
114 PageList::new(0, free_area[Self::order2index((MAX_ORDER - 1) as u8)]); in new()
116 free_area[Self::order2index((MAX_ORDER - 1) as u8)] = curr_page; in new()
138 let page_list_paddr: PhysAddr = free_area[Self::order2index(i as u8)]; in new()
156 let mut page_list_paddr: PhysAddr = free_area[Self::order2index(i as u8)]; in new()
212 let page_list_paddr: PhysAddr = free_area[Self::order2index(i as u8)]; in new()
270 fn order2index(order: u8) -> usize { in order2index() method
282 let mut page_list_addr = self.free_area[Self::order2index(spec_order)]; in pop_front()
295 self.free_area[Self::order2index(spec_order)] = next_page_list_addr; in pop_front()
303 let next_page_list_addr = self.free_area[Self::order2index(spec_order)]; in pop_front()
340 self.free_area[Self::order2index(spec_order)] = page_list.next_page; in pop_front()
455 let first_page_list_paddr = self.free_area[Self::order2index(order as u8)]; in buddy_free()
515 first_page_list_paddr == self.free_area[Self::order2index(order as u8)] in buddy_free()
520 self.free_area[Self::order2index(order as u8)] = new_page_list_addr; in buddy_free()
524 let first_page_list_paddr = self.free_area[Self::order2index(order as u8)]; in buddy_free()
560 let mut page_list_paddr = self.free_area[Self::order2index(order as u8)]; in buddy_free()