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.c317 struct thread_qp thread_qps[MAX_QPS]; member
448 if (data->thread_qps[i].qp == NULL && available_qp == -1) in ossl_rcu_read_lock()
451 if (data->thread_qps[i].lock == lock) { in ossl_rcu_read_lock()
452 data->thread_qps[i].depth++; in ossl_rcu_read_lock()
463 data->thread_qps[available_qp].depth = 1; in ossl_rcu_read_lock()
464 data->thread_qps[available_qp].lock = lock; in ossl_rcu_read_lock()
477 if (data->thread_qps[i].lock == lock) { in ossl_rcu_read_unlock()
483 data->thread_qps[i].depth--; in ossl_rcu_read_unlock()
484 if (data->thread_qps[i].depth == 0) { in ossl_rcu_read_unlock()
488 data->thread_qps[i].qp = NULL; in ossl_rcu_read_unlock()
[all …]

Completed in 8 milliseconds