Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/bitmap/src/
H A Dalloc_bitmap.rs8 pub struct AllocBitmap { struct
14 impl AllocBitmap { impl
31 impl BitMapOps<usize> for AllocBitmap { implementation
120 impl BitAnd for &AllocBitmap { implementation
121 type Output = AllocBitmap;
124 let mut result = AllocBitmap::new(self.elements); in bitand()
132 impl BitAnd for AllocBitmap { implementation
133 type Output = AllocBitmap;
H A Dlib.rs15 pub use alloc_bitmap::AllocBitmap;
/DragonOS/kernel/src/libs/
H A Dcpumask.rs3 use bitmap::{traits::BitMapOps, AllocBitmap};
9 bmp: AllocBitmap,
15 let bmp = AllocBitmap::new(PerCpu::MAX_CPU_NUM as usize); in new()
101 pub fn inner(&self) -> &AllocBitmap { in inner() argument
/DragonOS/kernel/crates/bitmap/tests/
H A Dalloc-bitmap.rs3 use bitmap::{traits::BitMapOps, AllocBitmap};
13 let mut bitmap = AllocBitmap::new(32); in test_empty_bitmap_32()
43 let mut bitmap = AllocBitmap::new(64); in test_empty_bitmap_64()
74 let mut bitmap = AllocBitmap::new(32); in test_alloc_bitmap_32_first_1()
115 let mut bitmap = AllocBitmap::new(32); in test_alloc_bitmap_32_middle_1()
157 let mut bitmap = AllocBitmap::new(32); in test_alloc_bitmap_32_last_1()
199 let mut bitmap = AllocBitmap::new(64); in test_alloc_bitmap_64_first_1()
240 let mut bitmap = AllocBitmap::new(64); in test_alloc_bitmap_64_middle_1()
282 let mut bitmap = AllocBitmap::new(64); in test_alloc_bitmap_64_last_1()
324 let mut bitmap = AllocBitmap::new(64); in test_alloc_bitmap_64_two_1_first()
[all …]
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_sifive_plic.rs26 use bitmap::AllocBitmap;
123 enable_save: Option<AllocBitmap>,
531 handler_inner.enable_save = Some(AllocBitmap::new(irq_num as usize)); in do_riscv_sifive_plic_init()