Home
last modified time | relevance | path

Searched refs:cmpxchg_relaxed (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/arch/arm64/include/asm/
Dpercpu.h235 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n)
237 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n)
239 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n)
241 _pcp_protect_return(cmpxchg_relaxed, pcp, o, n)
Dpgtable.h887 pte_val(pte) = cmpxchg_relaxed(&pte_val(*ptep), in __ptep_test_and_clear_young()
969 pte_val(pte) = cmpxchg_relaxed(&pte_val(*ptep), in ptep_set_wrprotect()
/Linux-v6.1/kernel/
Dscs.c135 prev = cmpxchg_relaxed(&highest, curr, used); in scs_check_usage()
/Linux-v6.1/arch/mips/mm/
Dcontext.c213 !cmpxchg_relaxed(&cpu_data[cpu].asid_cache, old_active_mmid, ctx)) { in check_switch_mmu_context()
/Linux-v6.1/kernel/locking/
Dqspinlock_paravirt.h380 if (cmpxchg_relaxed(&pn->state, vcpu_halted, vcpu_hashed) in pv_kick_node()
Drtmutex.c209 } while (cmpxchg_relaxed(p, owner, in mark_rt_mutex_waiters()
/Linux-v6.1/kernel/kcsan/
Dkcsan_test.c503 cmpxchg_relaxed(flag, 0, 1) == 0,
582 KCSAN_EXPECT_READ_BARRIER(cmpxchg_relaxed(&test_var, 0, 0), false); in test_barrier_nothreads()
627 KCSAN_EXPECT_WRITE_BARRIER(cmpxchg_relaxed(&test_var, 0, 0), false); in test_barrier_nothreads()
672 KCSAN_EXPECT_RW_BARRIER(cmpxchg_relaxed(&test_var, 0, 0), false); in test_barrier_nothreads()
/Linux-v6.1/tools/memory-model/
Dlinux-kernel.def35 cmpxchg_relaxed(X,V,W) __cmpxchg{once}(X,V,W)
/Linux-v6.1/arch/arm64/kernel/
Dproton-pack.c52 } while (cmpxchg_relaxed(oldp, state, new) != state); in update_mitigation_state()
Dperf_event.c1231 if (!cmpxchg_relaxed(&tbl_registered, 0, 1)) in armv8_pmu_register_sysctl_table()
/Linux-v6.1/arch/arm64/mm/
Dfault.c223 pteval = cmpxchg_relaxed(&pte_val(*ptep), old_pteval, pteval); in ptep_set_access_flags()
/Linux-v6.1/kernel/rcu/
Drcutorture.c1699 if (cmpxchg_relaxed(&rtrcp_chker->rtc_assigner, NULL, rtrcp) || in rcu_torture_reader_do_mbchk()
1700 cmpxchg_relaxed(&rtp->rtort_chkp, NULL, rtrcp)) in rcu_torture_reader_do_mbchk()
1701 (void)cmpxchg_relaxed(&rtrcp_chker->rtc_assigner, rtrcp, NULL); // Back out. in rcu_torture_reader_do_mbchk()
/Linux-v6.1/drivers/iommu/
Dio-pgtable-arm-v7s.c491 old = cmpxchg_relaxed(ptep, curr, new); in arm_v7s_install_table()
/Linux-v6.1/fs/erofs/
Dzdata.c343 if (!cmpxchg_relaxed(&pcl->compressed_bvecs[i].page, NULL, in z_erofs_bind_cache()
/Linux-v6.1/tools/memory-model/Documentation/
Daccess-marking.txt112 a cmpxchg_relaxed() might still be subject to load fusing on some
/Linux-v6.1/include/linux/atomic/
Datomic-instrumented.h1934 #define cmpxchg_relaxed(ptr, ...) \ macro
/Linux-v6.1/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c762 old = cmpxchg_relaxed(&cmdq->q.llq.val, llq.val, head.val); in arm_smmu_cmdq_issue_cmdlist()
/Linux-v6.1/kernel/sched/
Dcore.c939 if (unlikely(cmpxchg_relaxed(&node->next, NULL, WAKE_Q_TAIL))) in __wake_q_add()