Home
last modified time | relevance | path

Searched refs:Error (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/linux/rust/syn/
H A Derror.rs16 pub type Result<T> = std::result::Result<T, Error>;
102 pub struct Error { struct
127 Error: Send + Sync;
129 impl Error { implementation
163 fn new(span: Span, message: String) -> Error { in new() argument
164 Error { in new()
194 fn new_spanned(tokens: TokenStream, message: String) -> Error { in new_spanned() argument
198 Error { in new_spanned()
272 pub fn combine(&mut self, another: Error) { in combine() argument
329 pub(crate) fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at() argument
[all …]
H A Dlookahead.rs4 use crate::error::{self, Error};
114 pub fn error(self) -> Error { in error() argument
130 Error::new(self.scope, "unexpected end of input") in error()
132 Error::new(self.cursor.span(), "unexpected token") in error()
/linux/rust/kernel/
H A Derror.rs27 pub const $err: super::Error =
28 match super::Error::try_from_errno(-(crate::bindings::$err as i32)) {
101 pub struct Error(NonZeroI32); struct
103 impl Error { impl
123 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno() argument
139 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in try_from_errno() argument
145 Some(unsafe { Error::from_errno_unchecked(errno) }) in try_from_errno()
153 const unsafe fn from_errno_unchecked(errno: crate::ffi::c_int) -> Error { in from_errno_unchecked() argument
157 Error(unsafe { NonZeroI32::new_unchecked(errno) }) in from_errno_unchecked()
203 impl fmt::Debug for Error { implementation
[all …]
H A Dinit.rs130 error::{self, Error},
156 Error: From<E>, in pin_init()
160 pin_init_from_closure(|slot| init.__pinned_init(slot).map_err(|e| Error::from(e))) in pin_init()
173 Error: From<E>, in init()
177 init_from_closure(|slot| init.__pinned_init(slot).map_err(|e| Error::from(e))) in init()
227 }? $crate::error::Error)
287 }? $crate::error::Error)
H A Dplatform.rs197 ) -> impl PinInit<Self, Error>; in probe() argument
310 handler: impl PinInit<T, Error> + 'a,
311 ) -> impl PinInit<irq::$reg_type<T>, Error> + 'a {
339 handler: impl PinInit<T, Error> + 'a,
340 ) -> impl PinInit<irq::$reg_type<T>, Error> + 'a {
362 return Err(Error::from_errno(irq)); in irq_by_index()
376 return Err(Error::from_errno(irq)); in optional_irq_by_index()
389 return Err(Error::from_errno(irq)); in irq_by_name()
405 return Err(Error::from_errno(irq)); in optional_irq_by_name()
508 type Error = kernel::error::Error; typedef
[all …]
H A Dmaple_tree.rs603 impl From<InsertErrorKind> for Error { implementation
605 fn from(kind: InsertErrorKind) -> Error { in from() argument
614 impl<T> From<InsertError<T>> for Error { implementation
616 fn from(insert_err: InsertError<T>) -> Error { in from() argument
617 Error::from(insert_err.cause) in from()
640 impl From<AllocErrorKind> for Error { implementation
642 fn from(kind: AllocErrorKind) -> Error { in from() argument
651 impl<T> From<AllocError<T>> for Error { implementation
653 fn from(insert_err: AllocError<T>) -> Error { in from() argument
654 Error::from(insert_err.cause) in from()
H A Dregulator.rs65 pub struct Error<State: RegulatorState> { struct
67 pub error: kernel::error::Error, argument
304 pub fn try_into_enabled(self) -> Result<Regulator<Enabled>, Error<Disabled>> { in try_into_enabled()
315 .map_err(|error| Error { in try_into_enabled()
333 pub fn try_into_disabled(self) -> Result<Regulator<Disabled>, Error<Enabled>> { in try_into_disabled()
344 .map_err(|error| Error { in try_into_disabled()
H A Dxarray.rs9 error::{Error, Result},
169 pub error: Error,
174 impl<T> From<StoreError<T>> for Error { implementation
258 error: Error::from_errno(errno), in store()
H A Ddevres.rs12 error::{to_result, Error, Result},
145 ) -> impl PinInit<Self, Error> + 'a in new()
148 Error: From<E>, in new()
374 Error: From<E>, in register()
H A Ddriver.rs93 use crate::error::{Error, Result};
158 pub fn new(name: &'static CStr, module: &'static ThisModule) -> impl PinInit<Self, Error> { in new() argument
202 ) -> impl ::pin_init::PinInit<Self, $crate::error::Error> {
/linux/rust/pin-init/examples/
H A Dpthread_mutex.rs44 pub enum Error { enum
46 IO(std::io::Error),
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
67 fn init_raw() -> impl PinInit<UnsafeCell<libc::pthread_mutex_t>, Error> { in new()
76 return Err(Error::IO(std::io::Error::from_raw_os_error(ret))); in new()
85 return Err(Error::IO(std::io::Error::from_raw_os_error(ret))); in new()
94 return Err(Error::IO(std::io::Error::from_raw_os_error(ret))); in new()
105 }? Error) in new()
/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/Documentation/ABI/testing/
H A Dsysfs-bus-platform-devices-ampere-smpro5 (RO) Contains the 48-byte Ampere (Vendor-Specific) Error Record printed
11 …| 00 | Error Type | 1 | See :ref:`the table below <smpro-error-types>` for detail…
17 …| 04 | Error status | 4 | See ARM RAS specification for details …
19 …| 08 | Error Address | 8 | See ARM RAS specification for details …
21 …| 16 | Error Misc 0 | 8 | See ARM RAS specification for details …
23 …| 24 | Error Misc 1 | 8 | See ARM RAS specification for details …
25 …| 32 | Error Misc 2 | 8 | See ARM RAS specification for details …
27 …| 40 | Error Misc 3 | 8 | See ARM RAS specification for details …
35 …| Error Group | Error Type | Sub type | Sub component | Instance …
53 …| MCU (mem) | 1 | 7 | Link Error | MCU # …
[all …]
H A Dsysfs-bus-pci-devices-aer23 Receiver Error 2
29 Corrected Internal Error 0
46 Surprise Down Error 0
57 Uncorrectable Internal Error 0
60 TLP Prefix Blocked Error 0
76 Surprise Down Error 0
87 Uncorrectable Internal Error 0
90 TLP Prefix Blocked Error 0
H A Dsysfs-bus-fcoe58 Link Error Status Block (LESB) link failure count.
61 Link Error Status Block (LESB) virtual link
65 Link Error Status Block (LESB) missed FCoE
69 Link Error Status Block (LESB) symbolic error count.
72 Link Error Status Block (LESB) block error count.
75 Link Error Status Block (LESB) Fibre Channel
/linux/rust/kernel/pci/
H A Dirq.rs102 type Error = Error; typedef
108 return Err(crate::error::Error::from_errno(irq)); in try_into()
181 handler: impl PinInit<T, Error> + 'a, in request_irq()
182 ) -> impl PinInit<irq::Registration<T>, Error> + 'a { in request_irq()
196 handler: impl PinInit<T, Error> + 'a, in request_threaded_irq()
197 ) -> impl PinInit<irq::ThreadedRegistration<T>, Error> + 'a { in request_threaded_irq()
/linux/rust/kernel/io/
H A Dmem.rs85 pub fn iomap_sized<const SIZE: usize>(self) -> impl PinInit<Devres<IoMem<SIZE>>, Error> + 'a { in iomap_sized()
97 ) -> impl PinInit<Devres<ExclusiveIoMem<SIZE>>, Error> + 'a { in iomap_exclusive_sized()
143 pub fn iomap(self) -> impl PinInit<Devres<IoMem<0>>, Error> + 'a { in iomap()
149 pub fn iomap_exclusive(self) -> impl PinInit<Devres<ExclusiveIoMem<0>>, Error> + 'a { in iomap_exclusive()
197 pub fn new<'a>(io_request: IoRequest<'a>) -> impl PinInit<Devres<Self>, Error> + 'a { in new()
265 pub fn new<'a>(io_request: IoRequest<'a>) -> impl PinInit<Devres<Self>, Error> + 'a { in new()
/linux/drivers/android/binder/
H A Derror.rs16 source: Option<Error>,
56 impl From<Error> for BinderError {
57 fn from(source: Error) -> Self { in from()
67 BinderError::from(Error::from(source)) in from()
/linux/samples/rust/
H A Drust_driver_auxiliary.rs12 error::Error,
38 fn probe(adev: &auxiliary::Device<Core>, _info: &Self::IdInfo) -> impl PinInit<Self, Error> { in probe() argument
72 fn probe(pdev: &pci::Device<Core>, _info: &Self::IdInfo) -> impl PinInit<Self, Error> { in probe() argument
114 fn init(module: &'static kernel::ThisModule) -> impl PinInit<Self, Error> { in init() argument
H A Drust_debugfs.rs77 type Err = Error;
112 ) -> impl PinInit<Self, Error> { in probe() argument
135 fn new(pdev: &platform::Device<Core>) -> impl PinInit<Self, Error> + '_ { in new()
/linux/Documentation/driver-api/mei/
H A Dmei.rst104 Error returns:
110 EFAULT Fatal Error (e.g. Unable to access user input data)
141 Error returns:
147 EFAULT Fatal Error (e.g. Unable to access user input data)
169 Error returns:
175 EFAULT Fatal Error (e.g. Unable to access user input data)
196 Error returns:
200 EFAULT Fatal Error (e.g. Unable to access user input data)
/linux/Documentation/networking/device_drivers/ethernet/marvell/
H A Docteontx2.rst173 - Error due to operation of unmapped PF.
174 - Error due to disabled alloc/free for other HW blocks (NIX, SSO, TIM, DPI and AURA).
179 - AQ Doorbell Error.
183 - RAS Error Reporting for NPA_AQ_INST_S/NPA_AQ_RES_S.
187 - Error due to unmapped slot.
204 - Error Type
205 - Error Register value
217 Unmap Slot Error
220 NPA Error Interrupt Reg : 4096
221 AQ Doorbell Error
[all …]
/linux/Documentation/driver-api/
H A Dmtdnand.rst699 0x00 ECC byte 0 Error correction code byte 0
700 0x01 ECC byte 1 Error correction code byte 1
701 0x02 ECC byte 2 Error correction code byte 2
719 0x00 ECC byte 0 Error correction code byte 0 of the lower
721 0x01 ECC byte 1 Error correction code byte 1 of the lower
723 0x02 ECC byte 2 Error correction code byte 2 of the lower
725 0x03 ECC byte 3 Error correction code byte 0 of the upper
732 0x06 ECC byte 4 Error correction code byte 1 of the upper
734 0x07 ECC byte 5 Error correction code byte 2 of the upper
751 0x28 ECC byte 0 Error correction code byte 0 of the first
[all …]
/linux/Documentation/PCI/
H A Dpcieaer-howto.rst5 The PCI Express Advanced Error Reporting Driver Guide HOWTO
19 This guide describes the basics of the PCI Express (PCIe) Advanced Error
31 the Advanced Error Reporting capability. The baseline capability is
33 set of error reporting requirements. Advanced Error Reporting
34 capability is implemented with a PCIe Advanced Error Reporting
38 Error Reporting capability. The PCIe AER driver provides three basic
79 …0000:50:00.0: PCIe Bus Error: severity=Uncorrectable (Fatal), type=Transaction Layer, (Requester I…
140 Capability structure. Error information being logged includes storing
141 the error reporting agent's Requester ID into the Error Source
142 Identification Registers and setting the error bits of the Root Error
[all …]
/linux/Documentation/gpu/amdgpu/
H A Dras.rst8 RAS debugfs/sysfs Control and Error Injection Interfaces
20 RAS Error Count sysfs Interface
24 :doc: AMDGPU RAS sysfs Error Count Interface

12345678910>>...15