Searched refs:xchg_relaxed (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/arch/arm64/include/asm/ |
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)
|
D | pgtable.h | 940 pte_t pte = __pte(xchg_relaxed(&pte_val(*ptep), 0)); in ptep_get_and_clear() 952 pmd_t pmd = __pmd(xchg_relaxed(&pmd_val(*pmdp), 0)); in pmdp_huge_get_and_clear() 991 return __pmd(xchg_relaxed(&pmd_val(*pmdp), pmd_val(pmd))); in pmdp_establish()
|
/Linux-v6.6/arch/mips/mm/ |
D | context.c | 76 mmid = xchg_relaxed(&cpu_data[cpu].asid_cache, 0); in flush_context()
|
/Linux-v6.6/kernel/locking/ |
D | qspinlock.c | 183 return (u32)xchg_relaxed(&lock->tail, in xchg_tail()
|
/Linux-v6.6/tools/memory-model/ |
D | linux-kernel.def | 32 xchg_relaxed(X,V) __xchg{once}(X,V)
|
/Linux-v6.6/kernel/kcsan/ |
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()
|
/Linux-v6.6/include/linux/atomic/ |
D | atomic-instrumented.h | 4734 #define xchg_relaxed(ptr, ...) \ macro
|