Searched refs:spa_keystore (Results 1 – 4 of 4) sorted by relevance
404 ASSERT(RW_LOCK_HELD(&spa->spa_keystore.sk_wkeys_lock)); in spa_keystore_wkey_hold_ddobj_impl()410 found_wkey = avl_find(&spa->spa_keystore.sk_wkeys, &search_wkey, NULL); in spa_keystore_wkey_hold_ddobj_impl()436 if (!RW_WRITE_HELD(&spa->spa_keystore.sk_wkeys_lock)) { in spa_keystore_wkey_hold_dd()437 rw_enter(&spa->spa_keystore.sk_wkeys_lock, RW_READER); in spa_keystore_wkey_hold_dd()453 rw_exit(&spa->spa_keystore.sk_wkeys_lock); in spa_keystore_wkey_hold_dd()460 rw_exit(&spa->spa_keystore.sk_wkeys_lock); in spa_keystore_wkey_hold_dd()637 ASSERT(RW_LOCK_HELD(&spa->spa_keystore.sk_dk_lock)); in spa_keystore_dsl_key_hold_impl()643 found_dck = avl_find(&spa->spa_keystore.sk_dsl_keys, &search_dck, NULL); in spa_keystore_dsl_key_hold_impl()671 rw_enter(&spa->spa_keystore.sk_dk_lock, RW_READER); in spa_keystore_dsl_key_hold_dd()673 rw_exit(&spa->spa_keystore.sk_dk_lock); in spa_keystore_dsl_key_hold_dd()[all …]
1221 spa_keystore_init(&spa->spa_keystore); in spa_activate()1288 spa_keystore_fini(&spa->spa_keystore); in spa_deactivate()
147 typedef struct spa_keystore { struct
388 spa_keystore_t spa_keystore; /* loaded crypto keys */ member