// SPDX-License-Identifier: GPL-2.0-only #include <linux/list.h> #include <linux/kernel.h> #include <linux/dm-verity-loadpin.h> #include "dm.h" #include "dm-core.h" #include "dm-verity.h" #define DM_MSG_PREFIX … LIST_HEAD(…); static bool is_trusted_verity_target(struct dm_target *ti) { … } /* * Determines whether the file system of a superblock is located on * a verity device that is trusted by LoadPin. */ bool dm_verity_loadpin_is_bdev_trusted(struct block_device *bdev) { … }