Lines Matching refs:rfcp
2540 struct rcu_fwd_cb *rfcp = container_of(rhp, struct rcu_fwd_cb, rh); in rcu_torture_fwd_cb_cr() local
2542 struct rcu_fwd *rfp = rfcp->rfc_rfp; in rcu_torture_fwd_cb_cr()
2544 rfcp->rfc_next = NULL; in rcu_torture_fwd_cb_cr()
2545 rfcp->rfc_gps++; in rcu_torture_fwd_cb_cr()
2548 rfp->rcu_fwd_cb_tail = &rfcp->rfc_next; in rcu_torture_fwd_cb_cr()
2549 WRITE_ONCE(*rfcpp, rfcp); in rcu_torture_fwd_cb_cr()
2580 struct rcu_fwd_cb *rfcp; in rcu_torture_fwd_prog_cbfree() local
2584 rfcp = rfp->rcu_fwd_cb_head; in rcu_torture_fwd_prog_cbfree()
2585 if (!rfcp) { in rcu_torture_fwd_prog_cbfree()
2589 rfp->rcu_fwd_cb_head = rfcp->rfc_next; in rcu_torture_fwd_prog_cbfree()
2593 kfree(rfcp); in rcu_torture_fwd_prog_cbfree()
2689 struct rcu_fwd_cb *rfcp; in rcu_torture_fwd_prog_cr() local
2719 rfcp = READ_ONCE(rfp->rcu_fwd_cb_head); in rcu_torture_fwd_prog_cr()
2721 if (rfcp) in rcu_torture_fwd_prog_cr()
2722 rfcpn = READ_ONCE(rfcp->rfc_next); in rcu_torture_fwd_prog_cr()
2724 if (rfcp->rfc_gps >= MIN_FWD_CB_LAUNDERS && in rcu_torture_fwd_prog_cr()
2731 rfcp = kmalloc(sizeof(*rfcp), GFP_KERNEL); in rcu_torture_fwd_prog_cr()
2732 if (WARN_ON_ONCE(!rfcp)) { in rcu_torture_fwd_prog_cr()
2738 rfcp->rfc_gps = 0; in rcu_torture_fwd_prog_cr()
2739 rfcp->rfc_rfp = rfp; in rcu_torture_fwd_prog_cr()
2741 rfcp = NULL; in rcu_torture_fwd_prog_cr()
2743 if (rfcp) in rcu_torture_fwd_prog_cr()
2744 cur_ops->call(&rfcp->rh, rcu_torture_fwd_cb_cr); in rcu_torture_fwd_prog_cr()