Home
last modified time | relevance | path

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

/block/
Dblk-crypto-fallback.c73 static bool tfms_inited[BLK_ENCRYPTION_MODE_MAX]; variable
494 if (WARN_ON_ONCE(!tfms_inited[bc->bc_key->crypto_cfg.crypto_mode])) { in blk_crypto_fallback_bio_prep()
615 if (likely(smp_load_acquire(&tfms_inited[mode_num]))) in blk_crypto_fallback_start_using_mode()
619 if (tfms_inited[mode_num]) in blk_crypto_fallback_start_using_mode()
648 smp_store_release(&tfms_inited[mode_num], true); in blk_crypto_fallback_start_using_mode()