Home
last modified time | relevance | path

Searched defs:from (Results 1 – 18 of 18) sorted by relevance

/rust/helpers/
A Duaccess.c5 unsigned long rust_helper_copy_from_user(void *to, const void __user *from, in rust_helper_copy_from_user()
11 unsigned long rust_helper_copy_to_user(void __user *to, const void *from, in rust_helper_copy_to_user()
/rust/kernel/
A Derror.rs200 fn from(_: AllocError) -> Error { in from() method
206 fn from(_: TryFromIntError) -> Error { in from() method
212 fn from(_: Utf8Error) -> Error { in from() method
218 fn from(_: LayoutError) -> Error { in from() method
224 fn from(_: fmt::Error) -> Error { in from() method
230 fn from(e: core::convert::Infallible) -> Error { in from() method
A Dcpu.rs119 fn from(id: CpuId) -> Self { in from() method
125 fn from(id: CpuId) -> Self { in from() method
A Dxarray.rs175 fn from(value: StoreError<T>) -> Self { in from() method
A Dclk.rs74 fn from(freq: Hertz) -> Self { in from() method
A Dopp.rs122 fn from(volt: MicroVolt) -> Self { in from() method
147 fn from(power: MicroWatt) -> Self { in from() method
A Dcpufreq.rs105 fn from(rel: Relation) -> Self { in from() method
189 fn from(index: TableIndex) -> Self { in from() method
A Dstr.rs199 fn from(_: CStrConvertError) -> Error { in from() method
/rust/pin-init/examples/
A Derror.rs14 fn from(e: Infallible) -> Self { in from() method
21 fn from(_: AllocError) -> Self { in from() method
A Dpthread_mutex.rs52 fn from(e: Infallible) -> Self { in from() method
59 fn from(_: AllocError) -> Self { in from() method
/rust/kernel/alloc/kvec/
A Derrors.rs18 fn from(_: PushError<T>) -> Error { in from() method
35 fn from(_: RemoveError) -> Error { in from() method
58 fn from(_: InsertError<T>) -> Error { in from() method
/rust/kernel/alloc/
A Dlayout.rs104 fn from(value: ArrayLayout<T>) -> Self { in from() method
A Dkbox.rs348 fn from(b: Box<T, A>) -> Self { in from() function
A Dkvec.rs841 fn from(b: Box<[T; N], A>) -> Vec<T, A> { in from() function
/rust/kernel/sync/
A Daref.rs141 fn from(b: &T) -> Self { in from() method
A Darc.rs495 fn from(item: UniqueArc<T>) -> Self { in from() method
501 fn from(item: Pin<UniqueArc<T>>) -> Self { in from() method
624 fn from(b: ArcBorrow<'_, T>) -> Self { in from() method
841 fn from(obj: UniqueArc<T>) -> Self { in from() method
/rust/kernel/list/
A Darc.rs208 fn from(unique: UniqueArc<T>) -> Self { in from() function
219 fn from(mut unique: Pin<UniqueArc<T>>) -> Self { in from() function
/rust/kernel/fs/
A Dfile.rs458 fn from(_: BadFdError) -> Error { in from() method

Completed in 28 milliseconds