Searched refs:MmWithUser (Results 1 – 4 of 4) sorted by relevance
12 mm::MmWithUser,28 mm: MmWithUser,53 type Target = MmWithUser;56 fn deref(&self) -> &MmWithUser { in deref() argument61 impl MmWithUser { impl64 pub fn into_mmput_async(me: ARef<MmWithUser>) -> ARef<MmWithUserAsync> { in into_mmput_async()
20 mm::MmWithUser,62 pub fn mm(&self) -> &MmWithUser { in mm() argument 66 unsafe { MmWithUser::from_raw((*self.as_ptr()).vm_mm) } in mm()
37 /// The [`MmWithUser`] type represents an address space where this is guaranteed, and you can78 /// The `ARef<MmWithUser>` smart pointer holds an `mmget` refcount. Its destructor may sleep.84 pub struct MmWithUser { struct 89 unsafe impl Send for MmWithUser {} implementation 90 // SAFETY: All methods on `MmWithUser` can be called in parallel from several threads.91 unsafe impl Sync for MmWithUser {} implementation 94 unsafe impl AlwaysRefCounted for MmWithUser { implementation 108 // Make all `Mm` methods available on `MmWithUser`.109 impl Deref for MmWithUser { implementation 141 pub fn mmget_not_zero(&self) -> Option<ARef<MmWithUser>> { in mmget_not_zero() argument 155 impl MmWithUser { global() implementation 163 from_raw<'a>(ptr: *const bindings::mm_struct) -> &'a MmWithUser from_raw() argument [all...]
9 mm::MmWithUser,278 pub fn mm(&self) -> Option<&MmWithUser> { in mm() argument 288 // value of `mm_users`. Furthermore, the returned `&MmWithUser` borrows from this in mm() 297 // scope, then the `&CurrentTask` cannot escape that scope, so the returned `&MmWithUser` in mm() 301 Some(unsafe { MmWithUser::from_raw(mm) }) in mm()