Searched refs:current_idx (Results 1 – 2 of 2) sorted by relevance
/openssl/crypto/ |
H A D | threads_win.c | 328 uint32_t current_idx; in update_qp() local 342 current_idx = lock->current_alloc_idx; in update_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() 373 return &lock->qp_group[current_idx]; in update_qp()
|
H A D | threads_pthread.c | 509 uint32_t current_idx; in update_qp() local 522 current_idx = lock->current_alloc_idx; in update_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()
|
Completed in 14 milliseconds