/openbsd/sys/dev/pci/drm/include/linux/ |
H A D | llist.h | 34 } while (atomic_cas_ptr(&head->first, first, next) != first); in llist_del_first() 46 } while (atomic_cas_ptr(&head->first, first, new) != first); in llist_add() 59 } while (atomic_cas_ptr(&head->first, first, new_first) != first); in llist_add_batch()
|
/openbsd/sys/sys/ |
H A D | atomic.h | 49 #ifndef atomic_cas_ptr 51 atomic_cas_ptr(volatile void *pp, void *o, void *n) in atomic_cas_ptr() function
|
/openbsd/sys/arch/m88k/include/ |
H A D | atomic.h | 139 #define atomic_cas_ptr(p,o,n) \ macro 166 #define atomic_cas_ptr UNIMPLEMENTED macro
|
/openbsd/sys/arch/sparc64/include/ |
H A D | atomic.h | 52 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro 82 r = atomic_cas_ptr(p, e, v); in _def_atomic_swap()
|
/openbsd/sys/arch/powerpc/powerpc/ |
H A D | lock_machdep.c | 90 if (atomic_cas_ptr(&mpl->mpl_cpu, NULL, ci) == NULL) { in __ppc_lock()
|
/openbsd/sys/kern/ |
H A D | kern_lock.c | 292 owner = atomic_cas_ptr(&mtx->mtx_owner, NULL, ci); in mtx_enter_try() 390 owner = atomic_cas_ptr(&mtx->mtx_owner, NULL, ci); in db_mtx_enter()
|
H A D | subr_prf.c | 198 if (atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf) != NULL) in panic()
|
/openbsd/sys/arch/mips64/include/ |
H A D | atomic.h | 116 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
|
/openbsd/sys/ddb/ |
H A D | db_output.c | 231 tracing = atomic_cas_ptr(&intrace, NULL, ci); in db_stack_dump()
|
/openbsd/sys/arch/sh/include/ |
H A D | atomic.h | 76 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
|
/openbsd/sys/arch/powerpc/include/ |
H A D | atomic.h | 112 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
|
/openbsd/sys/arch/powerpc64/include/ |
H A D | atomic.h | 112 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
|
/openbsd/lib/libc/thread/ |
H A D | rthread_cond.c | 90 atomic_cas_ptr(&cond->mutex, NULL, mutex); in _rthread_cond_timedwait()
|
/openbsd/sys/arch/arm/include/ |
H A D | atomic.h | 66 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro
|
/openbsd/sys/arch/hppa/include/ |
H A D | atomic.h | 125 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
|
/openbsd/sys/arch/i386/include/ |
H A D | atomic.h | 84 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro
|
/openbsd/sys/arch/amd64/include/ |
H A D | atomic.h | 89 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | tsc.c | 458 if (atomic_cas_ptr(&tsc_ap_name, NULL, ci->ci_dev->dv_xname) != NULL) { in tsc_test_sync_ap()
|
H A D | trap.c | 147 atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf); in fault()
|
/openbsd/sys/dev/pci/drm/ |
H A D | drm_linux.c | 2446 tmp = atomic_cas_ptr(&chain->prev, prev, new_prev); in dma_fence_chain_walk()
|
/openbsd/sys/net/ |
H A D | pf.c | 8131 old_reverse = atomic_cas_ptr(&sk->sk_reverse, NULL, skrev); in pf_state_key_link_reverse() 8143 old_reverse = atomic_cas_ptr(&skrev->sk_reverse, NULL, sk); in pf_state_key_link_reverse()
|