Searched refs:xchg (Results 1 – 10 of 10) sorted by relevance
/include/asm-generic/ |
D | cmpxchg.h | 17 #ifndef xchg 83 #define xchg(ptr, x) ({ \ macro
|
D | atomic.h | 195 #define atomic_xchg(ptr, v) (xchg(&(ptr)->counter, (v)))
|
D | atomic-instrumented.h | 1644 #define xchg(ptr, ...) \ macro
|
/include/linux/ |
D | debug_locks.h | 17 return xchg(&debug_locks, 0); in __debug_locks_off()
|
D | llist.h | 222 return xchg(&head->first, NULL); in llist_del_all()
|
D | atomic-fallback.h | 10 #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__)
|
D | skmsg.h | 447 prog = xchg(pprog, prog); in psock_set_prog()
|
D | mm.h | 1146 return xchg(&page->_last_cpupid, cpupid & LAST_CPUPID_MASK); in page_cpupid_xchg_last()
|
/include/net/ |
D | pkt_cls.h | 141 return xchg(clp, cl); in __cls_set_class()
|
D | sock.h | 1926 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()
|