/openbsd-current/sys/dev/pci/drm/include/linux/ |
H A D | llist.h | 34 } 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 D | atomic.h | 49 #ifndef atomic_cas_ptr 51 atomic_cas_ptr(volatile void *pp, void *o, void *n) function
|
/openbsd-current/sys/arch/powerpc/powerpc/ |
H A D | lock_machdep.c | 90 if (atomic_cas_ptr(&mpl->mpl_cpu, NULL, ci) == NULL) {
|
/openbsd-current/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);
|
/openbsd-current/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-current/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-current/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-current/sys/ddb/ |
H A D | db_output.c | 231 tracing = atomic_cas_ptr(&intrace, NULL, ci);
|
/openbsd-current/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-current/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-current/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-current/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-current/lib/libc/thread/ |
H A D | rthread_cond.c | 90 atomic_cas_ptr(&cond->mutex, NULL, mutex);
|
/openbsd-current/sys/kern/ |
H A D | kern_lock.c | 292 owner = atomic_cas_ptr(&mtx->mtx_owner, NULL, ci); 390 owner = atomic_cas_ptr(&mtx->mtx_owner, NULL, ci);
|
H A D | subr_prf.c | 198 if (atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf) != NULL)
|
/openbsd-current/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-current/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-current/sys/arch/amd64/amd64/ |
H A D | trap.c | 147 atomic_cas_ptr(&panicstr, NULL, ci->ci_panicbuf);
|
H A D | tsc.c | 458 if (atomic_cas_ptr(&tsc_ap_name, NULL, ci->ci_dev->dv_xname) != NULL) {
|
/openbsd-current/sys/dev/pci/drm/ |
H A D | drm_linux.c | 2452 tmp = atomic_cas_ptr(&chain->prev, prev, new_prev);
|
/openbsd-current/sys/net/ |
H A D | pf.c | 8140 old_reverse = atomic_cas_ptr(&sk->sk_reverse, NULL, skrev); 8152 old_reverse = atomic_cas_ptr(&skrev->sk_reverse, NULL, sk);
|