Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dpages.rs22 fn all_free(&self, relevant_bits: usize) -> bool; in all_free()
45 let relevant_bits = core::cmp::min(capacity / for_size, self.len() * 64); in initialize() localVariable
46 for idx in 0..relevant_bits { in initialize()
138 fn all_free(&self, relevant_bits: usize) -> bool { in all_free()
141 if relevant_bits >= checking_bit_range.0 && relevant_bits < checking_bit_range.1 { in all_free()
144 let bits_that_should_be_free = relevant_bits - checking_bit_range.0; in all_free()
234 fn is_empty(&self, relevant_bits: usize) -> bool { in is_empty()
235 self.bitfield().all_free(relevant_bits) in is_empty()