Searched refs:atomic_swap_int (Results 1 – 2 of 2) sorted by relevance
196 atomic_swap_int(volatile u_int *p, u_int v) in atomic_swap_int() function226 #define atomic_readandclear_int(p) atomic_swap_int(p, 0)
31 #define atomic_exchange(p, nval) atomic_swap_int((p), (nval))