Lines Matching refs:next
19 struct mcs_spinlock *next;
71 node->next = NULL;
91 WRITE_ONCE(prev->next, node);
104 struct mcs_spinlock *next = READ_ONCE(node->next);
106 if (likely(!next)) {
112 /* Wait until the next pointer is set */
113 while (!(next = READ_ONCE(node->next)))
117 /* Pass lock to next waiter. */
118 arch_mcs_spin_unlock_contended(&next->locked);