Searched refs:active_devs (Results 1 – 6 of 6) sorted by relevance
49 unsigned int active_devs; member558 if (virtio_crypto_akcipher_algs[i].active_devs == 0) { in virtio_crypto_akcipher_algs_register()564 virtio_crypto_akcipher_algs[i].active_devs++; in virtio_crypto_akcipher_algs_register()584 if (virtio_crypto_akcipher_algs[i].active_devs == 0 || in virtio_crypto_akcipher_algs_unregister()588 if (virtio_crypto_akcipher_algs[i].active_devs == 1) in virtio_crypto_akcipher_algs_unregister()591 virtio_crypto_akcipher_algs[i].active_devs--; in virtio_crypto_akcipher_algs_unregister()
44 unsigned int active_devs; member618 if (virtio_crypto_algs[i].active_devs == 0) { in virtio_crypto_skcipher_algs_register()624 virtio_crypto_algs[i].active_devs++; in virtio_crypto_skcipher_algs_register()645 if (virtio_crypto_algs[i].active_devs == 0 || in virtio_crypto_skcipher_algs_unregister()649 if (virtio_crypto_algs[i].active_devs == 1) in virtio_crypto_skcipher_algs_unregister()652 virtio_crypto_algs[i].active_devs--; in virtio_crypto_skcipher_algs_unregister()
28 static unsigned int active_devs; variable35 if (++active_devs != 1) in register_algs()53 if (--active_devs != 0) in unregister_algs()
124 static unsigned int active_devs; variable1101 if (++active_devs != 1) in sec_algs_register()1106 --active_devs; in sec_algs_register()1116 if (--active_devs != 0) in sec_algs_unregister()
48 static unsigned int active_devs; variable1392 if (++active_devs != 1) in qat_algs_register()1416 if (--active_devs != 0) in qat_algs_unregister()
21 static unsigned int active_devs; variable1287 if (++active_devs == 1) { in qat_asym_algs_register()1302 if (--active_devs == 0) { in qat_asym_algs_unregister()