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

/openbsd-current/sys/dev/pci/drm/include/linux/
H A Dllist.h34 } while (atomic_cas_ptr(&head->first, first, next) != first);
46 } while (atomic_cas_ptr(&head->first, first, new) != first);
59 } while (atomic_cas_ptr(&head->first, first, new_first) != first);
/openbsd-current/sys/sys/
H A Datomic.h49 #ifndef atomic_cas_ptr
51 atomic_cas_ptr(volatile void *pp, void *o, void *n) function
/openbsd-current/sys/arch/powerpc/powerpc/
H A Dlock_machdep.c90 if (atomic_cas_ptr(&mpl->mpl_cpu, NULL, ci) == NULL) {
/openbsd-current/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);
/openbsd-current/sys/arch/m88k/include/
H A Datomic.h139 #define atomic_cas_ptr(p,o,n) \ macro
166 #define atomic_cas_ptr UNIMPLEMENTED macro
/openbsd-current/sys/arch/mips64/include/
H A Datomic.h116 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd-current/sys/arch/sh/include/
H A Datomic.h76 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd-current/sys/ddb/
H A Ddb_output.c231 tracing = atomic_cas_ptr(&intrace, NULL, ci);
/openbsd-current/sys/arch/arm/include/
H A Datomic.h66 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro
/openbsd-current/sys/arch/powerpc/include/
H A Datomic.h112 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd-current/sys/arch/powerpc64/include/
H A Datomic.h112 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd-current/sys/arch/hppa/include/
H A Datomic.h125 #define atomic_cas_ptr(_p, _o, _n) _atomic_cas_ptr((_p), (_o), (_n)) macro
/openbsd-current/lib/libc/thread/
H A Drthread_cond.c90 atomic_cas_ptr(&cond->mutex, NULL, mutex);
/openbsd-current/sys/kern/
H A Dkern_lock.c292 owner = atomic_cas_ptr(&mtx->mtx_owner, NULL, ci);
390 owner = atomic_cas_ptr(&mtx->mtx_owner, NULL, ci);
H A Dsubr_prf.c198 if (atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf) != NULL)
/openbsd-current/sys/arch/i386/include/
H A Datomic.h84 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro
/openbsd-current/sys/arch/amd64/include/
H A Datomic.h89 #define atomic_cas_ptr(_p, _e, _n) _atomic_cas_ptr((_p), (_e), (_n)) macro
/openbsd-current/sys/arch/amd64/amd64/
H A Dtrap.c147 atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf);
H A Dtsc.c458 if (atomic_cas_ptr(&tsc_ap_name, NULL, ci->ci_dev->dv_xname) != NULL) {
/openbsd-current/sys/dev/pci/drm/
H A Ddrm_linux.c2452 tmp = atomic_cas_ptr(&chain->prev, prev, new_prev);
/openbsd-current/sys/net/
H A Dpf.c8140 old_reverse = atomic_cas_ptr(&sk->sk_reverse, NULL, skrev);
8152 old_reverse = atomic_cas_ptr(&skrev->sk_reverse, NULL, sk);

Completed in 130 milliseconds