X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=include%2Flinux%2Fkeyslot-manager.h;h=a27605e2f82605626f340fbf56886f505a07cbb3;hb=ef9a6df09c76d68492ff8a4f7d4ca922b551a7cb;hp=443ad817c6c57f654877fcecfd8daa36c47bbf1f;hpb=a99163e9e708d5d773b7de6da952fcddc341f977;p=linux-2.6-microblaze.git diff --git a/include/linux/keyslot-manager.h b/include/linux/keyslot-manager.h index 443ad817c6c5..a27605e2f826 100644 --- a/include/linux/keyslot-manager.h +++ b/include/linux/keyslot-manager.h @@ -106,4 +106,15 @@ void blk_ksm_reprogram_all_keys(struct blk_keyslot_manager *ksm); void blk_ksm_destroy(struct blk_keyslot_manager *ksm); +void blk_ksm_intersect_modes(struct blk_keyslot_manager *parent, + const struct blk_keyslot_manager *child); + +void blk_ksm_init_passthrough(struct blk_keyslot_manager *ksm); + +bool blk_ksm_is_superset(struct blk_keyslot_manager *ksm_superset, + struct blk_keyslot_manager *ksm_subset); + +void blk_ksm_update_capabilities(struct blk_keyslot_manager *target_ksm, + struct blk_keyslot_manager *reference_ksm); + #endif /* __LINUX_KEYSLOT_MANAGER_H */