Home
last modified time | relevance | path

Searched refs:Borrowed (Results 1 – 5 of 5) sorted by relevance

/linux/rust/kernel/
H A Dtypes.rs32 type Borrowed<'a>; typedef
98 unsafe fn borrow<'a>(ptr: *mut c_void) -> Self::Borrowed<'a>; in borrow()
133 type Borrowed<'a> = (); typedef
142 unsafe fn borrow<'a>(_: *mut c_void) -> Self::Borrowed<'a> {} in borrow()
H A Dscatterlist.rs102 pub struct Borrowed(Opaque<bindings::sg_table>); struct
105 unsafe impl Send for Borrowed {} implementation
108 unsafe impl Sync for Borrowed {} implementation
127 pub struct SGTable<T: private::Sealed = Borrowed> {
459 impl Sealed for super::Borrowed {} implementation
H A Dxarray.rs192 pub fn get(&self, index: usize) -> Option<T::Borrowed<'_>> { in get()
H A Dcpufreq.rs634 pub fn data<T: ForeignOwnable>(&mut self) -> Option<<T>::Borrowed<'_>> { in data()
/linux/rust/kernel/alloc/
H A Dkbox.rs493 type Borrowed<'a> = &'a T; typedef
527 type Borrowed<'a> = Pin<&'a T>; typedef