Home
last modified time | relevance | path

Searched refs:xchg_relaxed (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dpercpu.h225 _pcp_protect_return(xchg_relaxed, pcp, val)
227 _pcp_protect_return(xchg_relaxed, pcp, val)
229 _pcp_protect_return(xchg_relaxed, pcp, val)
231 _pcp_protect_return(xchg_relaxed, pcp, val)
H A Dpgtable.h847 return __pte(xchg_relaxed(&pte_val(*ptep), 0)); in ptep_get_and_clear()
889 return __pmd(xchg_relaxed(&pmd_val(*pmdp), pmd_val(pmd))); in pmdp_establish()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dpercpu.h220 _pcp_protect_return(xchg_relaxed, pcp, val)
222 _pcp_protect_return(xchg_relaxed, pcp, val)
224 _pcp_protect_return(xchg_relaxed, pcp, val)
226 _pcp_protect_return(xchg_relaxed, pcp, val)
H A Dpgtable.h946 pte_t pte = __pte(xchg_relaxed(&pte_val(*ptep), 0)); in ptep_get_and_clear()
958 pmd_t pmd = __pmd(xchg_relaxed(&pmd_val(*pmdp), 0)); in pmdp_huge_get_and_clear()
997 return __pmd(xchg_relaxed(&pmd_val(*pmdp), pmd_val(pmd))); in pmdp_establish()
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dcmpxchg.h117 #define xchg_relaxed(ptr, x) ({ \ macro
131 #define xchg xchg_relaxed
/kernel/linux/linux-5.10/arch/mips/mm/
H A Dcontext.c76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
/kernel/linux/linux-6.6/arch/mips/mm/
H A Dcontext.c76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Datomic.h15 * Since *_return_relaxed and {cmp}xchg_relaxed are implemented with
192 #define atomic_xchg_relaxed(v, new) xchg_relaxed(&((v)->counter), (new))
509 #define atomic64_xchg_relaxed(v, new) xchg_relaxed(&((v)->counter), (new))
H A Dcmpxchg.h195 #define xchg_relaxed(ptr, x) \ macro
/kernel/linux/linux-5.10/kernel/locking/
H A Dqspinlock.c182 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
/kernel/linux/linux-6.6/kernel/locking/
H A Dqspinlock.c183 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dcmpxchg.h40 #define xchg_relaxed(ptr, x) \ macro
/kernel/linux/linux-6.6/kernel/kcsan/
H A Dkcsan_test.c584 KCSAN_EXPECT_READ_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads()
629 KCSAN_EXPECT_WRITE_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads()
674 KCSAN_EXPECT_RW_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads()
/kernel/linux/linux-5.10/include/linux/
H A Datomic-fallback.h11 #ifndef xchg_relaxed
12 #define xchg_relaxed xchg macro
15 #else /* xchg_relaxed */
32 #endif /* xchg_relaxed */
/kernel/linux/linux-5.10/include/asm-generic/
H A Datomic-instrumented.h1672 #define xchg_relaxed(ptr, ...) \ macro
/kernel/linux/linux-6.6/include/linux/atomic/
H A Datomic-instrumented.h4734 #define xchg_relaxed(ptr, ...) \ macro

Completed in 22 milliseconds