Lines Matching refs:MmWithUser
37 /// The [`MmWithUser`] type represents an address space where this is guaranteed, and you can
78 /// The `ARef<MmWithUser>` smart pointer holds an `mmget` refcount. Its destructor may sleep.
84 pub struct MmWithUser {
89 unsafe impl Send for MmWithUser {}
90 // SAFETY: All methods on `MmWithUser` can be called in parallel from several threads.
91 unsafe impl Sync for MmWithUser {}
94 unsafe impl AlwaysRefCounted for MmWithUser {
108 // Make all `Mm` methods available on `MmWithUser`.
109 impl Deref for MmWithUser {
141 pub fn mmget_not_zero(&self) -> Option<ARef<MmWithUser>> {
155 impl MmWithUser {
163 pub unsafe fn from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a MmWithUser {
254 mm: &'a MmWithUser,