Home
last modified time | relevance | path

Searched refs:active_devs (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_skcipher_algs.c41 unsigned int active_devs; member
615 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()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_comp_algs.c17 static unsigned int active_devs; variable
341 if (++active_devs == 1) in qat_comp_algs_register()
350 if (--active_devs == 0) in qat_comp_algs_unregister()
H A Dqat_algs.c48 static unsigned int active_devs; variable
1391 if (++active_devs != 1) in qat_algs_register()
1415 if (--active_devs != 0) in qat_algs_unregister()
H A Dqat_asym_algs.c21 static unsigned int active_devs; variable
1341 if (++active_devs == 1) { in qat_asym_algs_register()
1356 if (--active_devs == 0) { in qat_asym_algs_unregister()
/linux/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c124 static unsigned int active_devs; variable
1101 if (++active_devs != 1) in sec_algs_register()
1106 --active_devs; in sec_algs_register()
1116 if (--active_devs != 0) in sec_algs_unregister()