Home
last modified time | relevance | path

Searched refs:to_errno (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/android/binder/
H A Dtrace.rs33 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 Drust_binder_main.rs381 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 Dthread.rs1248 info.errno = source.to_errno(); in transaction()
1254 ee.param = source.to_errno(); in transaction()
/linux/rust/kernel/drm/
H A Dioctl.rs151 Err(e) => e.to_errno(),
153 .unwrap_or($crate::error::code::ERANGE.to_errno()),
/linux/rust/kernel/debugfs/
H A Dfile_ops.rs152 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 Derror.rs162 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 Dmodule_param.rs67 return EINVAL.to_errno(); in set_param()
H A Dconfigfs.rs567 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 Dipc4.c98 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 Dmod.rs128 Err(e) => e.to_errno(), in open_callback()