Searched refs:atomic_cmpxchg (Results 1 – 5 of 5) sorted by relevance
| /netbsd/src/sys/external/bsd/drm2/include/linux/ |
| D | refcount.h | 64 } 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()
|
| D | atomic.h | 296 atomic_cmpxchg(atomic_t *atomic, int expect, int new) in atomic_cmpxchg() function 318 *valuep = atomic_cmpxchg(atomic, expect, new); in atomic_try_cmpxchg()
|
| D | spinlock.h | 237 } while (atomic_cmpxchg(atomic, old, new) != old); in _atomic_dec_and_lock_irqsave()
|
| /netbsd/src/sys/external/bsd/vchiq/dist/interface/compat/ |
| D | vchi_bsd.h | 74 #define atomic_cmpxchg(p, oldv, newv) atomic_cas_uint(p, oldv, newv) macro
|
| /netbsd/src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
| D | vchiq_core.c | 544 } while (atomic_cmpxchg(&service->poll_flags, value, in request_poll() 550 } while (atomic_cmpxchg( in request_poll()
|