Lines Matching refs:keyslot
18 * The keyslot manager manages these keyslots appropriately, and also acts as
21 * Lower layer devices will set up a keyslot manager in their request queue
31 #include <linux/keyslot-manager.h>
66 * blk_ksm_init() - Initialize a keyslot manager
70 * Allocate memory for keyslots and initialize a keyslot manager. Called by
71 * e.g. storage drivers to set up a keyslot manager in their request_queue.
108 * buckets. This only makes a difference when there is only 1 keyslot.
184 * blk_ksm_get_slot_for_key() - Program a key into a keyslot.
185 * @ksm: The keyslot manager to program the key into.
188 * @slot_ptr: A pointer to return the pointer of the allocated keyslot.
190 * Get a keyslot that's been programmed with the specified key. If one already
191 * exists, return it with incremented refcount. Otherwise, wait for a keyslot
195 * Return: BLK_STS_OK on success (and keyslot is set to the pointer of the
196 * allocated keyslot), or some other blk_status_t otherwise (and
197 * keyslot is set to NULL).
263 * @slot: The keyslot to release the reference of.
288 * @ksm: The keyslot manager to check
324 * to be in a keyslot. There can be more keys than keyslots.
351 * @ksm: The keyslot manager