Searched refs:active_devs (Results 1 – 2 of 2) sorted by relevance
46 unsigned int active_devs; member530 if (virtio_crypto_akcipher_algs[i].active_devs == 0) { in virtio_crypto_akcipher_algs_register()536 virtio_crypto_akcipher_algs[i].active_devs++; in virtio_crypto_akcipher_algs_register()556 if (virtio_crypto_akcipher_algs[i].active_devs == 0 || in virtio_crypto_akcipher_algs_unregister()560 if (virtio_crypto_akcipher_algs[i].active_devs == 1) in virtio_crypto_akcipher_algs_unregister()563 virtio_crypto_akcipher_algs[i].active_devs--; in virtio_crypto_akcipher_algs_unregister()
38 unsigned int active_devs; member604 if (virtio_crypto_algs[i].active_devs == 0) { in virtio_crypto_skcipher_algs_register()610 virtio_crypto_algs[i].active_devs++; in virtio_crypto_skcipher_algs_register()631 if (virtio_crypto_algs[i].active_devs == 0 || in virtio_crypto_skcipher_algs_unregister()635 if (virtio_crypto_algs[i].active_devs == 1) in virtio_crypto_skcipher_algs_unregister()638 virtio_crypto_algs[i].active_devs--; in virtio_crypto_skcipher_algs_unregister()