Lines Matching refs:rhp
1239 static void srcu_leak_callback(struct rcu_head *rhp)
1247 struct rcu_head *rhp, bool do_norm)
1271 if (rhp)
1272 rcu_segcblist_enqueue(&sdp->srcu_cblist, rhp);
1310 if (rhp) {
1374 static void __call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp,
1377 if (debug_rcu_head_queue(rhp)) {
1379 WRITE_ONCE(rhp->func, srcu_leak_callback);
1383 rhp->func = func;
1384 (void)srcu_gp_start_if_needed(ssp, rhp, do_norm);
1390 * @rhp: structure to be used for queueing the SRCU callback.
1404 void call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp,
1407 __call_srcu(ssp, rhp, func, true);
1594 static void srcu_barrier_cb(struct rcu_head *rhp)
1599 rhp->next = rhp; // Mark the callback as having been invoked.
1600 sdp = container_of(rhp, struct srcu_data, srcu_barrier_head);
1762 struct rcu_head *rhp;
1790 rhp = rcu_cblist_dequeue(&ready_cbs);
1791 for (; rhp != NULL; rhp = rcu_cblist_dequeue(&ready_cbs)) {
1792 debug_rcu_head_unqueue(rhp);
1793 debug_rcu_head_callback(rhp);
1795 rhp->func(rhp);