Home
last modified time | relevance | path

Searched defs:borrow_mut (Results 1 – 4 of 4) sorted by relevance

/linux/rust/kernel/
H A Dtypes.rs126 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> Self::BorrowedMut<'a>; in borrow_mut() method
143 unsafe fn borrow_mut<'a>(_: *mut c_void) -> Self::BorrowedMut<'a> {} in borrow_mut() method
/linux/rust/kernel/alloc/
H A Dkbox.rs512 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> &'a mut T { in borrow_mut() function
552 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> Pin<&'a mut T> { in borrow_mut() function
642 fn borrow_mut(&mut self) -> &mut T { in borrow_mut() function
H A Dkvec.rs955 fn borrow_mut(&mut self) -> &mut [T] { in borrow_mut() function
/linux/rust/kernel/sync/
H A Darc.rs403 unsafe fn borrow_mut<'a>(ptr: *mut c_void) -> ArcBorrow<'a, T> { in borrow_mut() method
893 fn borrow_mut(&mut self) -> &mut T { in borrow_mut() method