Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Derror.rs101 pub struct Error(NonZeroI32); implementation
99 pub struct Error(NonZeroI32); global() struct
106 from_errno(errno: crate::ffi::c_int) -> Error from_errno() argument
122 try_from_errno(errno: crate::ffi::c_int) -> Option<Error> try_from_errno() argument
136 from_errno_unchecked(errno: crate::ffi::c_int) -> Error from_errno_unchecked() argument
184 impl fmt::Debug for Error { global() implementation
199 impl From<AllocError> for Error { global() implementation
200 from(_: AllocError) -> Error from() argument
205 impl From<TryFromIntError> for Error { global() implementation
206 from(_: TryFromIntError) -> Error from() argument
211 impl From<Utf8Error> for Error { global() implementation
212 from(_: Utf8Error) -> Error from() argument
217 impl From<LayoutError> for Error { global() implementation
218 from(_: LayoutError) -> Error from() argument
223 impl From<fmt::Error> for Error { global() implementation
224 from(_: fmt::Error) -> Error from() argument
229 impl From<core::convert::Infallible> for Error { global() implementation
230 from(e: core::convert::Infallible) -> Error from() argument
[all...]
H A Dmaple_tree.rs594 impl From<InsertErrorKind> for Error { implementation
596 fn from(kind: InsertErrorKind) -> Error { in from()
605 impl<T> From<InsertError<T>> for Error { implementation
607 fn from(insert_err: InsertError<T>) -> Error { in from()
631 impl From<AllocErrorKind> for Error { implementation
633 fn from(kind: AllocErrorKind) -> Error { in from()
642 impl<T> From<AllocError<T>> for Error { implementation
644 fn from(insert_err: AllocError<T>) -> Error { in from()
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 Dregulator.rs78 pub struct Error<State: RegulatorState> { global() struct
80 errorError global() argument
83 regulatorError global() argument
H A Dplatform.rs319 type Error = kernel::error::Error; global() typedef
321 try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> try_from() argument
[all...]
H A Dstr.rs197 impl From<CStrConvertError> for Error { global() implementation
199 from(_: CStrConvertError) -> Error from() argument
894 try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> try_from_fmt() argument
946 type Error = AllocError; global() typedef
[all...]
H A Dlib.rs171 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error>; in init()
175 fn init(module: &'static ThisModule) -> impl pin_init::PinInit<Self, error::Error> { in init()
H A Dpci.rs482 type Error = kernel::error::Error; global() typedef
484 try_from(dev: &device::Device<Ctx>) -> Result<Self, Self::Error> try_from() argument
[all...]
H A Ddriver.rs158 pub fn new(name: &'static CStr, module: &'static ThisModule) -> impl PinInit<Self, Error> { in new() argument
H A Dxarray.rs174 impl<T> From<StoreError<T>> for Error { implementation
H A Dmiscdevice.rs71 register(opts: MiscDeviceOptions) -> impl PinInit<Self, Error> 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() argument
34 impl From<RemoveError> for Error { implementation
35 fn from(_: RemoveError) -> Error { in from() argument
57 impl<T> From<InsertError<T>> for Error { implementation
58 fn from(_: InsertError<T>) -> Error { in from() argument
/linux/rust/pin-init/examples/
H A Dpthread_mutex.rs44 pub enum Error { enum
51 impl From<Infallible> for Error { implementation
58 impl From<AllocError> for Error { implementation
66 pub fn new(data: T) -> impl PinInit<Self, Error> { in new() argument
/linux/samples/rust/
H A Drust_configfs.rs45 fn init(_module: &'static ThisModule) -> impl PinInit<Self, Error> { in init() argument
74 fn make_group(&self, name: &CStr) -> Result<impl PinInit<configfs::Group<Child>, Error>> { in make_group() argument
139 fn make_group(&self, name: &CStr) -> Result<impl PinInit<configfs::Group<GrandChild>, Error>> { in make_group() argument
H A Drust_driver_auxiliary.rs105 init(module: &'static kernel::ThisModule) -> impl PinInit<Self, Error> init() argument
H A Drust_misc_device.rs132 fn init(_module: &'static ThisModule) -> impl PinInit<Self, Error> { in init() argument
/linux/rust/kernel/block/mq/
H A Dtag_set.rs40 ) -> impl PinInit<Self, error::Error> { in new()
/linux/rust/kernel/fs/
H A Dfile.rs457 impl From<BadFdError> for Error { implementation
459 fn from(_: BadFdError) -> Error { in from()
/linux/rust/kernel/drm/gem/
H A Dmod.rs20 new(dev: &drm::Device<T::Driver>, size: usize) -> impl PinInit<Self, Error> new() argument
/linux/rust/kernel/net/
H A Dphy.rs30 Error, enumerator
/linux/fs/smb/server/
H A Dsmb_common.h173 __le16 Error; member
/linux/fs/smb/client/
H A Dcifspdu.h430 __le16 Error; member