Home
last modified time | relevance | path

Searched refs:is_full (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/crates/bitmap/tests/
H A Dstatic-bitmap.rs24 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 Dalloc-bitmap.rs24 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 Dalloc_bitmap.rs98 fn is_full(&self) -> bool { in is_full() method
99 self.core.is_full(self.elements, &self.data) in is_full()
H A Dstatic_bitmap.rs109 fn is_full(&self) -> bool { in is_full() function
110 self.core.is_full(N, &self.data) in is_full()
H A Dtraits.rs302 fn is_full(&self) -> bool; in is_full() method
H A Dbitmap_core.rs225 pub(crate) fn is_full(&self, n: usize, data: &[T]) -> bool { in is_full() method
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dpages.rs21 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 Dsc.rs126 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 Dblock_device.rs194 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()