Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dcrypto.c17 _a->num_deks - _a->avail_deks - _a->in_use_deks; })
24 _bulk->avail_deks == _bulk->num_deks; })
34 int avail_deks; /* the number of available keys in this pool */ member
60 int avail_deks; /* the number of keys available, with need_sync bit 0 */ member
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()
362 pool->avail_deks -= bulk->avail_deks; in mlx5_crypto_dek_pool_remove_bulk()
405 bulk->avail_deks--; in mlx5_crypto_dek_pool_pop()
406 if (!bulk->avail_deks) { in mlx5_crypto_dek_pool_pop()
412 pool->avail_deks--; in mlx5_crypto_dek_pool_pop()
[all …]