Searched refs:xchg_relaxed (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/arch/arm64/include/asm/ |
D | percpu.h | 226 _pcp_protect_return(xchg_relaxed, pcp, val) 228 _pcp_protect_return(xchg_relaxed, pcp, val) 230 _pcp_protect_return(xchg_relaxed, pcp, val) 232 _pcp_protect_return(xchg_relaxed, pcp, val)
|
D | pgtable.h | 920 pte_t pte = __pte(xchg_relaxed(&pte_val(*ptep), 0)); in ptep_get_and_clear() 932 pmd_t pmd = __pmd(xchg_relaxed(&pmd_val(*pmdp), 0)); in pmdp_huge_get_and_clear() 971 return __pmd(xchg_relaxed(&pmd_val(*pmdp), pmd_val(pmd))); in pmdp_establish()
|
/linux-5.19.10/arch/mips/mm/ |
D | context.c | 76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
|
/linux-5.19.10/kernel/locking/ |
D | qspinlock.c | 183 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
|
/linux-5.19.10/tools/memory-model/ |
D | linux-kernel.def | 31 xchg_relaxed(X,V) __xchg{once}(X,V)
|
/linux-5.19.10/kernel/kcsan/ |
D | kcsan_test.c | 579 KCSAN_EXPECT_READ_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads() 624 KCSAN_EXPECT_WRITE_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads() 669 KCSAN_EXPECT_RW_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads()
|
/linux-5.19.10/include/linux/atomic/ |
D | atomic-instrumented.h | 1904 #define xchg_relaxed(ptr, ...) \ macro
|