/* SPDX-License-Identifier: GPL-2.0 */ /* * A minimal header declaring types added by KMSAN to existing kernel structs. * * Copyright (C) 2017-2022 Google LLC * Author: Alexander Potapenko <[email protected]> * */ #ifndef _LINUX_KMSAN_TYPES_H #define _LINUX_KMSAN_TYPES_H #include <linux/types.h> /* These constants are defined in the MSan LLVM instrumentation pass. */ #define KMSAN_RETVAL_SIZE … #define KMSAN_PARAM_SIZE … struct kmsan_context_state { … }; #undef KMSAN_PARAM_SIZE #undef KMSAN_RETVAL_SIZE struct kmsan_ctx { … }; #endif /* _LINUX_KMSAN_TYPES_H */