Lines Matching defs:repr
20 #[cfg_attr(CONFIG_64BIT, repr(align(8)))]
21 #[cfg_attr(not(CONFIG_64BIT), repr(align(4)))]
93 #[repr(C)]
151 /// * if `nbits <= MAX_INLINE_LEN`, then `repr` is a `usize`.
152 /// * otherwise, `repr` holds a non-null pointer to an initialized
156 repr: BitmapRepr,
169 core::ptr::addr_of!(self.repr.bitmap)
173 unsafe { self.repr.ptr.as_ptr() }
188 core::ptr::addr_of_mut!(self.repr.bitmap)
192 unsafe { self.repr.ptr.as_ptr() }
222 unsafe { bindings::bitmap_free(self.repr.ptr.as_ptr()) };
236 // INVARIANT: `nbits <= MAX_INLINE_LEN`, so an inline bitmap is the right repr.
238 repr: BitmapRepr { bitmap: 0 },
251 repr: BitmapRepr { bitmap: 0 },
264 repr: BitmapRepr { ptr },