Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/bitmap/tests/
H A Dstatic-bitmap.rs3 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 Dalloc-bitmap.rs3 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 Dmod.rs11 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 Dmod.rs1 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 DCargo.toml2 name = "bitmap"
/DragonOS/kernel/src/smp/
H A Dsyscall.rs1 use bitmap::traits::BitMapOps;
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dpages.rs40 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 DCargo.toml40 bitmap = { path = "crates/bitmap" }
/DragonOS/kernel/src/driver/clocksource/
H A Dtimer_riscv.rs4 use bitmap::{traits::BitMapOps, StaticBitmap};
/DragonOS/kernel/src/libs/
H A Dcpumask.rs3 use bitmap::{traits::BitMapOps, AllocBitmap};
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs9 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 Dno_init.rs11 use bitmap::{traits::BitMapOps, StaticBitmap};
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.0.md85 - 实现了基于bitmap的页分配器
H A DV0.1.9.md404 添加动态申请的bitmap (#532)
694 完成bitmap的static bitmap功能,能够静态声明bitmap (#490)
696 * 完成bitmap的static bitmap功能,能够静态声明bitmap
H A DV0.1.10.md96 - feat(bitmap): Add bit and for AllocBitMap (#793)
234 feat(bitmap): Add bit and for AllocBitMap (#793)
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_sifive_plic.rs26 use bitmap::AllocBitmap;
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs7 use bitmap::{traits::BitMapOps, StaticBitmap};
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs4 use bitmap::{traits::BitMapOps, StaticBitmap};