Home
last modified time | relevance | path

Searched refs:qnode (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/powerpc/lib/
H A Dqspinlock.c15 struct qnode { struct
16 struct qnode *next; argument
25 struct qnode nodes[MAX_NODES]; argument
262 static struct qnode *get_tail_qnode(struct qspinlock *lock, u32 val) in get_tail_qnode()
278 struct qnode *qnode = &qnodesp->nodes[idx]; in get_tail_qnode() local
279 if (qnode->lock == lock) in get_tail_qnode()
280 return qnode; in get_tail_qnode()
358 struct qnode *next; in propagate_yield_cpu()
384 static __always_inline bool yield_to_prev(struct qspinlock *lock, struct qnode *node, u32 val, bool… in yield_to_prev()
543 struct qnode *next, *node; in queued_spin_lock_mcs_queue()
[all …]
/openbmc/linux/kernel/locking/
H A Dqspinlock.c82 struct qnode { struct
109 static DEFINE_PER_CPU_ALIGNED(struct qnode, qnodes[MAX_NODES]);
137 return &((struct qnode *)base + idx)->mcs; in grab_mcs_node()
H A Dqspinlock_paravirt.h282 BUILD_BUG_ON(sizeof(struct pv_node) > sizeof(struct qnode)); in pv_init_node()