Home
last modified time | relevance | path

Searched refs:CRYPTO_atomic_add (Results 1 – 12 of 12) sorted by relevance

/openssl/test/
H A Dthreadstest.c157 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 Dlhash_test.c528 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 Drefcount.h205 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 DCRYPTO_THREAD_run_once.pod8 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 Dthreads_none.c206 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() function
H A Dprovider_core.c1114 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 Dthreads_win.c626 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() function
H A Dthreads_pthread.c861 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() function
/openssl/providers/implementations/rands/
H A Ddrbg.c332 if (!CRYPTO_atomic_add(&dngbl->rand_nonce_count, 1, &data.count, in prov_drbg_get_nonce()
/openssl/include/openssl/
H A Dcrypto.h.in88 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock);
/openssl/util/
H A Dlibcrypto.num3577 CRYPTO_atomic_add 3659 3_0_0 EXIST::FUNCTION:
/openssl/
H A DCHANGES.md5141 So now these methods also check the return value of CRYPTO_atomic_add(),

Completed in 90 milliseconds