Home
last modified time | relevance | path

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

/DragonOS/kernel/src/mm/allocator/
H A Dbuddy.rs217 fn order2index(order: u8) -> usize { in order2index()
218 order as usize - MIN_ORDER in order2index()
226 fn pop_front(&mut self, order: u8) -> Option<PhysAddr> { in pop_front()
306 let result: Option<PhysAddr> = alloc_in_specific_order(order); in pop_front()
313 let mut current_order = (order + 1) as usize; in pop_front()
328 while current_order > order as usize { in pop_front()
355 let mut order = log2(count.data()); in buddy_alloc() localVariable
356 if count.data() & ((1 << order) - 1) != 0 { in buddy_alloc()
357 order += 1; in buddy_alloc()
359 let order = (order + MIN_ORDER) as u8; in buddy_alloc() localVariable
[all …]
/DragonOS/kernel/src/libs/
H A Dint_like.rs77 pub fn load(&self, order: ::core::sync::atomic::Ordering) -> $new_type_name {
78 $new_type_name::from(self.container.load(order))
81 pub fn store(&self, val: $new_type_name, order: ::core::sync::atomic::Ordering) {
82 self.container.store(val.into(), order)
88 order: ::core::sync::atomic::Ordering,
90 $new_type_name::from(self.container.swap(val.into(), order))
130 order: ::core::sync::atomic::Ordering,
132 $new_type_name::from(self.container.fetch_add(val.into(), order))
/DragonOS/tools/qemu/
H A Difup-nat50 --strict-order \
/DragonOS/docs/kernel/debug/
H A Ddebug-kernel-with-gdb.md191 (gdb) print order
207 (gdb) display order
208 1: order = core::sync::atomic::Ordering::SeqCst #其中1表示display编号,
/DragonOS/kernel/crates/rbpf/
H A DREADME.md33 BSD systems, in order to filter packets in the kernel with tools such as
704 Following the effort of the Rust language project itself in order to ease
/DragonOS/
H A DLICENSE199 conditions are imposed on you (whether by court order, agreement or
/DragonOS/kernel/src/include/bindings/
H A Dlinux_bpf.rs1138 pub order: __u32, field