Searched refs:MAX_ORDER (Results 1 – 1 of 1) sorted by relevance
18 const MAX_ORDER: usize = 31; constant67 free_area: [PhysAddr; (MAX_ORDER - MIN_ORDER) as usize],83 (((initial_free_pages.data() * A::PAGE_SIZE) >> (MAX_ORDER - 1)) + Self::BUDDY_ENTRIES in new()88 let mut free_area: [PhysAddr; (MAX_ORDER - MIN_ORDER) as usize] = in new()89 [PhysAddr::new(0); (MAX_ORDER - MIN_ORDER) as usize]; in new()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()127 for i in MIN_ORDER..MAX_ORDER { in new()135 if likely(i != MAX_ORDER - 1) { in new()207 assert!(remain_bytes < (1 << MAX_ORDER - 1)); in new()[all …]