/openssl/test/ |
H A D | threadstest.c | 157 CRYPTO_atomic_add(&rwwriter1_done, 1, &local, atomiclock); in rwwriter1_fn() 166 CRYPTO_atomic_add(&rwwriter2_done, 1, &local, atomiclock); in rwwriter2_fn() 181 CRYPTO_atomic_add(&rwwriter1_done, 0, &lw1, atomiclock); in rwreader_fn() 182 CRYPTO_atomic_add(&rwwriter2_done, 0, &lw2, atomiclock); in rwreader_fn() 353 CRYPTO_atomic_add(&writer1_done, 1, &local, atomiclock); in writer1_fn() 362 CRYPTO_atomic_add(&writer2_done, 1, &local, atomiclock); in writer2_fn() 375 CRYPTO_atomic_add(&writer1_done, 0, &lw1, atomiclock); in reader_fn() 376 CRYPTO_atomic_add(&writer2_done, 0, &lw2, atomiclock); in reader_fn() 598 if (CRYPTO_atomic_add(&val, 1, &ret, NULL)) { in test_atomic() 610 if (!TEST_true(CRYPTO_atomic_add(&val, 1, &ret, lock))) in test_atomic()
|
H A D | lhash_test.c | 528 CRYPTO_atomic_add(&m->pending_delete, -1, in hashtable_mt_free() 554 CRYPTO_atomic_add(&worker_num, 1, &num, worker_lock); in do_mt_hash_work() 570 if (!CRYPTO_atomic_add(&global_iteration, 1, &giter, worker_lock)) { in do_mt_hash_work() 624 CRYPTO_atomic_add(&expected_m->pending_delete, 1, &ret, worker_lock); in do_mt_hash_work()
|
/openssl/include/internal/ |
H A D | refcount.h | 205 return CRYPTO_atomic_add(&refcnt->val, 1, ret, refcnt->lock); in CRYPTO_UP_REF() 211 return CRYPTO_atomic_add(&refcnt->val, -1, ret, refcnt->lock); in CRYPTO_DOWN_REF()
|
/openssl/doc/man3/ |
H A D | CRYPTO_THREAD_run_once.pod | 8 CRYPTO_atomic_add, CRYPTO_atomic_add64, CRYPTO_atomic_and, CRYPTO_atomic_or, 27 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock); 93 CRYPTO_atomic_add() atomically adds I<amount> to I<*val> and returns the 96 variable is modified by CRYPTO_atomic_add() then CRYPTO_atomic_add() must
|
/openssl/crypto/ |
H A D | threads_none.c | 206 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() function
|
H A D | provider_core.c | 1114 CRYPTO_atomic_add(&prov->activatecnt, -1, &count, prov->activatecnt_lock); in provider_deactivate() 1208 if (CRYPTO_atomic_add(&prov->activatecnt, 1, &count, prov->activatecnt_lock)) { in provider_activate() 1473 if (!CRYPTO_atomic_add(&prov->activatecnt, 1, &ref, in ossl_provider_doall_activated() 1514 if (!CRYPTO_atomic_add(&prov->activatecnt, -1, &ref, in ossl_provider_doall_activated() 1525 if (CRYPTO_atomic_add(&prov->activatecnt, 1, &ref, in ossl_provider_doall_activated()
|
H A D | threads_win.c | 626 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() function
|
H A D | threads_pthread.c | 861 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() function
|
/openssl/providers/implementations/rands/ |
H A D | drbg.c | 332 if (!CRYPTO_atomic_add(&dngbl->rand_nonce_count, 1, &data.count, in prov_drbg_get_nonce()
|
/openssl/include/openssl/ |
H A D | crypto.h.in | 88 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock);
|
/openssl/util/ |
H A D | libcrypto.num | 3577 CRYPTO_atomic_add 3659 3_0_0 EXIST::FUNCTION:
|
/openssl/ |
H A D | CHANGES.md | 5147 So now these methods also check the return value of CRYPTO_atomic_add(),
|