Lines Matching refs:BitmapVec
154 pub struct BitmapVec { struct
161 impl core::ops::Deref for BitmapVec { argument
165 let ptr = if self.nbits <= BitmapVec::MAX_INLINE_LEN { in deref()
182 impl core::ops::DerefMut for BitmapVec { implementation
184 let ptr = if self.nbits <= BitmapVec::MAX_INLINE_LEN { in deref_mut()
204 unsafe impl Send for BitmapVec {} implementation
210 unsafe impl Sync for BitmapVec {} implementation
212 impl Drop for BitmapVec { implementation
214 if self.nbits <= BitmapVec::MAX_INLINE_LEN { in drop()
226 impl BitmapVec { impl
237 BitmapVec { in new_inline()
239 nbits: BitmapVec::MAX_INLINE_LEN, in new_inline()
249 if nbits <= BitmapVec::MAX_INLINE_LEN { in new()
250 return Ok(BitmapVec { in new()
263 Ok(BitmapVec { in new()
530 let b = BitmapVec::new(0, GFP_KERNEL)?; in bitmap_vec_new()
533 let b = BitmapVec::new(3, GFP_KERNEL)?; in bitmap_vec_new()
536 let b = BitmapVec::new(1024, GFP_KERNEL)?; in bitmap_vec_new()
540 let res = BitmapVec::new(1 << 31, GFP_KERNEL); in bitmap_vec_new()
547 let mut b = BitmapVec::new(128, GFP_KERNEL)?; in bitmap_set_clear_find()
581 let mut b = BitmapVec::new(128, GFP_KERNEL)?; in owned_bitmap_out_of_bounds()
605 let mut long_bitmap = BitmapVec::new(256, GFP_KERNEL)?; in bitmap_copy_and_extend()
610 let mut short_bitmap = BitmapVec::new(32, GFP_KERNEL)?; in bitmap_copy_and_extend()