|
Blender V5.0
|
#include "atomic_ops_utils.h"Go to the source code of this file.
| ATOMIC_INLINE float atomic_add_and_fetch_fl | ( | float * | p, |
| const float | x ) |
Definition at line 234 of file atomic_ops_ext.h.
References _ATOMIC_UNLIKELY, atomic_cas_uint32(), ATOMIC_INLINE, and x.
Referenced by TEST().
| ATOMIC_INLINE unsigned int atomic_add_and_fetch_u | ( | unsigned int * | p, |
| unsigned int | x ) |
Definition at line 137 of file atomic_ops_ext.h.
References atomic_add_and_fetch_uint32(), atomic_add_and_fetch_uint64(), ATOMIC_INLINE, and x.
Referenced by PathTrace::adaptive_sample(), make_memhead_header(), and TEST().
| ATOMIC_INLINE size_t atomic_add_and_fetch_z | ( | size_t * | p, |
| size_t | x ) |
Definition at line 58 of file atomic_ops_ext.h.
References atomic_add_and_fetch_uint32(), atomic_add_and_fetch_uint64(), ATOMIC_INLINE, and x.
Referenced by make_memhead_header(), Stats::mem_alloc(), and TEST().
| ATOMIC_INLINE float atomic_cas_float | ( | float * | v, |
| float | old, | ||
| float | _new ) |
Definition at line 228 of file atomic_ops_ext.h.
References atomic_cas_uint32(), ATOMIC_INLINE, ret, and v.
Referenced by TEST().
| ATOMIC_INLINE void * atomic_cas_ptr | ( | void ** | v, |
| void * | old, | ||
| void * | _new ) |
Definition at line 197 of file atomic_ops_ext.h.
References atomic_cas_uint32(), atomic_cas_uint64(), ATOMIC_INLINE, and v.
Referenced by BLI_linklist_lockfree_insert(), CLG_logref_init(), driver_compile_simple_expr(), mempool_iter_threadsafe_step(), and TEST().
| ATOMIC_INLINE unsigned int atomic_cas_u | ( | unsigned int * | v, |
| unsigned int | old, | ||
| unsigned int | _new ) |
Definition at line 173 of file atomic_ops_ext.h.
References atomic_cas_uint32(), atomic_cas_uint64(), ATOMIC_INLINE, and v.
Referenced by TEST().
| ATOMIC_INLINE size_t atomic_cas_z | ( | size_t * | v, |
| size_t | old, | ||
| size_t | _new ) |
Definition at line 94 of file atomic_ops_ext.h.
References atomic_cas_uint32(), atomic_cas_uint64(), ATOMIC_INLINE, and v.
Referenced by atomic_fetch_and_update_max_z(), and TEST().
| ATOMIC_INLINE unsigned int atomic_fetch_and_add_u | ( | unsigned int * | p, |
| unsigned int | x ) |
Definition at line 155 of file atomic_ops_ext.h.
References atomic_fetch_and_add_uint32(), atomic_fetch_and_add_uint64(), ATOMIC_INLINE, and x.
Referenced by BLI_threadpool_init(), and TEST().
| ATOMIC_INLINE size_t atomic_fetch_and_add_z | ( | size_t * | p, |
| size_t | x ) |
Definition at line 76 of file atomic_ops_ext.h.
References atomic_fetch_and_add_uint32(), atomic_fetch_and_add_uint64(), ATOMIC_INLINE, and x.
Referenced by TEST().
| ATOMIC_INLINE char atomic_fetch_and_and_char | ( | char * | p, |
| char | b ) |
Definition at line 189 of file atomic_ops_ext.h.
References atomic_fetch_and_and_uint8(), ATOMIC_INLINE, and b.
Referenced by TEST().
| ATOMIC_INLINE char atomic_fetch_and_or_char | ( | char * | p, |
| char | b ) |
Definition at line 184 of file atomic_ops_ext.h.
References atomic_fetch_and_or_uint8(), ATOMIC_INLINE, and b.
Referenced by TEST().
| ATOMIC_INLINE unsigned int atomic_fetch_and_sub_u | ( | unsigned int * | p, |
| unsigned int | x ) |
Definition at line 164 of file atomic_ops_ext.h.
References atomic_fetch_and_add_uint32(), atomic_fetch_and_add_uint64(), ATOMIC_INLINE, and x.
Referenced by TEST().
| ATOMIC_INLINE size_t atomic_fetch_and_sub_z | ( | size_t * | p, |
| size_t | x ) |
Definition at line 85 of file atomic_ops_ext.h.
References atomic_fetch_and_add_uint32(), atomic_fetch_and_add_uint64(), ATOMIC_INLINE, and x.
Referenced by TEST().
| ATOMIC_INLINE size_t atomic_fetch_and_update_max_z | ( | size_t * | p, |
| size_t | x ) |
Definition at line 121 of file atomic_ops_ext.h.
References atomic_cas_z(), ATOMIC_INLINE, and x.
Referenced by Stats::mem_alloc(), and TEST().
| ATOMIC_INLINE void * atomic_load_ptr | ( | void *const * | v | ) |
Definition at line 206 of file atomic_ops_ext.h.
References ATOMIC_INLINE, atomic_load_uint32(), atomic_load_uint64(), and v.
Referenced by TEST().
| ATOMIC_INLINE size_t atomic_load_z | ( | const size_t * | v | ) |
Definition at line 103 of file atomic_ops_ext.h.
References ATOMIC_INLINE, atomic_load_uint32(), atomic_load_uint64(), and v.
Referenced by TEST().
| ATOMIC_STATIC_ASSERT | ( | sizeof(size_t) | = =LG_SIZEOF_PTR | ) |
| ATOMIC_INLINE void atomic_store_ptr | ( | void ** | p, |
| void * | v ) |
Definition at line 215 of file atomic_ops_ext.h.
References ATOMIC_INLINE, atomic_store_uint32(), atomic_store_uint64(), and v.
Referenced by TEST().
| ATOMIC_INLINE void atomic_store_z | ( | size_t * | p, |
| size_t | v ) |
Definition at line 112 of file atomic_ops_ext.h.
References ATOMIC_INLINE, atomic_store_uint32(), atomic_store_uint64(), and v.
Referenced by TEST().
| ATOMIC_INLINE unsigned int atomic_sub_and_fetch_u | ( | unsigned int * | p, |
| unsigned int | x ) |
Definition at line 146 of file atomic_ops_ext.h.
References atomic_add_and_fetch_uint32(), atomic_add_and_fetch_uint64(), ATOMIC_INLINE, and x.
Referenced by rem_memblock(), and TEST().
| ATOMIC_INLINE size_t atomic_sub_and_fetch_z | ( | size_t * | p, |
| size_t | x ) |
Definition at line 67 of file atomic_ops_ext.h.
References atomic_add_and_fetch_uint32(), atomic_add_and_fetch_uint64(), ATOMIC_INLINE, and x.
Referenced by Stats::mem_free(), rem_memblock(), and TEST().