Home
last modified time | relevance | path

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

/linux/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.h1275 pte_t pte = __pte(xchg_relaxed(&pte_val(*ptep), 0)); in __ptep_get_and_clear()
1318 pmd_t pmd = __pmd(xchg_relaxed(&pmd_val(*pmdp), 0)); in pmdp_huge_get_and_clear()
1412 return __pmd(xchg_relaxed(&pmd_val(*pmdp), pmd_val(pmd))); in pmdp_establish()
/linux/arch/mips/mm/
H A Dcontext.c76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
/linux/tools/memory-model/Documentation/
H A Dherd-representation.txt80 | xchg_relaxed | |
/linux/kernel/locking/
H A Dqspinlock.c183 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
/linux/tools/memory-model/
H A Dlinux-kernel.def32 xchg_relaxed(X,V) __xchg{once}(X,V)
/linux/kernel/kcsan/
H A Dkcsan_test.c587 KCSAN_EXPECT_READ_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads()
632 KCSAN_EXPECT_WRITE_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads()
677 KCSAN_EXPECT_RW_BARRIER(xchg_relaxed(&test_var, 0), false); in test_barrier_nothreads()
/linux/kernel/trace/
H A Dtrace_osnoise.c1956 kthread = xchg_relaxed(&(per_cpu(per_cpu_osnoise_var, cpu).kthread), NULL); in stop_kthread()
2067 kthread = xchg_relaxed(&(per_cpu(per_cpu_osnoise_var, cpu).kthread), NULL); in start_per_cpu_kthreads()
/linux/include/linux/atomic/
H A Datomic-instrumented.h4776 #define xchg_relaxed(ptr, ...) \ macro