Searched refs:atomic_swap_int (Results 1 – 14 of 14) sorted by relevance
/freebsd/sys/i386/include/ |
H A D | pmap_nopae.h | 80 #define pte_load_store(ptep, pte) atomic_swap_int(ptep, pte) 81 #define pte_load_clear(ptep) atomic_swap_int(ptep, 0)
|
H A D | atomic.h | 649 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 D | atomic.h | 391 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 D | dpaa2_types.h | 125 (atomic_swap_int(&(a)->counter, (val)))
|
/freebsd/lib/libthr/thread/ |
H A D | thr_cancel.c | 99 oldval = atomic_swap_int(&curthread->cancel_enable, val); in _thr_setcancelstate()
|
/freebsd/sys/i386/linux/ |
H A D | linux_copyout.c | 59 *st->oldval = atomic_swap_int((int *)kva, st->oparg); in futex_xchgl_slow0()
|
/freebsd/sys/dev/drm2/ |
H A D | drm_atomic.h | 61 #define atomic_xchg(p, v) atomic_swap_int(p, v)
|
/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | atomic.h | 142 return (atomic_swap_int(&v->counter, i)); in atomic_xchg()
|
/freebsd/sys/riscv/include/ |
H A D | atomic.h | 536 #define atomic_swap_int atomic_swap_32 macro
|
/freebsd/sys/arm64/include/ |
H A D | atomic.h | 569 #define atomic_swap_int atomic_swap_32 macro
|
/freebsd/sys/sys/ |
H A D | atomic_san.h | 222 #define atomic_swap_int ATOMIC_SAN(swap_int) macro
|
/freebsd/sys/powerpc/include/ |
H A D | atomic.h | 980 #define atomic_swap_int atomic_swap_32 macro
|
/freebsd/sys/arm/include/ |
H A D | atomic.h | 1104 #define atomic_swap_int atomic_swap_32 macro
|
/freebsd/sys/vm/ |
H A D | vm_page.c | 1253 x = atomic_swap_int(&m->busy_lock, VPB_FREED); in vm_page_busy_free()
|