Lines Matching refs:blk_keyslot_manager
12 struct blk_keyslot_manager;
28 int (*keyslot_program)(struct blk_keyslot_manager *ksm,
31 int (*keyslot_evict)(struct blk_keyslot_manager *ksm,
36 struct blk_keyslot_manager { struct
86 int blk_ksm_init(struct blk_keyslot_manager *ksm, unsigned int num_slots); argument
88 int devm_blk_ksm_init(struct device *dev, struct blk_keyslot_manager *ksm,
91 blk_status_t blk_ksm_get_slot_for_key(struct blk_keyslot_manager *ksm,
99 bool blk_ksm_crypto_cfg_supported(struct blk_keyslot_manager *ksm,
102 int blk_ksm_evict_key(struct blk_keyslot_manager *ksm,
105 void blk_ksm_reprogram_all_keys(struct blk_keyslot_manager *ksm);
107 void blk_ksm_destroy(struct blk_keyslot_manager *ksm);
109 void blk_ksm_intersect_modes(struct blk_keyslot_manager *parent,
110 const struct blk_keyslot_manager *child);
112 void blk_ksm_init_passthrough(struct blk_keyslot_manager *ksm);
114 bool blk_ksm_is_superset(struct blk_keyslot_manager *ksm_superset,
115 struct blk_keyslot_manager *ksm_subset);
117 void blk_ksm_update_capabilities(struct blk_keyslot_manager *target_ksm,
118 struct blk_keyslot_manager *reference_ksm);