Home
last modified time | relevance | path

Searched refs:Error (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-6.6/rust/kernel/
H A Derror.rs27 pub const $err: super::Error = super::Error(-(crate::bindings::$err as i32));
95 pub struct Error(core::ffi::c_int); structure names
97 impl Error { impls
98 /// Creates an [`Error`] from a kernel error code.
102 pub(crate) fn from_errno(errno: core::ffi::c_int) -> Error {
106 "attempted to create `Error` with out of range `errno`: {}",
114 Error(errno)
117 /// Creates an [`Error`] from a kernel error code.
122 unsafe fn from_errno_unchecked(errno: core::ffi::c_int) -> Error { in from_errno_unchecked()
[all...]
H A Dstr.rs12 error::{code::*, Error},
51 impl From<CStrConvertError> for Error {
53 fn from(_: CStrConvertError) -> Error { in from()
516 Err(fmt::Error) in write_str()
553 pub fn try_from_fmt(args: fmt::Arguments<'_>) -> Result<Self, Error> { in try_from_fmt()
597 type Error = AllocError; types
H A Dinit.rs99 //! fn new() -> impl PinInit<Self, Error> {
133 //! # // `Error::from_errno` is `pub(crate)` in the `kernel` crate, thus provide a workaround.
135 //! # fn from_errno(errno: core::ffi::c_int) -> Error {
137 //! # Error::from(core::fmt::Error)
140 //! # impl FromErrno for Error {}
153 //! pub fn new(flags: u32) -> impl PinInit<Self, Error> {
171 //! return Err(Error::from_errno(err));
213 error::{self, Error},
363 /// This macro defaults the error to [`Infallible`]. If you need [`Error`], the
[all...]
/kernel/linux/linux-6.6/rust/alloc/
H A Dboxed.rs155 use core::error::Error;
1667 type Error = Box<[T]>; types
1678 fn try_from(boxed_slice: Box<[T]>) -> Result<Self, Self::Error> { in try_from()
1690 type Error = Vec<T>; types
1710 fn try_from(vec: Vec<T>) -> Result<Self, Self::Error> { in try_from()
2164 impl dyn Error {
2169 pub fn downcast<T: Error + 'static>(self: Box<Self>) -> Result<Box<T>, Box<dyn Error>> { in downcast()
2172 let raw: *mut dyn Error = Box::into_raw(self); in downcast()
2181 impl dyn Error
[all...]
/kernel/linux/linux-5.10/drivers/mtd/maps/
H A Dixp4xx.c195 goto Error; in ixp4xx_flash_probe()
221 goto Error; in ixp4xx_flash_probe()
228 goto Error; in ixp4xx_flash_probe()
239 goto Error; in ixp4xx_flash_probe()
244 Error: in ixp4xx_flash_probe()
/kernel/linux/linux-5.10/tools/perf/util/c++/
H A Dclang.cpp133 std::string Error; in getBPFObjectFromModule() local
134 const Target* Target = TargetRegistry::lookupTarget(TargetTriple, Error); in getBPFObjectFromModule()
136 llvm::errs() << Error; in getBPFObjectFromModule()
/kernel/linux/linux-5.10/drivers/acpi/
H A Dnvs.c105 goto Error; in suspend_nvs_register()
117 Error: in suspend_nvs_register()
/kernel/linux/linux-6.6/drivers/acpi/
H A Dnvs.c107 goto Error; in suspend_nvs_register()
119 Error: in suspend_nvs_register()
/kernel/linux/linux-6.6/arch/arc/kernel/
H A Dentry-arcv2.S32 VECTOR instr_service ; Instrn Error
42 VECTOR EV_DCError ; Data Cache Error
119 ; Memory Error Exception Handler
H A Dentry-compact.S33 * Instr Error could also cause similar scenario, so same there as well.
88 VECTOR instr_service ; 0x10, Instrn Error (0x2)
198 ; User Mode Memory Bus Error Interrupt Handler
H A Dentry.S76 ; Instruction Error Exception Handler
/kernel/linux/linux-6.6/rust/kernel/sync/
H A Darc.rs20 error::{self, Error},
76 /// # Ok::<(), Error>(())
102 /// # Ok::<(), Error>(())
126 /// # Ok::<(), Error>(())
186 Error: From<E>, in pin_init()
197 Error: From<E>, in init()
355 /// # Ok::<(), Error>(())
376 /// # Ok::<(), Error>(())
/kernel/linux/linux-6.6/tools/rcu/
H A Dextract-stall.sh11 echo Error: $1
/kernel/linux/linux-5.10/arch/arc/kernel/
H A Dentry-arcv2.S31 VECTOR instr_service ; Instrn Error
41 VECTOR EV_DCError ; Data Cache Error
118 ; Memory Error Exception Handler
H A Dentry-compact.S33 * Instr Error could also cause similar scenario, so same there as well.
88 VECTOR instr_service ; 0x10, Instrn Error (0x2)
198 ; User Mode Memory Bus Error Interrupt Handler
H A Dentry.S76 ; Instruction Error Exception Handler
/kernel/linux/linux-5.10/tools/testing/selftests/
H A Dlib.mk110 $(error Error: set INSTALL_PATH to use install)
H A DMakefile249 $(error Error: set INSTALL_PATH to use install)
/kernel/linux/linux-6.6/tools/testing/selftests/
H A Dlib.mk107 $(error Error: set INSTALL_PATH to use install)
H A DMakefile256 $(error Error: set INSTALL_PATH to use install)
/kernel/linux/linux-5.10/arch/nds32/kernel/
H A Dex-entry.S96 .long unhandled_exceptions !Machine Error
/kernel/linux/linux-5.10/include/linux/
H A Dpage-flags.h342 PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL)
/kernel/linux/linux-6.6/include/linux/
H A Dpage-flags.h476 PAGEFLAG(Error, error, PF_NO_TAIL) TESTCLEARFLAG(Error, error, PF_NO_TAIL)
/kernel/linux/linux-6.6/fs/smb/server/
H A Dsmb_common.h178 __le16 Error; member
/kernel/linux/linux-5.10/fs/cifs/
H A Dnetmisc.c8 * Error mapping routines from Samba libsmb/errormap.c
836 smberrcode = le16_to_cpu(smb->Status.DosError.Error); in map_smb_to_linux_error()
894 __u16 code = le16_to_cpu(smb->Status.DosError.Error); in map_and_check_smb_error()

Completed in 17 milliseconds

12