Lines Matching refs:thread_qps
91 struct thread_qp thread_qps[MAX_QPS]; member
269 if (data->thread_qps[i].qp == NULL && available_qp == -1) in ossl_rcu_read_lock()
272 if (data->thread_qps[i].lock == lock) in ossl_rcu_read_lock()
281 data->thread_qps[available_qp].qp = get_hold_current_qp(lock); in ossl_rcu_read_lock()
282 data->thread_qps[available_qp].depth = 1; in ossl_rcu_read_lock()
283 data->thread_qps[available_qp].lock = lock; in ossl_rcu_read_lock()
306 if (data->thread_qps[i].lock == lock) { in ossl_rcu_read_unlock()
307 data->thread_qps[i].depth--; in ossl_rcu_read_unlock()
308 if (data->thread_qps[i].depth == 0) { in ossl_rcu_read_unlock()
309 CRYPTO_atomic_add64(&data->thread_qps[i].qp->users, in ossl_rcu_read_unlock()
313 data->thread_qps[i].qp = NULL; in ossl_rcu_read_unlock()
314 data->thread_qps[i].lock = NULL; in ossl_rcu_read_unlock()