Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/allocator/
H A Dbuddy.rs20 const MAX_ORDER: usize = 31; constant
69 free_area: [PhysAddr; MAX_ORDER - MIN_ORDER],
86 let mut free_area: [PhysAddr; MAX_ORDER - MIN_ORDER] = in new()
87 [PhysAddr::new(0); MAX_ORDER - MIN_ORDER]; in new()
132 for i in MIN_ORDER..MAX_ORDER { in new()
140 if likely(i != MAX_ORDER - 1) { in new()
165 assert!(remain_bytes < (1 << MAX_ORDER) - 1); in new()
167 for i in (MIN_ORDER..MAX_ORDER).rev() { in new()
315 while current_order < MAX_ORDER { in pop_front()
360 if order as usize >= MAX_ORDER { in buddy_alloc()
[all …]