/openbmc/linux/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()
|
/openbmc/linux/kernel/ |
H A D | scs.c | 145 prev = cmpxchg_relaxed(&highest, curr, used); in scs_check_usage()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/tools/memory-model/ |
H A D | linux-kernel.def | 36 cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | proton-pack.c | 52 } while (cmpxchg_relaxed(oldp, state, new) != state); in update_mitigation_state()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | fault.c | 238 pteval = cmpxchg_relaxed(&pte_val(*ptep), old_pteval, pteval); in ptep_set_access_flags()
|
/openbmc/linux/drivers/iommu/ |
H A D | io-pgtable-arm-v7s.c | 491 old = cmpxchg_relaxed(ptep, curr, new); in arm_v7s_install_table()
|
/openbmc/linux/kernel/rcu/ |
H A D | rcutorture.c | 1745 if (cmpxchg_relaxed(&rtrcp_chker->rtc_assigner, NULL, rtrcp) || in rcu_torture_reader_do_mbchk() 1746 cmpxchg_relaxed(&rtp->rtort_chkp, NULL, rtrcp)) in rcu_torture_reader_do_mbchk() 1747 (void)cmpxchg_relaxed(&rtrcp_chker->rtc_assigner, rtrcp, NULL); // Back out. in rcu_torture_reader_do_mbchk()
|
/openbmc/linux/drivers/perf/ |
H A D | arm_pmuv3.c | 1189 if (!cmpxchg_relaxed(&tbl_registered, 0, 1)) in armv8_pmu_register_sysctl_table()
|
/openbmc/linux/tools/memory-model/Documentation/ |
H A D | access-marking.txt | 112 a cmpxchg_relaxed() might still be subject to load fusing on some
|
/openbmc/linux/fs/erofs/ |
H A D | zdata.c | 606 if (!cmpxchg_relaxed(&pcl->compressed_bvecs[i].page, NULL, t)) in z_erofs_bind_cache()
|
/openbmc/linux/include/linux/atomic/ |
H A D | atomic-instrumented.h | 4764 #define cmpxchg_relaxed(ptr, ...) \ macro
|
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/ |
H A D | arm-smmu-v3.c | 774 old = cmpxchg_relaxed(&cmdq->q.llq.val, llq.val, head.val); in arm_smmu_cmdq_issue_cmdlist()
|
/openbmc/linux/kernel/sched/ |
H A D | core.c | 960 if (unlikely(cmpxchg_relaxed(&node->next, NULL, WAKE_Q_TAIL))) in __wake_q_add()
|