drm: add modifiers for MediaTek tiled formats
[drm/drm-misc.git] / security / ipe / ipe.h
blobfb37513812ddc17ef15e42f7ec6aaa887e2daf21
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2020-2024 Microsoft Corporation. All rights reserved.
4 */
6 #ifndef _IPE_H
7 #define _IPE_H
9 #ifdef pr_fmt
10 #undef pr_fmt
11 #endif
12 #define pr_fmt(fmt) "ipe: " fmt
14 #include <linux/lsm_hooks.h>
15 struct ipe_superblock *ipe_sb(const struct super_block *sb);
17 extern bool ipe_enabled;
19 #ifdef CONFIG_IPE_PROP_DM_VERITY
20 struct ipe_bdev *ipe_bdev(struct block_device *b);
21 #endif /* CONFIG_IPE_PROP_DM_VERITY */
22 #ifdef CONFIG_IPE_PROP_FS_VERITY_BUILTIN_SIG
23 struct ipe_inode *ipe_inode(const struct inode *inode);
24 #endif /* CONFIG_IPE_PROP_FS_VERITY_BUILTIN_SIG */
26 #endif /* _IPE_H */