Searched refs:xchg_relaxed (Results 1 - 16 of 16) sorted by relevance
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | percpu.h | 225 _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 D | pgtable.h | 847 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 D | percpu.h | 220 _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 D | pgtable.h | 946 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 D | cmpxchg.h | 117 #define xchg_relaxed(ptr, x) ({ \ macro 131 #define xchg xchg_relaxed
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | context.c | 76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | context.c | 76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | atomic.h | 15 * 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 D | cmpxchg.h | 195 #define xchg_relaxed(ptr, x) \ macro
|
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | qspinlock.c | 182 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
|
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | qspinlock.c | 183 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 40 #define xchg_relaxed(ptr, x) \ macro
|
/kernel/linux/linux-6.6/kernel/kcsan/ |
H A D | kcsan_test.c | 584 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 D | atomic-fallback.h | 11 #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 D | atomic-instrumented.h | 1672 #define xchg_relaxed(ptr, ...) \ macro
|
/kernel/linux/linux-6.6/include/linux/atomic/ |
H A D | atomic-instrumented.h | 4734 #define xchg_relaxed(ptr, ...) \ macro
|
Completed in 22 milliseconds