Home
last modified time | relevance | path

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

/openbmc/qemu/crypto/
H A Dblock.c240 if (block->n_free_ciphers > 0) { in qcrypto_block_pop_cipher()
241 block->n_free_ciphers--; in qcrypto_block_pop_cipher()
242 return block->free_ciphers[block->n_free_ciphers]; in qcrypto_block_pop_cipher()
257 if (block->n_free_ciphers == block->max_free_ciphers) { in qcrypto_block_push_cipher()
264 block->free_ciphers[block->n_free_ciphers] = cipher; in qcrypto_block_push_cipher()
265 block->n_free_ciphers++; in qcrypto_block_push_cipher()
278 !block->n_free_ciphers); in qcrypto_block_init_cipher()
314 assert(block->n_free_ciphers == block->max_free_ciphers); in qcrypto_block_free_cipher()
322 block->max_free_ciphers = block->n_free_ciphers = 0; in qcrypto_block_free_cipher()
H A Dblockpriv.h43 size_t n_free_ciphers; member