Home
last modified time | relevance | path

Searched refs:mm (Results 1 – 7 of 7) sorted by relevance

/rust/helpers/
A Dmm.c6 void rust_helper_mmgrab(struct mm_struct *mm) in rust_helper_mmgrab() argument
8 mmgrab(mm); in rust_helper_mmgrab()
11 void rust_helper_mmdrop(struct mm_struct *mm) in rust_helper_mmdrop() argument
13 mmdrop(mm); in rust_helper_mmdrop()
16 void rust_helper_mmget(struct mm_struct *mm) in rust_helper_mmget() argument
18 mmget(mm); in rust_helper_mmget()
23 return mmget_not_zero(mm); in rust_helper_mmget_not_zero()
28 mmap_read_lock(mm); in rust_helper_mmap_read_lock()
33 return mmap_read_trylock(mm); in rust_helper_mmap_read_trylock()
38 mmap_read_unlock(mm); in rust_helper_mmap_read_unlock()
[all …]
/rust/kernel/
A Dmm.rs48 mm: Opaque<bindings::mm_struct>, field
84 mm: Mm, field
113 &self.mm in deref()
122 self.mm.get() in as_raw()
206 mm: self, in mmap_read_lock()
220 mm: self, in mmap_read_trylock()
235 mm: &'a MmWithUser, field
246 let vma = unsafe { bindings::vma_lookup(self.mm.as_raw(), vma_addr) }; in vma_lookup()
265 unsafe { bindings::mmap_read_unlock(self.mm.as_raw()) }; in drop()
A Dtask.rs10 mm::MmWithUser,
290 pub fn mm(&self) -> Option<&MmWithUser> { in mm() method
293 let mm = unsafe { (*self.as_ptr()).mm }; in mm()
295 if mm.is_null() { in mm()
313 Some(unsafe { MmWithUser::from_raw(mm) }) in mm()
A Dlib.rs100 pub mod mm; module
A Dmiscdevice.rs17 mm::virt::VmaNew,
/rust/kernel/mm/
A Dmmput_async.rs12 mm::MmWithUser,
28 mm: MmWithUser, field
57 &self.mm in deref()
A Dvirt.rs20 mm::MmWithUser,
62 pub fn mm(&self) -> &MmWithUser { in mm() method

Completed in 17 milliseconds