Home
last modified time | relevance | path

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

/rust/helpers/
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()
Dsecurity.c26 int rust_helper_security_binder_transaction(const struct cred *from, in rust_helper_security_binder_transaction()
32 int rust_helper_security_binder_transfer_binder(const struct cred *from, in rust_helper_security_binder_transfer_binder()
38 int rust_helper_security_binder_transfer_file(const struct cred *from, in rust_helper_security_binder_transfer_file()
/rust/kernel/
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(_: core::fmt::Error) -> Error { in from() method
230 fn from(e: core::convert::Infallible) -> Error { in from() method
Dtypes.rs416 fn from(b: &T) -> Self { in from() method
Dstr.rs142 fn from(_: CStrConvertError) -> Error { in from() method
/rust/kernel/alloc/kvec/
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/sync/
Darc.rs410 fn from(item: UniqueArc<T>) -> Self { in from() method
416 fn from(item: Pin<UniqueArc<T>>) -> Self { in from() method
536 fn from(b: ArcBorrow<'_, T>) -> Self { in from() method
711 fn from(obj: UniqueArc<T>) -> Self { in from() method
/rust/kernel/alloc/
Dlayout.rs85 fn from(value: ArrayLayout<T>) -> Self { in from() method
Dkbox.rs335 fn from(b: Box<T, A>) -> Self { in from() function
Dkvec.rs843 fn from(b: Box<[T; N], A>) -> Vec<T, A> { in from() function
/rust/kernel/list/
Darc.rs207 fn from(unique: UniqueArc<T>) -> Self { in from() function
218 fn from(mut unique: Pin<UniqueArc<T>>) -> Self { in from() function
/rust/kernel/fs/
Dfile.rs452 fn from(_: BadFdError) -> Error { in from() method