Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/virtio/
Dvirtio_crypto_algs.c55 unsigned int active_devs; member
629 if (virtio_crypto_algs[i].active_devs == 0) { in virtio_crypto_algs_register()
635 virtio_crypto_algs[i].active_devs++; in virtio_crypto_algs_register()
656 if (virtio_crypto_algs[i].active_devs == 0 || in virtio_crypto_algs_unregister()
660 if (virtio_crypto_algs[i].active_devs == 1) in virtio_crypto_algs_unregister()
663 virtio_crypto_algs[i].active_devs--; in virtio_crypto_algs_unregister()
/Linux-v4.19/drivers/crypto/hisilicon/sec/
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()
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_algs.c77 static unsigned int active_devs; variable
1281 if (++active_devs != 1) in qat_algs_register()
1310 if (--active_devs != 0) in qat_algs_unregister()
Dqat_asym_algs.c65 static unsigned int active_devs; variable
1342 if (++active_devs == 1) { in qat_asym_algs_register()
1357 if (--active_devs == 0) { in qat_asym_algs_unregister()