/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | percpu.h | 234 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n) 236 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n) 238 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n) 240 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n)
|
H A D | pgtable.h | 798 pte_val(pte) = cmpxchg_relaxed(&pte_val(*ptep), in __ptep_test_and_clear_young() 872 pte_val(pte) = cmpxchg_relaxed(&pte_val(*ptep), in ptep_set_wrprotect()
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | percpu.h | 229 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n) 231 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n) 233 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n) 235 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n)
|
H A D | pgtable.h | 897 pte_val(pte) = cmpxchg_relaxed(&pte_val(*ptep), in __ptep_test_and_clear_young() 979 pte_val(pte) = cmpxchg_relaxed(&pte_val(*ptep), in ptep_set_wrprotect()
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 202 #define cmpxchg_relaxed(ptr, o, n) \ macro 360 cmpxchg_relaxed((ptr), (o), (n)) \ 372 cmpxchg_relaxed((ptr), (o), (n)); \
|
/kernel/linux/linux-5.10/kernel/ |
H A D | scs.c | 81 prev = cmpxchg_relaxed(&highest, curr, used); in scs_check_usage()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | cmpxchg.h | 487 #define cmpxchg_relaxed(ptr, o, n) \ macro 518 cmpxchg_relaxed((ptr), (o), (n)); \
|
H A D | atomic.h | 187 cmpxchg_relaxed(&((v)->counter), (o), (n)) 504 cmpxchg_relaxed(&((v)->counter), (o), (n))
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | cmpxchg.h | 210 #define cmpxchg_relaxed(ptr,o,n) ({ \ macro
|
/kernel/linux/linux-6.6/kernel/ |
H A D | scs.c | 145 prev = cmpxchg_relaxed(&highest, curr, used); in scs_check_usage()
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | context.c | 213 !cmpxchg_relaxed(&cpu_data[cpu].asid_cache, old_active_mmid, ctx)) { in check_switch_mmu_context()
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | context.c | 213 !cmpxchg_relaxed(&cpu_data[cpu].asid_cache, old_active_mmid, ctx)) { in check_switch_mmu_context()
|
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | qspinlock_paravirt.h | 380 if (cmpxchg_relaxed(&pn->state, vcpu_halted, vcpu_hashed) in pv_kick_node()
|
H A D | rtmutex.c | 158 } while (cmpxchg_relaxed(p, owner, in mark_rt_mutex_waiters()
|
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | qspinlock_paravirt.h | 380 if (cmpxchg_relaxed(&pn->state, vcpu_halted, vcpu_hashed) in pv_kick_node()
|
H A D | rtmutex.c | 239 } while (cmpxchg_relaxed(p, owner, in mark_rt_mutex_waiters()
|
/kernel/linux/linux-6.6/kernel/kcsan/ |
H A D | kcsan_test.c | 508 cmpxchg_relaxed(flag, 0, 1) == 0, 587 KCSAN_EXPECT_READ_BARRIER(cmpxchg_relaxed(&test_var, 0, 0), false); in test_barrier_nothreads() 632 KCSAN_EXPECT_WRITE_BARRIER(cmpxchg_relaxed(&test_var, 0, 0), false); in test_barrier_nothreads() 677 KCSAN_EXPECT_RW_BARRIER(cmpxchg_relaxed(&test_var, 0, 0), false); in test_barrier_nothreads()
|
/kernel/linux/linux-5.10/fs/erofs/ |
H A D | zdata.c | 189 if (!cmpxchg_relaxed(pages, NULL, tagptr_cast_ptr(t))) in preload_compressed_pages() 361 length != cmpxchg_relaxed(&pcl->length, length, llen)) { in z_erofs_lookup_collection()
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
H A D | fault.c | 218 pteval = cmpxchg_relaxed(&pte_val(*ptep), old_pteval, pteval); in ptep_set_access_flags()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | proton-pack.c | 51 } while (cmpxchg_relaxed(oldp, state, new) != state); in update_mitigation_state()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | proton-pack.c | 52 } while (cmpxchg_relaxed(oldp, state, new) != state); in update_mitigation_state()
|
/kernel/linux/linux-6.6/arch/arm64/mm/ |
H A D | fault.c | 238 pteval = cmpxchg_relaxed(&pte_val(*ptep), old_pteval, pteval); in ptep_set_access_flags()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | io-pgtable-arm-v7s.c | 469 old = cmpxchg_relaxed(ptep, curr, new); in arm_v7s_install_table()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_remote.c | 143 if (cmpxchg_relaxed(&hmdfs_d(dentry)->async_readdir_in_progress, 0, in get_remote_dentry_file_in_wq()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_remote.c | 143 if (cmpxchg_relaxed(&hmdfs_d(dentry)->async_readdir_in_progress, 0, in get_remote_dentry_file_in_wq()
|