Searched refs:keyslot (Results 1 – 2 of 2) sorted by relevance
33 struct blk_crypto_keyslot *keyslot; in mmc_crypto_prepare_req() local40 keyslot = req->crypt_keyslot; in mmc_crypto_prepare_req()41 if (keyslot) in mmc_crypto_prepare_req()42 mrq->crypto_key_slot = blk_crypto_keyslot_index(keyslot); in mmc_crypto_prepare_req()
21 algorithm, and data unit size first be programmed into a keyslot. Each22 low-level I/O request then just contains a keyslot index and data unit number.65 keyslots and reuse an already-programmed keyslot when possible.105 device drivers need to care about most details of keyslot management.107 Specifically, for each keyslot, the block layer (via the blk_crypto_profile)108 keeps track of which blk_crypto_key that keyslot contains (if any), and how many110 ``struct request`` for a bio that has an encryption context, it grabs a keyslot112 keyslot (a keyslot that isn't in-use by any I/O), then programs the key into the113 least-recently-used idle keyslot using the function the device driver provided.114 In both cases, the resulting keyslot is stored in the ``crypt_keyslot`` field of[all …]