Searched defs:from (Results  1 – 12 of 12) sorted by relevance
| /rust/helpers/ | 
| D | uaccess.c | 5 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()
  | 
| D | security.c | 26 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/ | 
| D | error.rs | 200     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
  | 
| D | types.rs | 416     fn from(b: &T) -> Self {  in from()  method
  | 
| D | str.rs | 142     fn from(_: CStrConvertError) -> Error {  in from()  method
  | 
| /rust/kernel/alloc/kvec/ | 
| D | errors.rs | 18     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/ | 
| D | arc.rs | 410     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/ | 
| D | layout.rs | 85     fn from(value: ArrayLayout<T>) -> Self {  in from()  method
  | 
| D | kbox.rs | 335     fn from(b: Box<T, A>) -> Self {  in from()  function
  | 
| D | kvec.rs | 843     fn from(b: Box<[T; N], A>) -> Vec<T, A> {  in from()  function
  | 
| /rust/kernel/list/ | 
| D | arc.rs | 207     fn from(unique: UniqueArc<T>) -> Self {  in from()  function 218     fn from(mut unique: Pin<UniqueArc<T>>) -> Self {  in from()  function
  | 
| /rust/kernel/fs/ | 
| D | file.rs | 452     fn from(_: BadFdError) -> Error {  in from()  method
  |