Lines Matching refs:next
350 struct mcs_spinlock *prev, *next, *node; in resilient_queued_spin_lock_slowpath() local
502 node->next = NULL; in resilient_queued_spin_lock_slowpath()
527 next = NULL; in resilient_queued_spin_lock_slowpath()
539 WRITE_ONCE(prev->next, node); in resilient_queued_spin_lock_slowpath()
553 next = READ_ONCE(node->next); in resilient_queued_spin_lock_slowpath()
554 if (next) in resilient_queued_spin_lock_slowpath()
555 prefetchw(next); in resilient_queued_spin_lock_slowpath()
605 next = smp_cond_load_relaxed(&node->next, VAL); in resilient_queued_spin_lock_slowpath()
606 WRITE_ONCE(next->locked, RES_TIMEOUT_VAL); in resilient_queued_spin_lock_slowpath()
643 if (!next) in resilient_queued_spin_lock_slowpath()
644 next = smp_cond_load_relaxed(&node->next, (VAL)); in resilient_queued_spin_lock_slowpath()
646 arch_mcs_spin_unlock_contended(&next->locked); in resilient_queued_spin_lock_slowpath()