Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dbuddy.rs368 let mut current_order = (order + 1) as usize; in pop_front() localVariable
370 while current_order < MAX_ORDER { in pop_front()
371 x = alloc_in_specific_order(current_order as u8); in pop_front()
376 current_order += 1; in pop_front()
383 while current_order > order as usize { in pop_front()
384 current_order -= 1; in pop_front()
387 let buddy = *x.as_ref().unwrap() + (1 << current_order); in pop_front()
390 unsafe { self.buddy_free(buddy, current_order as u8) }; in pop_front()