Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/virtio/
Dvirtio_crypto_akcipher_algs.c49 unsigned int active_devs; member
553 if (virtio_crypto_akcipher_algs[i].active_devs == 0) { in virtio_crypto_akcipher_algs_register()
559 virtio_crypto_akcipher_algs[i].active_devs++; in virtio_crypto_akcipher_algs_register()
579 if (virtio_crypto_akcipher_algs[i].active_devs == 0 || in virtio_crypto_akcipher_algs_unregister()
583 if (virtio_crypto_akcipher_algs[i].active_devs == 1) in virtio_crypto_akcipher_algs_unregister()
586 virtio_crypto_akcipher_algs[i].active_devs--; in virtio_crypto_akcipher_algs_unregister()
Dvirtio_crypto_skcipher_algs.c44 unsigned int active_devs; member
617 if (virtio_crypto_algs[i].active_devs == 0) { in virtio_crypto_skcipher_algs_register()
623 virtio_crypto_algs[i].active_devs++; in virtio_crypto_skcipher_algs_register()
644 if (virtio_crypto_algs[i].active_devs == 0 || in virtio_crypto_skcipher_algs_unregister()
648 if (virtio_crypto_algs[i].active_devs == 1) in virtio_crypto_skcipher_algs_unregister()
651 virtio_crypto_algs[i].active_devs--; in virtio_crypto_skcipher_algs_unregister()
/linux-5.19.10/drivers/crypto/caam/
Djr.c28 static unsigned int active_devs; variable
35 if (++active_devs != 1) in register_algs()
53 if (--active_devs != 0) in unregister_algs()
/linux-5.19.10/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-5.19.10/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c21 static unsigned int active_devs; variable
1287 if (++active_devs == 1) { in qat_asym_algs_register()
1302 if (--active_devs == 0) { in qat_asym_algs_unregister()
Dqat_algs.c47 static unsigned int active_devs; variable
1564 if (++active_devs != 1) in qat_algs_register()
1588 if (--active_devs != 0) in qat_algs_unregister()