at for-next 630 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (C) 2020-2024 Microsoft Corporation. All rights reserved. 4 */ 5 6#ifndef _IPE_H 7#define _IPE_H 8 9#ifdef pr_fmt 10#undef pr_fmt 11#endif 12#define pr_fmt(fmt) "ipe: " fmt 13 14#include <linux/lsm_hooks.h> 15struct ipe_superblock *ipe_sb(const struct super_block *sb); 16 17extern bool ipe_enabled; 18 19#ifdef CONFIG_IPE_PROP_DM_VERITY 20struct ipe_bdev *ipe_bdev(struct block_device *b); 21#endif /* CONFIG_IPE_PROP_DM_VERITY */ 22#ifdef CONFIG_IPE_PROP_FS_VERITY_BUILTIN_SIG 23struct ipe_inode *ipe_inode(const struct inode *inode); 24#endif /* CONFIG_IPE_PROP_FS_VERITY_BUILTIN_SIG */ 25 26#endif /* _IPE_H */