Home
last modified time | relevance | path

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

/linux/drivers/crypto/virtio/
H A Dvirtio_crypto_akcipher_algs.c46 unsigned int active_devs; member
530 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()
H A Dvirtio_crypto_skcipher_algs.c38 unsigned int active_devs; member
604 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()
/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()