Searched refs:is_full (Results 1 – 9 of 9) sorted by relevance
/DragonOS/kernel/crates/bitmap/tests/ |
H A D | static-bitmap.rs | 24 assert_eq!(bitmap.is_full(), false); in test_empty_bitmap_32() 37 assert_eq!(bitmap.is_full(), true); in test_empty_bitmap_32() 54 assert_eq!(bitmap.is_full(), false); in test_empty_bitmap_64() 67 assert_eq!(bitmap.is_full(), true); in test_empty_bitmap_64() 86 assert_eq!(bitmap.is_full(), false); in test_static_bitmap_32_first_1() 105 assert_eq!(bitmap.is_full(), false); in test_static_bitmap_32_first_1() 128 assert_eq!(bitmap.is_full(), false); in test_static_bitmap_32_middle_1() 147 assert_eq!(bitmap.is_full(), false); in test_static_bitmap_32_middle_1() 170 assert_eq!(bitmap.is_full(), false); in test_static_bitmap_32_last_1() 189 assert_eq!(bitmap.is_full(), false); in test_static_bitmap_32_last_1() [all …]
|
H A D | alloc-bitmap.rs | 24 assert_eq!(bitmap.is_full(), false); in test_empty_bitmap_32() 37 assert_eq!(bitmap.is_full(), true); in test_empty_bitmap_32() 54 assert_eq!(bitmap.is_full(), false); in test_empty_bitmap_64() 67 assert_eq!(bitmap.is_full(), true); in test_empty_bitmap_64() 86 assert_eq!(bitmap.is_full(), false); in test_alloc_bitmap_32_first_1() 105 assert_eq!(bitmap.is_full(), false); in test_alloc_bitmap_32_first_1() 128 assert_eq!(bitmap.is_full(), false); in test_alloc_bitmap_32_middle_1() 147 assert_eq!(bitmap.is_full(), false); in test_alloc_bitmap_32_middle_1() 170 assert_eq!(bitmap.is_full(), false); in test_alloc_bitmap_32_last_1() 189 assert_eq!(bitmap.is_full(), false); in test_alloc_bitmap_32_last_1() [all …]
|
/DragonOS/kernel/crates/bitmap/src/ |
H A D | alloc_bitmap.rs | 98 fn is_full(&self) -> bool { in is_full() method 99 self.core.is_full(self.elements, &self.data) in is_full()
|
H A D | static_bitmap.rs | 109 fn is_full(&self) -> bool { in is_full() function 110 self.core.is_full(N, &self.data) in is_full()
|
H A D | traits.rs | 302 fn is_full(&self) -> bool; in is_full() method
|
H A D | bitmap_core.rs | 225 pub(crate) fn is_full(&self, n: usize, data: &[T]) -> bool { in is_full() method
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | pages.rs | 21 fn is_full(&self) -> bool; in is_full() method 126 fn is_full(&self) -> bool { in is_full() method 229 fn is_full(&self) -> bool { in is_full() method 230 self.bitfield().is_full() in is_full()
|
H A D | sc.rs | 126 if !slab_page.is_full() { in check_page_assignments() 203 if slab_page.is_full() { in try_allocate_from_pagelist()
|
/DragonOS/kernel/src/driver/base/block/ |
H A D | block_device.rs | 194 pub fn is_full(&self) -> bool { in is_full() method 429 let full = multi && range.is_multi() || !multi && range.is_full(); in write_at_bytes() 468 let full = multi && range.is_multi() || !multi && range.is_full(); in read_at_bytes()
|