Lines Matching refs:node
61 struct pv_node *node; member
99 static struct qspinlock **pv_hash(struct qspinlock *lock, struct pv_node *node) in pv_hash() argument
106 WRITE_ONCE(he->node, node); in pv_hash()
127 struct pv_node *node; in pv_unhash() local
131 node = READ_ONCE(he->node); in pv_unhash()
133 return node; in pv_unhash()
149 static void pv_init_node(struct mcs_spinlock *node) in pv_init_node() argument
151 struct pv_node *pn = (struct pv_node *)node; in pv_init_node()
164 static void pv_wait_node(struct mcs_spinlock *node) in pv_wait_node() argument
166 struct pv_node *pn = (struct pv_node *)node; in pv_wait_node()
171 if (READ_ONCE(node->locked)) in pv_wait_node()
187 if (!READ_ONCE(node->locked)) in pv_wait_node()
218 static void pv_kick_node(struct qspinlock *lock, struct mcs_spinlock *node) in pv_kick_node() argument
220 struct pv_node *pn = (struct pv_node *)node; in pv_kick_node()
248 static void pv_wait_head(struct qspinlock *lock, struct mcs_spinlock *node) in pv_wait_head() argument
250 struct pv_node *pn = (struct pv_node *)node; in pv_wait_head()
317 struct pv_node *node; in __pv_queued_spin_unlock() local
349 node = pv_unhash(lock); in __pv_queued_spin_unlock()
364 pv_kick(node->cpu); in __pv_queued_spin_unlock()