Home
last modified time | relevance | path

Searched refs:p_atomic_cmpxchg (Results 1 – 11 of 11) sorted by relevance

/external/virglrenderer/src/gallium/auxiliary/util/
Du_atomic.h72 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/
Du_atomic.h73 #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()
Dsparse_array.c118 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()
Du_atomic_test.c57 r = p_atomic_cmpxchg(&v, 0, 1); \
60 r = p_atomic_cmpxchg(&v, ones, 0); \
Du_queue.c122 v = p_atomic_cmpxchg(&fence->val, 1, 2); in do_futex_fence_wait()
/external/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.h450 prev_seqno != (tmp = p_atomic_cmpxchg(last_seqno, prev_seqno, seqno))) in iris_bo_bump_seqno()
Diris_bufmgr.c109 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/
Dvmw_fence.c382 prev = p_atomic_cmpxchg(&vfence->signalled, old, old | vflags); in vmw_fence_finish()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c107 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/
Danv_allocator.c1536 p_atomic_cmpxchg(&pool->bos[scratch_size_log2][stage], NULL, bo); in anv_scratch_pool_alloc()
/external/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.cpp2192 (void) p_atomic_cmpxchg(&ir_variable::temporaries_allocate_names, in _mesa_glsl_compile_shader()