Lines Matching refs:blk_crypto_fallback_profile
81 static struct blk_crypto_profile *blk_crypto_fallback_profile; variable
296 blk_st = blk_crypto_get_keyslot(blk_crypto_fallback_profile, in blk_crypto_fallback_encrypt_bio()
399 blk_st = blk_crypto_get_keyslot(blk_crypto_fallback_profile, in blk_crypto_fallback_decrypt_bio()
503 if (!__blk_crypto_cfg_supported(blk_crypto_fallback_profile, in blk_crypto_fallback_bio_prep()
530 return __blk_crypto_evict_key(blk_crypto_fallback_profile, key); in blk_crypto_fallback_evict_key()
549 blk_crypto_fallback_profile = in blk_crypto_fallback_init()
550 kzalloc(sizeof(*blk_crypto_fallback_profile), GFP_KERNEL); in blk_crypto_fallback_init()
551 if (!blk_crypto_fallback_profile) { in blk_crypto_fallback_init()
556 err = blk_crypto_profile_init(blk_crypto_fallback_profile, in blk_crypto_fallback_init()
562 blk_crypto_fallback_profile->ll_ops = blk_crypto_fallback_ll_ops; in blk_crypto_fallback_init()
563 blk_crypto_fallback_profile->max_dun_bytes_supported = BLK_CRYPTO_MAX_IV_SIZE; in blk_crypto_fallback_init()
567 blk_crypto_fallback_profile->modes_supported[i] = 0xFFFFFFFF; in blk_crypto_fallback_init()
568 blk_crypto_fallback_profile->modes_supported[BLK_ENCRYPTION_MODE_INVALID] = 0; in blk_crypto_fallback_init()
609 blk_crypto_profile_destroy(blk_crypto_fallback_profile); in blk_crypto_fallback_init()
611 kfree(blk_crypto_fallback_profile); in blk_crypto_fallback_init()