Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dcrypto.c293 int num_deks, base_obj_id; in mlx5_crypto_dek_bulk_create() local
320 bulk->num_deks = num_deks; in mlx5_crypto_dek_bulk_create()
321 bulk->avail_deks = num_deks; in mlx5_crypto_dek_bulk_create()
342 pool->avail_deks += bulk->num_deks; in mlx5_crypto_dek_pool_add_bulk()
343 pool->num_deks += bulk->num_deks; in mlx5_crypto_dek_pool_add_bulk()
361 pool->num_deks -= bulk->num_deks; in mlx5_crypto_dek_pool_remove_bulk()
382 if (pos == bulk->num_deks) { in mlx5_crypto_dek_pool_pop()
386 WARN_ON(pos == bulk->num_deks); in mlx5_crypto_dek_pool_pop()
408 bulk->avail_start = bulk->num_deks; in mlx5_crypto_dek_pool_pop()
572 bulk->avail_deks = bulk->num_deks; in mlx5_crypto_dek_pool_reset_synced()
[all …]