Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dioctl.c105 static atomic_t cryptodev_sess = ATOMIC_INIT(1); variable
327 !atomic_dec_and_test(&cryptodev_sess)) { in crypto_create_session()
328 atomic_inc(&cryptodev_sess); in crypto_create_session()
330 atomic_read(&cryptodev_sess)); in crypto_create_session()
391 atomic_inc(&cryptodev_sess); in crypto_destroy_session()
392 ddebug(2, "Release cryptodev_sess = %d", atomic_read(&cryptodev_sess)); in crypto_destroy_session()
587 atomic_set(&cryptodev_sess, 1); in cryptodev_open()