Home
last modified time | relevance | path

Searched refs:xchg_relaxed (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/arch/arm64/include/asm/
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)
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()
/linux-6.6.21/arch/mips/mm/
Dcontext.c76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
/linux-6.6.21/kernel/locking/
Dqspinlock.c183 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
/linux-6.6.21/tools/memory-model/
Dlinux-kernel.def32 xchg_relaxed(X,V) __xchg{once}(X,V)
/linux-6.6.21/kernel/kcsan/
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()
/linux-6.6.21/include/linux/atomic/
Datomic-instrumented.h4734 #define xchg_relaxed(ptr, ...) \ macro