Home
last modified time | relevance | path

Searched refs:cmpxchg (Results 1 – 10 of 10) sorted by relevance

/dragonfly/sys/dev/drm/
H A Ddrm_lock.c72 prev = cmpxchg(lock, old, new);
115 prev = cmpxchg(lock, old, new);
138 prev = cmpxchg(lock, old, new);
323 prev = cmpxchg(lock, old, DRM_KERNEL_CONTEXT);
H A Dlinux_fence-array.c52 cmpxchg(&array->base.error, PENDING_ERROR, error); in dma_fence_array_set_pending_error()
58 cmpxchg(&array->base.error, PENDING_ERROR, 0); in dma_fence_array_clear_pending_error()
/dragonfly/sys/contrib/dev/acpica/source/include/platform/
H A Dacwin.h270 __asm lock cmpxchg dword ptr [ecx], edx \
292 __asm lock cmpxchg dword ptr [ecx], edx \
/dragonfly/sys/dev/drm/include/linux/
H A Datomic.h161 #define cmpxchg(ptr, old, new) ({ \ macro
193 #define cmpxchg_relaxed(...) cmpxchg(__VA_ARGS__)
H A Dllist.h70 } while (cmpxchg(&head->first, first, new) != first); in llist_add()
/dragonfly/contrib/gcc-8.0/gcc/
H A Dgimple-ssa-store-merging.c785 *cmpxchg = CMPXCHG; in find_bswap_or_nop_finalize()
799 *cmpxchg >>= (64 / BITS_PER_MARKER - n->range) * BITS_PER_MARKER; in find_bswap_or_nop_finalize()
810 *cmpxchg &= mask; in find_bswap_or_nop_finalize()
816 *cmpxchg >>= (n->range - rsize) * BITS_PER_MARKER; in find_bswap_or_nop_finalize()
848 uint64_t cmpxchg, cmpnop; in find_bswap_or_nop() local
849 find_bswap_or_nop_finalize (n, &cmpxchg, &cmpnop); in find_bswap_or_nop()
856 else if (n->n == cmpxchg) in find_bswap_or_nop()
2492 uint64_t cmpxchg, cmpnop; in try_coalesce_bswap() local
2493 find_bswap_or_nop_finalize (&n, &cmpxchg, &cmpnop); in try_coalesce_bswap()
2498 if (n.n != cmpnop && n.n != cmpxchg) in try_coalesce_bswap()
[all …]
H A Domp-expand.c6315 tree type, itype, cmpxchg, iaddr, atype; in expand_omp_atomic_pipeline() local
6326 cmpxchg = builtin_decl_explicit (fncode); in expand_omp_atomic_pipeline()
6327 if (cmpxchg == NULL_TREE) in expand_omp_atomic_pipeline()
6331 itype = TREE_TYPE (TREE_TYPE (cmpxchg)); in expand_omp_atomic_pipeline()
6436 new_storedi = build_call_expr (cmpxchg, 3, iaddr, loadedi, storedi); in expand_omp_atomic_pipeline()
/dragonfly/contrib/gcc-4.7/gcc/config/i386/
H A Dsync.md391 "lock{%;} cmpxchg{<imodesuffix>}\t{%3, %1|%1, %3}")
431 output_asm_insn ("lock{%;} cmpxchg<doublemodesuffix>b\t%2", operands);
/dragonfly/sys/dev/drm/scheduler/
H A Dgpu_scheduler.c287 last_user = cmpxchg(&entity->last_user, current->group_leader, NULL); in drm_sched_entity_flush()
/dragonfly/contrib/gcc-4.7/gcc/
H A Domp-low.c5284 tree type, itype, cmpxchg, iaddr; in expand_omp_atomic_pipeline() local
5295 cmpxchg = builtin_decl_explicit (fncode); in expand_omp_atomic_pipeline()
5296 if (cmpxchg == NULL_TREE) in expand_omp_atomic_pipeline()
5299 itype = TREE_TYPE (TREE_TYPE (cmpxchg)); in expand_omp_atomic_pipeline()
5394 new_storedi = build_call_expr (cmpxchg, 3, iaddr, loadedi, storedi); in expand_omp_atomic_pipeline()