Home
last modified time | relevance | path

Searched refs:cfg (Results 1 – 4 of 4) sorted by relevance

/block/
Dblk-crypto.c389 const struct blk_crypto_config *cfg) in blk_crypto_config_supported_natively() argument
392 cfg); in blk_crypto_config_supported_natively()
401 const struct blk_crypto_config *cfg) in blk_crypto_config_supported() argument
404 cfg->key_type == BLK_CRYPTO_KEY_TYPE_STANDARD) in blk_crypto_config_supported()
406 return blk_crypto_config_supported_natively(bdev, cfg); in blk_crypto_config_supported()
Dblk-crypto-profile.c356 const struct blk_crypto_config *cfg) in __blk_crypto_cfg_supported() argument
360 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
362 if (profile->max_dun_bytes_supported < cfg->dun_bytes) in __blk_crypto_cfg_supported()
364 if (!(profile->key_types_supported & cfg->key_type)) in __blk_crypto_cfg_supported()
Dkeyslot-manager.c334 const struct blk_crypto_config *cfg) in blk_ksm_crypto_cfg_supported() argument
338 if (!(ksm->crypto_modes_supported[cfg->crypto_mode] & in blk_ksm_crypto_cfg_supported()
339 cfg->data_unit_size)) in blk_ksm_crypto_cfg_supported()
341 if (ksm->max_dun_bytes_supported < cfg->dun_bytes) in blk_ksm_crypto_cfg_supported()
Dblk-crypto-internal.h84 const struct blk_crypto_config *cfg);