Home
last modified time | relevance | path

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

/openssl/crypto/
H A Dthreads_win.c91 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()
313 data->thread_qps[i].qp = NULL; in ossl_rcu_read_unlock()
[all …]
H A Dthreads_pthread.c318 struct thread_qp thread_qps[MAX_QPS]; member
449 if (data->thread_qps[i].qp == NULL && available_qp == -1) in ossl_rcu_read_lock()
452 if (data->thread_qps[i].lock == lock) { in ossl_rcu_read_lock()
453 data->thread_qps[i].depth++; in ossl_rcu_read_lock()
464 data->thread_qps[available_qp].depth = 1; in ossl_rcu_read_lock()
465 data->thread_qps[available_qp].lock = lock; in ossl_rcu_read_lock()
478 if (data->thread_qps[i].lock == lock) { in ossl_rcu_read_unlock()
484 data->thread_qps[i].depth--; in ossl_rcu_read_unlock()
485 if (data->thread_qps[i].depth == 0) { in ossl_rcu_read_unlock()
489 data->thread_qps[i].qp = NULL; in ossl_rcu_read_unlock()
[all …]

Completed in 10 milliseconds