Home
last modified time | relevance | path

Searched refs:atomic_cmpxchg (Results 1 – 5 of 5) sorted by relevance

/netbsd/src/sys/external/bsd/drm2/include/linux/
Drefcount.h64 } while (atomic_cmpxchg(&rc->rc_count, old, new) != old); in refcount_inc_not_zero()
78 } while (atomic_cmpxchg(&rc->rc_count, old, new) != old); in refcount_dec_and_test()
107 } while (atomic_cmpxchg(&rc->rc_count, old, new) != old); in refcount_dec_and_mutex_lock()
Datomic.h296 atomic_cmpxchg(atomic_t *atomic, int expect, int new) in atomic_cmpxchg() function
318 *valuep = atomic_cmpxchg(atomic, expect, new); in atomic_try_cmpxchg()
Dspinlock.h237 } while (atomic_cmpxchg(atomic, old, new) != old); in _atomic_dec_and_lock_irqsave()
/netbsd/src/sys/external/bsd/vchiq/dist/interface/compat/
Dvchi_bsd.h74 #define atomic_cmpxchg(p, oldv, newv) atomic_cas_uint(p, oldv, newv) macro
/netbsd/src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/
Dvchiq_core.c544 } while (atomic_cmpxchg(&service->poll_flags, value, in request_poll()
550 } while (atomic_cmpxchg( in request_poll()