Lines Matching refs:mm_lock
137 mm_lock: Mutex<()>,
278 mm_lock <- new_mutex!((), "ShrinkablePageRange::mm"),
290 // `mm_lock` is taken in the destructor of `ShrinkablePageRange`, the destructor will block
292 let mm_lock = unsafe { &*ptr::from_ref(&self.mm_lock) };
294 mm_lock.try_lock()
404 let mm_mutex = self.mm_lock.lock();
466 // always hold the mm_lock mutex when setting the page to a non-null value, so it's not
633 let mm_lock = self.mm_lock.lock();
636 // with the shrinker here. Since we hold the `mm_lock`, we also can't race with the
649 drop(mm_lock);