Home
last modified time | relevance | path

Searched refs:atomic_swap_int (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/i386/include/
H A Dpmap_nopae.h80 #define pte_load_store(ptep, pte) atomic_swap_int(ptep, pte)
81 #define pte_load_clear(ptep) atomic_swap_int(ptep, 0)
H A Datomic.h649 atomic_swap_int(volatile u_int *p, u_int v) in atomic_swap_int() function
664 return (atomic_swap_int((volatile u_int *)p, (u_int)v)); in atomic_swap_long()
719 #define atomic_readandclear_int(p) atomic_swap_int(p, 0)
788 #define atomic_swap_32 atomic_swap_int
856 atomic_swap_int((volatile u_int *)(p), (u_int)(v))
/freebsd/sys/amd64/include/
H A Datomic.h391 atomic_swap_int(volatile u_int *p, u_int v) in atomic_swap_int() function
466 #define atomic_readandclear_int(p) atomic_swap_int(p, 0)
535 #define atomic_swap_32 atomic_swap_int
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_types.h125 (atomic_swap_int(&(a)->counter, (val)))
/freebsd/lib/libthr/thread/
H A Dthr_cancel.c99 oldval = atomic_swap_int(&curthread->cancel_enable, val); in _thr_setcancelstate()
/freebsd/sys/i386/linux/
H A Dlinux_copyout.c59 *st->oldval = atomic_swap_int((int *)kva, st->oparg); in futex_xchgl_slow0()
/freebsd/sys/dev/drm2/
H A Ddrm_atomic.h61 #define atomic_xchg(p, v) atomic_swap_int(p, v)
/freebsd/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h142 return (atomic_swap_int(&v->counter, i)); in atomic_xchg()
/freebsd/sys/riscv/include/
H A Datomic.h536 #define atomic_swap_int atomic_swap_32 macro
/freebsd/sys/arm64/include/
H A Datomic.h569 #define atomic_swap_int atomic_swap_32 macro
/freebsd/sys/sys/
H A Datomic_san.h222 #define atomic_swap_int ATOMIC_SAN(swap_int) macro
/freebsd/sys/powerpc/include/
H A Datomic.h980 #define atomic_swap_int atomic_swap_32 macro
/freebsd/sys/arm/include/
H A Datomic.h1104 #define atomic_swap_int atomic_swap_32 macro
/freebsd/sys/vm/
H A Dvm_page.c1253 x = atomic_swap_int(&m->busy_lock, VPB_FREED); in vm_page_busy_free()