Searched refs:active_devs (Results 1 – 7 of 7) sorted by relevance
49 unsigned int active_devs; member562 if (virtio_crypto_akcipher_algs[i].active_devs == 0) { in virtio_crypto_akcipher_algs_register()568 virtio_crypto_akcipher_algs[i].active_devs++; in virtio_crypto_akcipher_algs_register()588 if (virtio_crypto_akcipher_algs[i].active_devs == 0 || in virtio_crypto_akcipher_algs_unregister()592 if (virtio_crypto_akcipher_algs[i].active_devs == 1) in virtio_crypto_akcipher_algs_unregister()595 virtio_crypto_akcipher_algs[i].active_devs--; in virtio_crypto_akcipher_algs_unregister()
41 unsigned int active_devs; member615 if (virtio_crypto_algs[i].active_devs == 0) { in virtio_crypto_skcipher_algs_register()621 virtio_crypto_algs[i].active_devs++; in virtio_crypto_skcipher_algs_register()642 if (virtio_crypto_algs[i].active_devs == 0 || in virtio_crypto_skcipher_algs_unregister()646 if (virtio_crypto_algs[i].active_devs == 1) in virtio_crypto_skcipher_algs_unregister()649 virtio_crypto_algs[i].active_devs--; in virtio_crypto_skcipher_algs_unregister()
26 static unsigned int active_devs; variable477 if (++active_devs == 1) in qat_comp_algs_register()486 if (--active_devs == 0) in qat_comp_algs_unregister()
48 static unsigned int active_devs; variable1391 if (++active_devs != 1) in qat_algs_register()1415 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()
29 static unsigned int active_devs; variable36 if (++active_devs != 1) in register_algs()54 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()