Searched refs:to_errno (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/android/binder/ |
| H A D | trace.rs | 33 fn to_errno(ret: Result) -> i32 { in to_errno() function 36 Err(err) => err.to_errno(), in to_errno() 49 unsafe { binder_ioctl_done(to_errno(ret)) } in trace_ioctl_done() 54 unsafe { binder_read_done(to_errno(ret)) } in trace_read_done() 59 unsafe { binder_write_done(to_errno(ret)) } in trace_write_done()
|
| H A D | rust_binder_main.rs | 381 Err(err) => return err.to_errno(), in rust_binder_open() 388 Err(err) => return err.to_errno(), in rust_binder_open() 422 Err(err) => err.to_errno() as isize, in rust_binder_ioctl() 439 Err(err) => err.to_errno(), in rust_binder_mmap() 470 Err(err) => err.to_errno(), in rust_binder_flush()
|
| H A D | thread.rs | 1248 info.errno = source.to_errno(); in transaction() 1254 ee.param = source.to_errno(); in transaction()
|
| /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/rust/kernel/debugfs/ |
| H A D | file_ops.rs | 152 return e.to_errno() as isize; 282 Err(e) => e.to_errno() as isize, 336 Err(e) => e.to_errno() as isize,
|
| /linux/rust/kernel/ |
| H A D | error.rs | 162 pub fn to_errno(self) -> crate::ffi::c_int { in to_errno() 424 /// # pub(super) unsafe fn f2() -> c_int { EINVAL.to_errno() } 557 Err(e) => T::from(e.to_errno() as i16), 161 pub fn to_errno(self) -> crate::ffi::c_int { to_errno() method
|
| H A D | module_param.rs | 67 return EINVAL.to_errno(); in set_param()
|
| H A D | configfs.rs | 567 Err(err) => err.to_errno() as isize, in show() 605 Err(err) => err.to_errno() as isize, in store()
|
| /linux/sound/soc/sof/ |
| H A D | ipc4.c | 98 goto to_errno; in sof_ipc4_check_reply_status() 105 to_errno: in sof_ipc4_check_reply_status()
|
| /linux/rust/kernel/drm/gem/ |
| H A D | mod.rs | 128 Err(e) => e.to_errno(), in open_callback()
|