Lines Matching refs:val
180 int CRYPTO_THREAD_set_local(CRYPTO_THREAD_LOCAL *key, void *val) in CRYPTO_THREAD_set_local() argument
185 thread_local_storage[*key] = val; in CRYPTO_THREAD_set_local()
206 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_add() argument
208 *val += amount; in CRYPTO_atomic_add()
209 *ret = *val; in CRYPTO_atomic_add()
214 int CRYPTO_atomic_add64(uint64_t *val, uint64_t op, uint64_t *ret, in CRYPTO_atomic_add64() argument
217 *val += op; in CRYPTO_atomic_add64()
218 *ret = *val; in CRYPTO_atomic_add64()
223 int CRYPTO_atomic_and(uint64_t *val, uint64_t op, uint64_t *ret, in CRYPTO_atomic_and() argument
226 *val &= op; in CRYPTO_atomic_and()
227 *ret = *val; in CRYPTO_atomic_and()
232 int CRYPTO_atomic_or(uint64_t *val, uint64_t op, uint64_t *ret, in CRYPTO_atomic_or() argument
235 *val |= op; in CRYPTO_atomic_or()
236 *ret = *val; in CRYPTO_atomic_or()
241 int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_load() argument
243 *ret = *val; in CRYPTO_atomic_load()
248 int CRYPTO_atomic_store(uint64_t *dst, uint64_t val, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_store() argument
250 *dst = val; in CRYPTO_atomic_store()
255 int CRYPTO_atomic_load_int(int *val, int *ret, CRYPTO_RWLOCK *lock) in CRYPTO_atomic_load_int() argument
257 *ret = *val; in CRYPTO_atomic_load_int()