Searched refs:active_devs (Results 1 – 2 of 2) sorted by relevance
46 unsigned int active_devs; member532 if (virtio_crypto_akcipher_algs[i].active_devs == 0) { in virtio_crypto_akcipher_algs_register()538 virtio_crypto_akcipher_algs[i].active_devs++; in virtio_crypto_akcipher_algs_register()558 if (virtio_crypto_akcipher_algs[i].active_devs == 0 || in virtio_crypto_akcipher_algs_unregister()562 if (virtio_crypto_akcipher_algs[i].active_devs == 1) in virtio_crypto_akcipher_algs_unregister()565 virtio_crypto_akcipher_algs[i].active_devs--; in virtio_crypto_akcipher_algs_unregister()
38 unsigned int active_devs; member605 if (virtio_crypto_algs[i].active_devs == 0) { in virtio_crypto_skcipher_algs_register()611 virtio_crypto_algs[i].active_devs++; in virtio_crypto_skcipher_algs_register()632 if (virtio_crypto_algs[i].active_devs == 0 || in virtio_crypto_skcipher_algs_unregister()636 if (virtio_crypto_algs[i].active_devs == 1) in virtio_crypto_skcipher_algs_unregister()639 virtio_crypto_algs[i].active_devs--; in virtio_crypto_skcipher_algs_unregister()