Home
last modified time | relevance | path

Searched refs:smp_cond_load_relaxed (Results 1 – 7 of 7) sorted by relevance

/linux/include/asm-generic/
H A Dbarrier.h245 #ifndef smp_cond_load_relaxed
246 #define smp_cond_load_relaxed(ptr, cond_expr) ({ \ macro
270 _val = smp_cond_load_relaxed(ptr, cond_expr); \
/linux/include/linux/
H A Datomic.h29 #define atomic_cond_read_relaxed(v, c) smp_cond_load_relaxed(&(v)->counter, (c))
32 #define atomic64_cond_read_relaxed(v, c) smp_cond_load_relaxed(&(v)->counter, (c))
/linux/arch/riscv/include/asm/
H A Dbarrier.h75 #define smp_cond_load_relaxed(ptr, cond_expr) ({ \ macro
/linux/kernel/locking/
H A Dosq_lock.c146 if (smp_cond_load_relaxed(&node->locked, VAL || need_resched() || in osq_lock()
H A Dqspinlock.c551 next = smp_cond_load_relaxed(&node->next, (VAL)); in queued_spin_lock_slowpath()
/linux/kernel/rcu/
H A Drcuscale.c886 smp_cond_load_relaxed(&rcu_lazy_test1_cb_called, VAL == 1); in kfree_scale_init()
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c665 smp_cond_load_relaxed(cmd, !VAL || (ret = queue_poll(&qp))); in __arm_smmu_cmdq_poll_until_msi()