Searched refs:to_errno (Results 1 – 8 of 8) sorted by relevance
| /linux/rust/kernel/drm/ |
| H A D | ioctl.rs | 151 Err(e) => e.to_errno(), 153 .unwrap_or($crate::error::code::ERANGE.to_errno()),
|
| /linux/drivers/android/binder/ |
| H A D | rust_binder_main.rs | 374 Err(err) => return err.to_errno(), in rust_binder_open() 381 Err(err) => return err.to_errno(), in rust_binder_open() 415 Err(err) => err.to_errno() as isize, in rust_binder_ioctl() 432 Err(err) => err.to_errno(), in rust_binder_mmap() 463 Err(err) => err.to_errno(), in rust_binder_flush()
|
| H A D | error.rs | 46 self.source.unwrap_or(EINVAL).to_errno() in as_errno()
|
| /linux/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 144 return e.to_errno() as isize; in read() 276 Err(e) => e.to_errno() as isize, in blob_read() 331 Err(e) => e.to_errno() as isize, in blob_write()
|
| /linux/rust/kernel/ |
| H A D | error.rs | 161 pub fn to_errno(self) -> crate::ffi::c_int { in to_errno() method 519 Err(e) => T::from(e.to_errno() as i16), in from_result()
|
| H A D | module_param.rs | 67 return EINVAL.to_errno(); in set_param()
|
| H A D | configfs.rs | 568 Err(err) => err.to_errno() as isize, in show() 606 Err(err) => err.to_errno() as isize, in store()
|
| /linux/sound/soc/sof/ |
| H A D | ipc4.c | 97 goto to_errno; in sof_ipc4_check_reply_status() 104 to_errno: in sof_ipc4_check_reply_status()
|