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 | 508 uint32_t current_idx; in update_qp() local 521 current_idx = lock->current_alloc_idx; in update_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()
|
Completed in 7 milliseconds