Searched refs:cryptodev_sess (Results 1 – 1 of 1) sorted by relevance
105 static atomic_t cryptodev_sess = ATOMIC_INIT(1); variable327 !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()