Searched refs:xchg_relaxed (Results 1 – 9 of 9) sorted by relevance
/linux/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 | 1275 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 D | context.c | 76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
|
/linux/tools/memory-model/Documentation/ |
H A D | herd-representation.txt | 80 | xchg_relaxed | |
|
/linux/kernel/locking/ |
H A D | qspinlock.c | 183 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
|
/linux/tools/memory-model/ |
H A D | linux-kernel.def | 32 xchg_relaxed(X,V) __xchg{once}(X,V)
|
/linux/kernel/kcsan/ |
H A D | kcsan_test.c | 587 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 D | trace_osnoise.c | 1956 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 D | atomic-instrumented.h | 4776 #define xchg_relaxed(ptr, ...) \ macro
|