Searched refs:cryptodev_refcnt (Results 1 – 1 of 1) sorted by relevance
74 static int cryptodev_refcnt; variable418 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()