Home
last modified time | relevance | path

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

/openssl/crypto/
H A Dthreads_win.c252 int available_qp = -1; in ossl_rcu_read_lock() local
269 if (data->thread_qps[i].qp == NULL && available_qp == -1) in ossl_rcu_read_lock()
270 available_qp = i; in ossl_rcu_read_lock()
279 assert(available_qp != -1); 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()
H A Dthreads_pthread.c431 int i, available_qp = -1; in ossl_rcu_read_lock() local
448 if (data->thread_qps[i].qp == NULL && available_qp == -1) in ossl_rcu_read_lock()
449 available_qp = i; in ossl_rcu_read_lock()
460 assert(available_qp != -1); in ossl_rcu_read_lock()
462 data->thread_qps[available_qp].qp = get_hold_current_qp(lock); 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()

Completed in 7 milliseconds