Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dbuddy.rs270 fn order2index(order: u8) -> usize { in order2index()
271 (order as usize - MIN_ORDER) as usize in order2index()
279 fn pop_front(&mut self, order: u8) -> Option<PhysAddr> { in pop_front()
361 let result: Option<PhysAddr> = alloc_in_specific_order(order as u8); in pop_front()
368 let mut current_order = (order + 1) as usize; in pop_front()
383 while current_order > order as usize { in pop_front()
410 let mut order = log2(count.data() as usize); in buddy_alloc() localVariable
411 if count.data() & ((1 << order) - 1) != 0 { in buddy_alloc()
412 order += 1; in buddy_alloc()
414 let order = (order + MIN_ORDER) as u8; in buddy_alloc() localVariable
[all …]
/DragonOS-0.1.8/kernel/src/libs/
Dint_like.rs66 pub fn load(&self, order: ::core::sync::atomic::Ordering) -> $new_type_name {
67 $new_type_name::from(self.container.load(order))
70 pub fn store(&self, val: $new_type_name, order: ::core::sync::atomic::Ordering) {
71 self.container.store(val.into(), order)
77 order: ::core::sync::atomic::Ordering,
79 $new_type_name::from(self.container.swap(val.into(), order))
/DragonOS-0.1.8/tools/qemu/
Difup-nat50 --strict-order \
/DragonOS-0.1.8/
DLICENSE199 conditions are imposed on you (whether by court order, agreement or