Searched refs:borrow (Results 1 – 9 of 9) sorted by relevance
261 let device = unsafe { <T::Ptr as ForeignOwnable>::borrow(private.cast()) }; in mmap()282 let device = unsafe { <T::Ptr as ForeignOwnable>::borrow(private) }; in ioctl()307 let device = unsafe { <T::Ptr as ForeignOwnable>::borrow(private) }; in compat_ioctl()328 let device = unsafe { <T::Ptr as ForeignOwnable>::borrow(private) }; in show_fdinfo()
98 unsafe fn borrow<'a>(ptr: *mut c_void) -> Self::Borrowed<'a>; in borrow() method142 unsafe fn borrow<'a>(_: *mut c_void) -> Self::Borrowed<'a> {} in borrow() method
195 unsafe { T::borrow(ptr.as_ptr()) } in get()
127 unsafe { T::borrow(ptr.cast()) } in drvdata_borrow()
640 Some(unsafe { T::borrow(self.as_ref().driver_data.cast()) }) in data()
9 use core::borrow::{Borrow, BorrowMut};423 unsafe fn borrow<'a>(ptr: *mut c_void) -> &'a T { in borrow() function458 unsafe fn borrow<'a>(ptr: *mut c_void) -> Pin<&'a T> { in borrow() function531 fn borrow(&self) -> &T { in borrow() function
11 borrow::{Borrow, BorrowMut},915 fn borrow(&self) -> &[T] { in borrow() function
29 borrow::{Borrow, BorrowMut},399 unsafe fn borrow<'a>(ptr: *mut c_void) -> ArcBorrow<'a, T> { in borrow() method412 unsafe { <Self as ForeignOwnable>::borrow(ptr) } in borrow_mut()452 fn borrow(&self) -> &T { in borrow() method885 fn borrow(&self) -> &T { in borrow() method
193 use ::std::{borrow::ToOwned, println, string::String}; in stack_init_reuse()
Completed in 20 milliseconds