/
usr
/
src
/
kernels
/
4.18.0-553.50.1.el8_10.x86_64
/
include
/
linux
/
File Upload :
llllll
Current File: //usr/src/kernels/4.18.0-553.50.1.el8_10.x86_64/include/linux/error-injection.h
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_ERROR_INJECTION_H #define _LINUX_ERROR_INJECTION_H #include <linux/compiler.h> #include <asm-generic/error-injection.h> #ifdef CONFIG_FUNCTION_ERROR_INJECTION extern bool within_error_injection_list(unsigned long addr); extern int get_injectable_error_type(unsigned long addr); #else /* !CONFIG_FUNCTION_ERROR_INJECTION */ static inline bool within_error_injection_list(unsigned long addr) { return false; } static inline int get_injectable_error_type(unsigned long addr) { return EI_ETYPE_NONE; } #endif #endif /* _LINUX_ERROR_INJECTION_H */
Copyright ©2k19 -
Hexid
|
Tex7ure