/DragonOS/kernel/crates/bitmap/tests/ |
H A D | static-bitmap.rs | 3 use bitmap::{traits::BitMapOps, StaticBitmap}; 13 let mut bitmap = StaticBitmap::<32>::new(); in test_empty_bitmap_32() localVariable 14 assert_eq!(bitmap.len(), 32); in test_empty_bitmap_32() 15 assert_eq!(bitmap.size(), 8); in test_empty_bitmap_32() 16 assert_eq!(bitmap.first_index(), None); in test_empty_bitmap_32() 17 assert_eq!(bitmap.first_false_index(), Some(0)); in test_empty_bitmap_32() 18 assert_eq!(bitmap.last_index(), None); in test_empty_bitmap_32() 19 assert_eq!(bitmap.last_false_index(), Some(31)); in test_empty_bitmap_32() 20 assert_eq!(bitmap.next_index(0), None); in test_empty_bitmap_32() 21 assert_eq!(bitmap.next_false_index(0), Some(1)); in test_empty_bitmap_32() [all …]
|
H A D | alloc-bitmap.rs | 3 use bitmap::{traits::BitMapOps, AllocBitmap}; 13 let mut bitmap = AllocBitmap::new(32); in test_empty_bitmap_32() localVariable 14 assert_eq!(bitmap.len(), 32); in test_empty_bitmap_32() 15 assert_eq!(bitmap.size(), 8); in test_empty_bitmap_32() 16 assert_eq!(bitmap.first_index(), None); in test_empty_bitmap_32() 17 assert_eq!(bitmap.first_false_index(), Some(0)); in test_empty_bitmap_32() 18 assert_eq!(bitmap.last_index(), None); in test_empty_bitmap_32() 19 assert_eq!(bitmap.last_false_index(), Some(31)); in test_empty_bitmap_32() 20 assert_eq!(bitmap.next_index(0), None); in test_empty_bitmap_32() 21 assert_eq!(bitmap.next_false_index(0), Some(1)); in test_empty_bitmap_32() [all …]
|
/DragonOS/kernel/src/libs/lib_ui/font/ |
H A D | mod.rs | 11 bitmap: RawBitMap<'a>, field 25 bitmap: RawBitMap<'a>, in new() 30 bitmap, in new() 52 return &self.bitmap.data[pos..pos + self.bytes_per_char]; in char_map()
|
/DragonOS/kernel/src/driver/scsi/ |
H A D | mod.rs | 1 use bitmap::traits::BitMapOps; 32 id_bmp: bitmap::StaticBitmap<{ ScsiManager::MAX_DEVICES }>, 42 id_bmp: bitmap::StaticBitmap::new(), in new()
|
/DragonOS/kernel/crates/bitmap/ |
H A D | Cargo.toml | 2 name = "bitmap"
|
/DragonOS/kernel/src/smp/ |
H A D | syscall.rs | 1 use bitmap::traits::BitMapOps;
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | pages.rs | 40 for bitmap in self.iter_mut() { in initialize() 41 *bitmap = AtomicU64::new(u64::MAX); in initialize() 139 for (idx, bitmap) in self.iter().enumerate() { in all_free() 146 return (free_mask & bitmap.load(Ordering::Relaxed)) == 0; in all_free() 149 if bitmap.load(Ordering::Relaxed) == 0 { in all_free()
|
/DragonOS/kernel/ |
H A D | Cargo.toml | 40 bitmap = { path = "crates/bitmap" }
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | timer_riscv.rs | 4 use bitmap::{traits::BitMapOps, StaticBitmap};
|
/DragonOS/kernel/src/libs/ |
H A D | cpumask.rs | 3 use bitmap::{traits::BitMapOps, AllocBitmap};
|
/DragonOS/kernel/src/driver/block/ |
H A D | virtio_blk.rs | 9 use bitmap::traits::BitMapOps; 105 id_bmp: bitmap::StaticBitmap<{ VirtIOBlkManager::MAX_DEVICES }>, 115 id_bmp: bitmap::StaticBitmap::new(), in new()
|
/DragonOS/kernel/src/mm/ |
H A D | no_init.rs | 11 use bitmap::{traits::BitMapOps, StaticBitmap};
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.0.md | 85 - 实现了基于bitmap的页分配器
|
H A D | V0.1.9.md | 404 添加动态申请的bitmap (#532) 694 完成bitmap的static bitmap功能,能够静态声明bitmap (#490) 696 * 完成bitmap的static bitmap功能,能够静态声明bitmap
|
H A D | V0.1.10.md | 96 - feat(bitmap): Add bit and for AllocBitMap (#793) 234 feat(bitmap): Add bit and for AllocBitMap (#793)
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_sifive_plic.rs | 26 use bitmap::AllocBitmap;
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | virtual_console.rs | 7 use bitmap::{traits::BitMapOps, StaticBitmap};
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 4 use bitmap::{traits::BitMapOps, StaticBitmap};
|