/linux/rust/kernel/ |
H A D | error.rs | 24 pub const $err: super::Error = 25 match super::Error::try_from_errno(-(crate::bindings::$err as i32)) { 96 pub struct Error(NonZeroI32); 98 impl Error { in from_errno() argument 99 /// Creates an [`Error`] from a kernel error code. in from_errno() 103 pub fn from_errno(errno: crate::ffi::c_int) -> Error { in from_errno() 107 "attempted to create `Error` with out of range `errno`: {}", in from_errno() 116 unsafe { Error::from_errno_unchecked(errno) } 119 /// Creates an [`Error`] from a kernel error code. in from_errno_unchecked() 122 const fn try_from_errno(errno: crate::ffi::c_int) -> Option<Error> { in from_errno_unchecked() 91 pub struct Error(core::ffi::c_int); global() struct 93 impl Error { global() implementation 118 from_errno_unchecked(errno: core::ffi::c_int) -> Error from_errno_unchecked() argument 169 impl fmt::Debug for Error { global() implementation 182 impl From<AllocError> for Error { global() implementation 183 from(_: AllocError) -> Error from() argument 188 impl From<TryFromIntError> for Error { global() implementation 189 from(_: TryFromIntError) -> Error from() argument 194 impl From<Utf8Error> for Error { global() implementation 195 from(_: Utf8Error) -> Error from() argument 200 impl From<LayoutError> for Error { global() implementation 201 from(_: LayoutError) -> Error from() argument 206 impl From<core::fmt::Error> for Error { global() implementation 207 from(_: core::fmt::Error) -> Error from() argument 212 impl From<core::convert::Infallible> for Error { global() implementation 213 from(e: core::convert::Infallible) -> Error from() argument [all...] |
H A D | str.rs | 9 use crate::error::{code::*, Error}; 140 impl From<CStrConvertError> for Error { 142 fn from(_: CStrConvertError) -> Error { 782 Err(fmt::Error) 819 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt() 871 type Error = AllocError; 141 impl From<CStrConvertError> for Error { global() implementation 143 from(_: CStrConvertError) -> Error from() argument 798 try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> try_from_fmt() argument 850 type Error = AllocError; global() typedef
|
H A D | firmware.rs | 7 use crate::{bindings, device::Device, error::Error, error::Result, str::CStr}; 66 return Err(Error::from_errno(ret)); in request_internal()
|
H A D | init.rs | 99 //! fn new() -> impl PinInit<Self, Error> { 134 //! # // `Error::from_errno` is `pub(crate)` in the `kernel` crate, thus provide a workaround. 136 //! # fn from_errno(errno: kernel::ffi::c_int) -> Error { 138 //! # Error::from(core::fmt::Error) 141 //! # impl FromErrno for Error {} 154 //! pub fn new(flags: u32) -> impl PinInit<Self, Error> { 172 //! return Err(Error::from_errno(err)); 215 error::{self, Error}, 364 /// This macro defaults the error to [`Infallible`]. If you need [`Error`], the [all...] |
/linux/Documentation/ABI/testing/ |
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_stats | 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
|
H A D | sysfs-class-fpga-manager | 31 * write init error = Error while preparing FPGA for programming 33 * write error = Error while programming 35 * write complete error = Error while doing post programming
|
/linux/drivers/acpi/apei/ |
H A D | Kconfig | 9 bool "ACPI Platform Error Interface (APEI)" 21 bool "APEI Generic Hardware Error Source" 27 Generic Hardware Error Source provides a way to report 56 tristate "APEI Error INJection (EINJ)" 64 bool "CXL Error INJection Support" 69 Support for CXL protocol Error INJection through debugfs/cxl. 77 tristate "APEI Error Record Serialization Table (ERST) Debug Support"
|
/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/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/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 …]
|
/linux/Documentation/gpu/amdgpu/ |
H A D | ras.rst | 8 RAS debugfs/sysfs Control and Error Injection Interfaces 20 RAS Error Count sysfs Interface 24 :doc: AMDGPU RAS sysfs Error Count Interface
|
/linux/Documentation/admin-guide/RAS/ |
H A D | error-decoding.rst | 3 Error decoding 9 Error decoding on AMD systems should be done using the rasdaemon tool:
|
/linux/Documentation/driver-api/serial/ |
H A D | serial-iso7816.rst | 49 /* Error handling. See errno. */ 77 /* Error handling. See errno. */ 84 /* Error handling. See errno. */
|
/linux/Documentation/ABI/removed/ |
H A D | sysfs-bus-nfit | 13 Uncorrectable Error Range Length Unit Size' (see: ACPI 6.2 16 need to perform read-modify-write cycles to maintain ECC (Error
|
/linux/rust/kernel/block/mq/ |
H A D | tag_set.rs | 41 ) -> impl PinInit<Self, error::Error> { in new() argument 63 inner <- PinInit::<_, error::Error>::pin_chain(Opaque::new(tag_set?), |tag_set| { in new()
|
/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | marvell,sei.txt | 1 Marvell SEI (System Error Interrupt) Controller 4 Marvell SEI (System Error Interrupt) controller is an interrupt
|
/linux/Documentation/userspace-api/media/dvb/ |
H A D | legacy_dvb_audio.rst | 502 :ref:`Generic Error Codes <gen-errors>` chapter. 553 :ref:`Generic Error Codes <gen-errors>` chapter. 606 :ref:`Generic Error Codes <gen-errors>` chapter. 658 :ref:`Generic Error Codes <gen-errors>` chapter. 721 :ref:`Generic Error Codes <gen-errors>` chapter. 795 :ref:`Generic Error Codes <gen-errors>` chapter. 866 :ref:`Generic Error Codes <gen-errors>` chapter. 939 :ref:`Generic Error Codes <gen-errors>` chapter. 1001 :ref:`Generic Error Codes <gen-errors>` chapter. 1060 :ref:`Generic Error Codes <gen-errors>` chapter. [all …]
|
H A D | legacy_dvb_video.rst | 876 :ref:`Generic Error Codes <gen-errors>` chapter. 931 :ref:`Generic Error Codes <gen-errors>` chapter. 991 :ref:`Generic Error Codes <gen-errors>` chapter. 1046 :ref:`Generic Error Codes <gen-errors>` chapter. 1115 :ref:`Generic Error Codes <gen-errors>` chapter. 1184 :ref:`Generic Error Codes <gen-errors>` chapter. 1243 :ref:`Generic Error Codes <gen-errors>` chapter. 1315 :ref:`Generic Error Codes <gen-errors>` chapter. 1391 :ref:`Generic Error Codes <gen-errors>` chapter. 1458 :ref:`Generic Error Codes <gen-errors>` chapter. [all …]
|
/linux/Documentation/usb/ |
H A D | gadget_printer.rst | 213 printf("Error %d opening %s\n", fd[0].fd, PRINTER_FILE); 234 printf("Error %d reading from %s\n", 263 printf("Error %d opening %s\n", fd[0].fd, PRINTER_FILE); 289 printf("Error %d writing to %s\n", 324 printf("Error %d opening %s\n", fd, PRINTER_FILE); 357 printf("Error %d opening %s\n", fd, PRINTER_FILE); 392 printf("Error %d opening %s\n", fd, PRINTER_FILE);
|
/linux/Documentation/admin-guide/perf/ |
H A D | dwc_pcie_pmu.rst | 9 Port in a Vendor-Specific Extended Capability named RAS D.E.S (Debug, Error 37 Using this feature you can obtain Error and Non-Error information in
|
/linux/Documentation/driver-api/usb/ |
H A D | error-codes.rst | 3 USB Error codes 17 Error codes returned by :c:func:`usb_submit_urb` 80 Error codes returned by ``in urb->status`` or in ``iso_frame_desc[n].status`` (for ISO) 180 Error codes like ``-EPROTO``, ``-EILSEQ`` and ``-EOVERFLOW`` normally 193 Error codes returned by usbcore-functions
|
/linux/drivers/acpi/ |
H A D | nvs.c | 107 goto Error; in suspend_nvs_register() 119 Error: in suspend_nvs_register()
|
/linux/Documentation/crypto/ |
H A D | api-samples.rst | 35 pr_err("Error allocating xts(aes) handle: %ld\n", PTR_ERR(tfm)); 42 pr_err("Error setting key: %d\n", err); 80 pr_err("Error encrypting data: %d\n", err);
|