Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 16 of 16) sorted by relevance

/linux/rust/kernel/
H A Derror.rs98 pub struct Error(NonZeroI32); struct
100 impl Error { implementation
105 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno()
121 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno()
135 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked()
183 impl fmt::Debug for Error { implementation
198 impl From<AllocError> for Error { implementation
199 fn from(_: AllocError) -> Error { in from()
204 impl From<TryFromIntError> for Error { implementation
205 fn from(_: TryFromIntError) -> Error { in from()
[all …]
H A Dconfigfs.rs151 data: impl PinInit<Data, Error>, in new() argument
261 data: impl PinInit<Data, Error>, in new() argument
502 fn make_group(&self, name: &CStr) -> Result<impl PinInit<Group<Self::Child>, Error>>; in make_group() argument
H A Dplatform.rs223 type Error = kernel::error::Error; typedef
225 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() argument
H A Dlib.rs147 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error>; in init()
151 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error> { in init()
H A Dstr.rs188 impl From<CStrConvertError> for Error { implementation
190 fn from(_: CStrConvertError) -> Error { in from()
863 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt() argument
915 type Error = AllocError; typedef
H A Dpci.rs462 type Error = kernel::error::Error; typedef
464 fn try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> { in try_from() argument
H A Dxarray.rs173 impl<T> From<StoreError<T>> for Error { implementation
H A Dmiscdevice.rs66 pub fn register(opts: MiscDeviceOptions) -> impl PinInit<Self, Error> { in register() argument
/linux/rust/kernel/alloc/kvec/
H A Derrors.rs17 impl<T> From<PushError<T>> for Error { implementation
18 fn from(_: PushError<T>) -> Error { in from()
34 impl From<RemoveError> for Error { implementation
35 fn from(_: RemoveError) -> Error { in from()
57 impl<T> From<InsertError<T>> for Error { implementation
58 fn from(_: InsertError<T>) -> Error { in from()
/linux/rust/pin-init/examples/
H A Dpthread_mutex.rs44 pub enum Error { enum
50 impl From<Infallible> for Error { implementation
57 impl From<AllocError> for Error { implementation
64 pub fn new(data: T) -> impl PinInit<Self, Error> { in new() argument
/linux/drivers/gpu/nova-core/
H A Dgpu.rs109 type Error = Error; typedef
/linux/rust/kernel/drm/gem/
H A Dmod.rs20 fn new(dev: &drm::Device<T::Driver>, size: usize) -> impl PinInit<Self, Error>; in new() argument
/linux/drivers/gpu/drm/msm/registers/
H A Dgen_header.py16 class Error(Exception): class
/linux/rust/kernel/net/
H A Dphy.rs30 Error, enumerator
/linux/fs/smb/server/
H A Dsmb_common.h180 __le16 Error; member
/linux/fs/smb/client/
H A Dcifspdu.h430 __le16 Error; member