Searched refs:cfg (Results 1 – 4 of 4) sorted by relevance
389 const struct blk_crypto_config *cfg) in blk_crypto_config_supported_natively() argument392 cfg); in blk_crypto_config_supported_natively()401 const struct blk_crypto_config *cfg) in blk_crypto_config_supported() argument404 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()
356 const struct blk_crypto_config *cfg) in __blk_crypto_cfg_supported() argument360 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()
334 const struct blk_crypto_config *cfg) in blk_ksm_crypto_cfg_supported() argument338 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()
84 const struct blk_crypto_config *cfg);