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() local606 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()737 if (!dek_priv) in mlx5_crypto_dek_cleanup()740 kfree(dek_priv); in mlx5_crypto_dek_cleanup()751 dek_priv = kzalloc(sizeof(*dek_priv), GFP_KERNEL); in mlx5_crypto_dek_init()752 if (!dek_priv) in mlx5_crypto_dek_init()769 return dek_priv; in mlx5_crypto_dek_init()[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