Lines Matching refs:rhp
28 void rcu_cblist_enqueue(struct rcu_cblist *rclp, struct rcu_head *rhp) in rcu_cblist_enqueue() argument
30 *rclp->tail = rhp; in rcu_cblist_enqueue()
31 rclp->tail = &rhp->next; in rcu_cblist_enqueue()
45 struct rcu_head *rhp) in rcu_cblist_flush_enqueue() argument
53 if (!rhp) { in rcu_cblist_flush_enqueue()
56 rhp->next = NULL; in rcu_cblist_flush_enqueue()
57 srclp->head = rhp; in rcu_cblist_flush_enqueue()
58 srclp->tail = &rhp->next; in rcu_cblist_flush_enqueue()
69 struct rcu_head *rhp; in rcu_cblist_dequeue() local
71 rhp = rclp->head; in rcu_cblist_dequeue()
72 if (!rhp) in rcu_cblist_dequeue()
75 rclp->head = rhp->next; in rcu_cblist_dequeue()
78 return rhp; in rcu_cblist_dequeue()
343 struct rcu_head *rhp) in rcu_segcblist_enqueue() argument
347 rhp->next = NULL; in rcu_segcblist_enqueue()
348 WRITE_ONCE(*rsclp->tails[RCU_NEXT_TAIL], rhp); in rcu_segcblist_enqueue()
349 WRITE_ONCE(rsclp->tails[RCU_NEXT_TAIL], &rhp->next); in rcu_segcblist_enqueue()
363 struct rcu_head *rhp) in rcu_segcblist_entrain() argument
371 rhp->next = NULL; in rcu_segcblist_entrain()
376 WRITE_ONCE(*rsclp->tails[i], rhp); in rcu_segcblist_entrain()
378 WRITE_ONCE(rsclp->tails[i], &rhp->next); in rcu_segcblist_entrain()