/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_atomic.h | 72 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new) in p_atomic_cmpxchg() function 119 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new) in p_atomic_cmpxchg() function 164 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new) in p_atomic_cmpxchg() function 189 #define p_atomic_cmpxchg(_v, old, _new) (*(_v) == old ? *(_v) = (_new) : *(_v)) macro 240 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new) in p_atomic_cmpxchg() function 298 p_atomic_cmpxchg(int32_t *v, int32_t old, int32_t _new) in p_atomic_cmpxchg() function 333 #define p_atomic_cmpxchg(_v, _old, _new) \ macro
|
/external/mesa3d/src/util/ |
D | u_atomic.h | 73 #define p_atomic_cmpxchg(v, old, _new) \ macro 96 #define p_atomic_cmpxchg(_v, _old, _new) (*(_v) == (_old) ? (*(_v) = (_new), (_old)) : *(_v)) macro 158 #define p_atomic_cmpxchg(_v, _old, _new) (\ macro 226 #define p_atomic_cmpxchg(v, old, _new) (__typeof(*v))( \ macro 246 actual = p_atomic_cmpxchg(v, expected, i); in p_atomic_xchg_32() 257 actual = p_atomic_cmpxchg(v, expected, i); in p_atomic_xchg_64()
|
D | sparse_array.c | 118 uintptr_t prev_node = p_atomic_cmpxchg(node_ptr, cmp_node, node); in _util_sparse_array_set_or_free_node() 256 old_head = p_atomic_cmpxchg(&fl->head, current_head, new_head); in util_sparse_array_free_list_push() 274 uint64_t old_head = p_atomic_cmpxchg(&fl->head, current_head, new_head); in util_sparse_array_free_list_pop_idx() 295 uint64_t old_head = p_atomic_cmpxchg(&fl->head, current_head, new_head); in util_sparse_array_free_list_pop_elem()
|
D | u_atomic_test.c | 57 r = p_atomic_cmpxchg(&v, 0, 1); \ 60 r = p_atomic_cmpxchg(&v, ones, 0); \
|
D | u_queue.c | 122 v = p_atomic_cmpxchg(&fence->val, 1, 2); in do_futex_fence_wait()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_bufmgr.h | 450 prev_seqno != (tmp = p_atomic_cmpxchg(last_seqno, prev_seqno, seqno))) in iris_bo_bump_seqno()
|
D | iris_bufmgr.c | 109 while (c != unless && (old = p_atomic_cmpxchg(v, c, c + add)) != c) in atomic_add_unless() 1025 if (p_atomic_cmpxchg(&bo->map_cpu, NULL, map)) { in iris_bo_map_cpu() 1076 if (p_atomic_cmpxchg(&bo->map_wc, NULL, map)) { in iris_bo_map_wc() 1156 if (p_atomic_cmpxchg(&bo->map_gtt, NULL, map)) { in iris_bo_map_gtt()
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_fence.c | 382 prev = p_atomic_cmpxchg(&vfence->signalled, old, old | vflags); in vmw_fence_finish()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_bufmgr.c | 107 while (c != unless && (old = p_atomic_cmpxchg(v, c, c + add)) != c) in atomic_add_unless() 1084 if (p_atomic_cmpxchg(&bo->map_cpu, NULL, map)) { in brw_bo_map_cpu() 1135 if (p_atomic_cmpxchg(&bo->map_wc, NULL, map)) { in brw_bo_map_wc() 1209 if (p_atomic_cmpxchg(&bo->map_gtt, NULL, map)) { in brw_bo_map_gtt()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_allocator.c | 1536 p_atomic_cmpxchg(&pool->bos[scratch_size_log2][stage], NULL, bo); in anv_scratch_pool_alloc()
|
/external/mesa3d/src/compiler/glsl/ |
D | glsl_parser_extras.cpp | 2192 (void) p_atomic_cmpxchg(&ir_variable::temporaries_allocate_names, in _mesa_glsl_compile_shader()
|