Home
last modified time | relevance | path

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

/openssl/crypto/
H A Dthreads_win.c110 struct rcu_qp *qp_group; member
181 new->qp_group = allocate_new_qp_group(new, num_writers + 1); in ossl_rcu_lock_new()
182 if (new->qp_group == NULL in ossl_rcu_lock_new()
190 OPENSSL_free(new->qp_group); in ossl_rcu_lock_new()
206 OPENSSL_free(lock->qp_group); in ossl_rcu_lock_free()
226 CRYPTO_atomic_add64(&lock->qp_group[qp_idx].users, VAL_READER, &tmp64, in get_hold_current_qp()
232 CRYPTO_atomic_add64(&lock->qp_group[qp_idx].users, -VAL_READER, &tmp64, in get_hold_current_qp()
236 return &lock->qp_group[qp_idx]; in get_hold_current_qp()
361 CRYPTO_atomic_and(&lock->qp_group[current_idx].users, ID_MASK, &tmp64, in update_qp()
363 CRYPTO_atomic_add64(&lock->qp_group[current_idx].users, new_id, &tmp64, in update_qp()
[all …]
H A Dthreads_pthread.c336 struct rcu_qp *qp_group; member
397 ATOMIC_ADD_FETCH(&lock->qp_group[qp_idx].users, VAL_READER, in get_hold_current_qp()
411 ATOMIC_SUB_FETCH(&lock->qp_group[qp_idx].users, VAL_READER, in get_hold_current_qp()
415 return &lock->qp_group[qp_idx]; in get_hold_current_qp()
540 ATOMIC_AND_FETCH(&lock->qp_group[current_idx].users, ID_MASK, in update_qp()
542 ATOMIC_OR_FETCH(&lock->qp_group[current_idx].users, new_id, in update_qp()
557 return &lock->qp_group[current_idx]; in update_qp()
686 new->qp_group = allocate_new_qp_group(new, num_writers + 1); in ossl_rcu_lock_new()
687 if (new->qp_group == NULL) { in ossl_rcu_lock_new()
704 OPENSSL_free(rlock->qp_group); in ossl_rcu_lock_free()

Completed in 8 milliseconds