Searched refs:dek (Results 1 – 4 of 4) sorted by relevance
85 u32 mlx5_crypto_dek_get_id(struct mlx5_crypto_dek *dek) in mlx5_crypto_dek_get_id() argument87 return dek->obj_id; in mlx5_crypto_dek_get_id()427 struct mlx5_crypto_dek *dek) in mlx5_crypto_dek_free_locked() argument429 struct mlx5_crypto_dek_bulk *bulk = dek->bulk; in mlx5_crypto_dek_free_locked()434 obj_offset = dek->obj_id - bulk->base_obj_id; in mlx5_crypto_dek_free_locked()450 kfree(dek); in mlx5_crypto_dek_free_locked()455 struct mlx5_crypto_dek *dek) in mlx5_crypto_dek_pool_push() argument461 list_add(&dek->entry, &pool->wait_for_free); in mlx5_crypto_dek_pool_push()463 err = mlx5_crypto_dek_free_locked(pool, dek); in mlx5_crypto_dek_pool_push()535 struct mlx5_crypto_dek *dek, *next; in mlx5_crypto_dek_pool_free_wait_keys() local[all …]
101 struct mlx5_crypto_dek *dek; member460 struct mlx5_crypto_dek *dek; in mlx5e_ktls_add_tx() local488 dek = mlx5_ktls_create_key(priv->tls->dek_pool, crypto_info); in mlx5e_ktls_add_tx()489 if (IS_ERR(dek)) { in mlx5e_ktls_add_tx()490 err = PTR_ERR(dek); in mlx5e_ktls_add_tx()494 priv_tx->dek = dek; in mlx5e_ktls_add_tx()521 mlx5_ktls_destroy_key(priv->tls->dek_pool, priv_tx->dek); in mlx5e_ktls_del_tx()561 mlx5_crypto_dek_get_id(priv_tx->dek), in post_static_params()
43 struct mlx5_crypto_dek *dek) in mlx5_ktls_destroy_key() argument45 mlx5_crypto_dek_destroy(dek_pool, dek); in mlx5_ktls_destroy_key()
19 struct mlx5_crypto_dek *dek);