Searched refs:dek_priv (Results 1 – 4 of 4) sorted by relevance
290 struct mlx5_crypto_dek_priv *dek_priv = pool->mdev->mlx5e_res.dek_priv; in mlx5_crypto_dek_bulk_create() local300 num_deks = 1 << dek_priv->log_dek_obj_range; in mlx5_crypto_dek_bulk_create()314 dek_priv->log_dek_obj_range, in mlx5_crypto_dek_bulk_create()606 struct mlx5_crypto_dek_priv *dek_priv = dek_pool->mdev->mlx5e_res.dek_priv; in mlx5_crypto_dek_create() local618 if (!dek_priv) { in mlx5_crypto_dek_create()651 struct mlx5_crypto_dek_priv *dek_priv = dek_pool->mdev->mlx5e_res.dek_priv; in mlx5_crypto_dek_destroy() local654 if (!dek_priv) { in mlx5_crypto_dek_destroy()735 void mlx5_crypto_dek_cleanup(struct mlx5_crypto_dek_priv *dek_priv) in mlx5_crypto_dek_cleanup() argument737 if (!dek_priv) in mlx5_crypto_dek_cleanup()740 kfree(dek_priv); in mlx5_crypto_dek_cleanup()[all …]
33 void mlx5_crypto_dek_cleanup(struct mlx5_crypto_dek_priv *dek_priv);
109 mdev->mlx5e_res.dek_priv = mlx5_crypto_dek_init(mdev); in mlx5e_create_mdev_resources()110 if (IS_ERR(mdev->mlx5e_res.dek_priv)) { in mlx5e_create_mdev_resources()112 PTR_ERR(mdev->mlx5e_res.dek_priv)); in mlx5e_create_mdev_resources()113 mdev->mlx5e_res.dek_priv = NULL; in mlx5e_create_mdev_resources()131 mlx5_crypto_dek_cleanup(mdev->mlx5e_res.dek_priv); in mlx5e_destroy_mdev_resources()132 mdev->mlx5e_res.dek_priv = NULL; in mlx5e_destroy_mdev_resources()
680 struct mlx5_crypto_dek_priv *dek_priv; member