Home
last modified time | relevance | path

Searched refs:atomic_cas_ptr (Results 1 – 21 of 21) sorted by relevance

/openbsd/sys/dev/pci/drm/include/linux/
H A Dllist.h34 } 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 Datomic.h49 #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 Datomic.h139 #define atomic_cas_ptr(p,o,n) \ macro
166 #define atomic_cas_ptr UNIMPLEMENTED macro
/openbsd/sys/arch/sparc64/include/
H A Datomic.h52 #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 Dlock_machdep.c90 if (atomic_cas_ptr(&mpl->mpl_cpu, NULL, ci) == NULL) { in __ppc_lock()
/openbsd/sys/kern/
H A Dkern_lock.c292 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 Dsubr_prf.c198 if (atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf) != NULL) in panic()
/openbsd/sys/arch/mips64/include/
H A Datomic.h116 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd/sys/ddb/
H A Ddb_output.c231 tracing = atomic_cas_ptr(&intrace, NULL, ci); in db_stack_dump()
/openbsd/sys/arch/sh/include/
H A Datomic.h76 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd/sys/arch/powerpc/include/
H A Datomic.h112 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd/sys/arch/powerpc64/include/
H A Datomic.h112 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd/lib/libc/thread/
H A Drthread_cond.c90 atomic_cas_ptr(&cond->mutex, NULL, mutex); in _rthread_cond_timedwait()
/openbsd/sys/arch/arm/include/
H A Datomic.h66 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro
/openbsd/sys/arch/hppa/include/
H A Datomic.h125 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd/sys/arch/i386/include/
H A Datomic.h84 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro
/openbsd/sys/arch/amd64/include/
H A Datomic.h89 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro
/openbsd/sys/arch/amd64/amd64/
H A Dtsc.c458 if (atomic_cas_ptr(&tsc_ap_name, NULL, ci->ci_dev->dv_xname) != NULL) { in tsc_test_sync_ap()
H A Dtrap.c147 atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf); in fault()
/openbsd/sys/dev/pci/drm/
H A Ddrm_linux.c2446 tmp = atomic_cas_ptr(&chain->prev, prev, new_prev); in dma_fence_chain_walk()
/openbsd/sys/net/
H A Dpf.c8131 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()