| /linux/rust/syn/ |
| H A D | error.rs | 16 pub type Result<T> = std::result::Result<T, Error>; 102 pub struct Error { struct 127 Error: Send + Sync; 129 impl Error { impl 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 D | lookahead.rs | 4 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 D | error.rs | 27 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 D | init.rs | 91 //! pub fn new(flags: u32) -> impl PinInit<Self, Error> { 109 //! return Err(Error::from_errno(err)); 130 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() 185 /// This macro defaults the error to [`Error`]. If you need [`Infallible`], then use 199 /// use kernel::error::Error; 207 /// fn new() -> impl Init<Self, Error> { [all...] |
| H A D | platform.rs | 228 ) -> impl PinInit<Self, Error>; in probe() argument 341 handler: impl PinInit<T, Error> + 'a, 342 ) -> impl PinInit<irq::$reg_type<T>, Error> + 'a { 370 handler: impl PinInit<T, Error> + 'a, 371 ) -> impl PinInit<irq::$reg_type<T>, Error> + 'a { 393 return Err(Error::from_errno(irq)); in irq_by_index() 407 return Err(Error::from_errno(irq)); in optional_irq_by_index() 420 return Err(Error::from_errno(irq)); in irq_by_name() 436 return Err(Error::from_errno(irq)); in optional_irq_by_name() 539 type Error = kernel::error::Error; typedef [all …]
|
| H A D | maple_tree.rs | 603 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 D | regulator.rs | 68 pub struct Error<State: RegulatorState> { struct 70 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 D | xarray.rs | 9 error::{Error, Result}, 169 pub error: Error, 174 impl<T> From<StoreError<T>> for Error { implementation 258 error: Error::from_errno(errno), in store()
|
| /linux/rust/pin-init/examples/ |
| H A D | pthread_mutex.rs | 44 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 in new() [all...] |
| H A D | error.rs | 11 pub struct Error; struct 13 impl From<Infallible> for Error { implementation 20 impl From<AllocError> for Error { implementation 28 let _ = Error; in main()
|
| /linux/rust/kernel/alloc/kvec/ |
| H A D | errors.rs | 17 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 D | debugfs-dwc-pcie | 99 3) Decode Error 100 4) Running Disparity Error 101 5) SKP OS Parity Error 102 6) SYNC Header Error 104 8) CTL SKP OS Parity Error 105 9) 1st Retimer Parity Error 106 10) 2nd Retimer Parity Error 107 11) Margin CRC and Parity Error 109 13) Receiver Error 112 16) Framing Error [all …]
|
| H A D | sysfs-bus-platform-devices-ampere-smpro | 5 (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 D | sysfs-bus-pci-devices-aer | 23 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 D | sysfs-bus-fcoe | 58 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 D | irq.rs | 102 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 D | mem.rs | 89 pub fn iomap_sized<const SIZE: usize>(self) -> impl PinInit<Devres<IoMem<SIZE>>, Error> + 'a { in iomap_sized() 101 ) -> impl PinInit<Devres<ExclusiveIoMem<SIZE>>, Error> + 'a { in iomap_exclusive_sized() 152 pub fn iomap(self) -> impl PinInit<Devres<IoMem<0>>, Error> + 'a { in iomap() 158 pub fn iomap_exclusive(self) -> impl PinInit<Devres<ExclusiveIoMem<0>>, Error> + 'a { in iomap_exclusive() 206 pub fn new<'a>(io_request: IoRequest<'a>) -> impl PinInit<Devres<Self>, Error> + 'a { in new() 274 pub fn new<'a>(io_request: IoRequest<'a>) -> impl PinInit<Devres<Self>, Error> + 'a { in new()
|
| /linux/drivers/acpi/apei/ |
| H A D | Kconfig | 9 bool "ACPI Platform Error Interface (APEI)" 21 bool "APEI Generic Hardware Error Source" 28 Generic Hardware Error Source provides a way to report 57 tristate "APEI Error INJection (EINJ)" 65 bool "CXL Error INJection Support" 70 Support for CXL protocol Error INJection through debugfs/cxl. 78 tristate "APEI Error Record Serialization Table (ERST) Debug Support"
|
| /linux/samples/rust/ |
| H A D | rust_configfs.rs | 35 fn new() -> impl PinInit<Self, Error> { in new() 44 fn init(_module: &'static ThisModule) -> impl PinInit<Self, Error> { in init() argument 73 fn make_group(&self, name: &CStr) -> Result<impl PinInit<configfs::Group<Child>, Error>> { in make_group() argument 129 fn new() -> impl PinInit<Self, Error> { in new() 138 fn make_group(&self, name: &CStr) -> Result<impl PinInit<configfs::Group<GrandChild>, Error>> { in make_group() argument 176 fn new() -> impl PinInit<Self, Error> { in new()
|
| /linux/drivers/android/binder/ |
| H A D | error.rs | 16 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/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
| H A D | counters.rst | 104 Error Counters 162 - Error 170 - Error 254 - Error 259 - Error 315 - Error 342 - Error 396 - Error 400 - Error 427 - Error [all …]
|
| /linux/drivers/pci/pcie/ |
| H A D | Kconfig | 10 support for Native Hot-Plug, Advanced Error Reporting, Power 29 bool "PCI Express Advanced Error Reporting support" 33 This enables PCI Express Root Port Advanced Error Reporting 34 (AER) driver support. Error reporting messages sent to Root 42 This enables PCI Express Root Port Advanced Error Reporting 141 bool "PCI Express Error Disconnect Recover support" 144 This option adds Error Disconnect Recover support as specified
|
| /linux/Documentation/driver-api/mei/ |
| H A D | mei.rst | 104 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 D | octeontx2.rst | 173 - 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 D | mtdnand.rst | 699 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 …]
|