Searched refs:VAL_READER (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/ |
H A D | threads_win.c | 62 # define VAL_READER ((int64_t)1 << READER_SHIFT) macro 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() 310 -VAL_READER, (uint64_t *)&ret, in ossl_rcu_read_unlock()
|
H A D | threads_pthread.c | 288 # define VAL_READER ((uint64_t)1 << READER_SHIFT) macro 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() 486 VAL_READER, __ATOMIC_RELEASE); in ossl_rcu_read_unlock()
|
Completed in 11 milliseconds