Searched refs:qp_group (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/ |
H A D | threads_win.c | 110 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 D | threads_pthread.c | 337 struct rcu_qp *qp_group; member 398 ATOMIC_ADD_FETCH(&lock->qp_group[qp_idx].users, VAL_READER, in get_hold_current_qp() 412 ATOMIC_SUB_FETCH(&lock->qp_group[qp_idx].users, VAL_READER, in get_hold_current_qp() 416 return &lock->qp_group[qp_idx]; in get_hold_current_qp() 541 ATOMIC_AND_FETCH(&lock->qp_group[current_idx].users, ID_MASK, in update_qp() 543 ATOMIC_OR_FETCH(&lock->qp_group[current_idx].users, new_id, in update_qp() 558 return &lock->qp_group[current_idx]; in update_qp() 687 new->qp_group = allocate_new_qp_group(new, num_writers + 1); in ossl_rcu_lock_new() 688 if (new->qp_group == NULL) { in ossl_rcu_lock_new() 705 OPENSSL_free(rlock->qp_group); in ossl_rcu_lock_free()
|
Completed in 16 milliseconds