Home
last modified time | relevance | path

Searched refs:xchg (Results 1 – 10 of 10) sorted by relevance

/include/asm-generic/
Dcmpxchg.h17 #ifndef xchg
83 #define xchg(ptr, x) ({ \ macro
Datomic.h195 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v)))
Datomic-instrumented.h1644 #define xchg(ptr, ...) \ macro
/include/linux/
Ddebug_locks.h17 return xchg(&debug_locks, 0); in __debug_locks_off()
Dllist.h222 return xchg(&head->first, NULL); in llist_del_all()
Datomic-fallback.h10 #define xchg_relaxed xchg
11 #define xchg_acquire xchg
12 #define xchg_release xchg
17 __atomic_op_acquire(xchg, __VA_ARGS__)
22 __atomic_op_release(xchg, __VA_ARGS__)
25 #ifndef xchg
26 #define xchg(...) \ macro
27 __atomic_op_fence(xchg, __VA_ARGS__)
Dskmsg.h447 prog = xchg(pprog, prog); in psock_set_prog()
Dmm.h1146 return xchg(&page->_last_cpupid, cpupid & LAST_CPUPID_MASK); in page_cpupid_xchg_last()
/include/net/
Dpkt_cls.h141 return xchg(clp, cl); in __cls_set_class()
Dsock.h1926 old_dst = xchg((__force struct dst_entry **)&sk->sk_dst_cache, dst); in sk_dst_set()
2174 err = xchg(&sk->sk_err, 0); in sock_error()