Searched refs:xchg_relaxed (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/arch/arm64/include/asm/ |
D | percpu.h | 211 _pcp_protect_return(xchg_relaxed, pcp, val) 213 _pcp_protect_return(xchg_relaxed, pcp, val) 215 _pcp_protect_return(xchg_relaxed, pcp, val) 217 _pcp_protect_return(xchg_relaxed, pcp, val)
|
D | pgtable.h | 764 return __pte(xchg_relaxed(&pte_val(*ptep), 0)); in ptep_get_and_clear() 812 return __pmd(xchg_relaxed(&pmd_val(*pmdp), pmd_val(pmd))); in pmdp_establish()
|
/Linux-v5.4/arch/arm/include/asm/ |
D | cmpxchg.h | 117 #define xchg_relaxed(ptr, x) ({ \ macro 131 #define xchg xchg_relaxed
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | atomic.h | 202 #define atomic_xchg_relaxed(v, new) xchg_relaxed(&((v)->counter), (new)) 494 #define atomic64_xchg_relaxed(v, new) xchg_relaxed(&((v)->counter), (new))
|
D | cmpxchg.h | 202 #define xchg_relaxed(ptr, x) \ macro
|
/Linux-v5.4/arch/mips/mm/ |
D | context.c | 76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
|
/Linux-v5.4/kernel/locking/ |
D | qspinlock.c | 181 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
|
/Linux-v5.4/arch/riscv/include/asm/ |
D | cmpxchg.h | 40 #define xchg_relaxed(ptr, x) \ macro
|
/Linux-v5.4/tools/memory-model/ |
D | linux-kernel.def | 31 xchg_relaxed(X,V) __xchg{once}(X,V)
|
/Linux-v5.4/include/linux/ |
D | atomic-fallback.h | 9 #ifndef xchg_relaxed 10 #define xchg_relaxed xchg macro
|
/Linux-v5.4/include/asm-generic/ |
D | atomic-instrumented.h | 1671 #define xchg_relaxed(ptr, ...) \ macro
|