Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_core.c74 static int cryptodev_refcnt; variable
418 cryptodev_refcnt++; in rk_crypto_init()
430 if (--cryptodev_refcnt == 0 && cryptodev_fd >= 0) { in rk_crypto_deinit()
452 if (cryptodev_refcnt < 0) in rk_crypto_deinit()
453 cryptodev_refcnt = 0; in rk_crypto_deinit()