Home
last modified time | relevance | path

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

/Linux-v6.6/rust/kernel/
Dtypes.rs25 type Borrowed<'a>; typedef
38 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> Self::Borrowed<'a>; in borrow()
52 type Borrowed<'a> = &'a T; typedef
74 type Borrowed<'a> = (); typedef
80 unsafe fn borrow<'a>(_: *const core::ffi::c_void) -> Self::Borrowed<'a> {} in borrow()
/Linux-v6.6/rust/kernel/sync/
Darc.rs237 type Borrowed<'a> = ArcBorrow<'a, T>; typedef
/Linux-v6.6/rust/alloc/
Dboxed.rs1523 Cow::Borrowed(slice) => Box::from(slice), in from()
1578 Cow::Borrowed(s) => Box::from(s), in from()