Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/rcu/
Dtree_nocb.h422 long ncbs = rcu_cblist_n_cbs(&rdp->nocb_bypass); in rcu_nocb_try_bypass() local
423 bool bypass_is_lazy = (ncbs == READ_ONCE(rdp->lazy_len)); in rcu_nocb_try_bypass()
483 if ((ncbs && !bypass_is_lazy && j != READ_ONCE(rdp->nocb_bypass_first)) || in rcu_nocb_try_bypass()
484 (ncbs && bypass_is_lazy && in rcu_nocb_try_bypass()
486 ncbs >= qhimark) { in rcu_nocb_try_bypass()
515 ncbs = rcu_cblist_n_cbs(&rdp->nocb_bypass); in rcu_nocb_try_bypass()
522 if (!ncbs) { in rcu_nocb_try_bypass()
535 if (ncbs && (!bypass_is_lazy || lazy)) { in rcu_nocb_try_bypass()
Drcutorture.c2833 long ncbs; in rcutorture_oom_notify() local
2850 ncbs = 0; in rcutorture_oom_notify()
2852 ncbs += rcu_torture_fwd_prog_cbfree(&rfp[i]); in rcutorture_oom_notify()
2853 pr_info("%s: Freed %lu RCU callbacks.\n", __func__, ncbs); in rcutorture_oom_notify()
2855 ncbs = 0; in rcutorture_oom_notify()
2857 ncbs += rcu_torture_fwd_prog_cbfree(&rfp[i]); in rcutorture_oom_notify()
2858 pr_info("%s: Freed %lu RCU callbacks.\n", __func__, ncbs); in rcutorture_oom_notify()
2860 ncbs = 0; in rcutorture_oom_notify()
2862 ncbs += rcu_torture_fwd_prog_cbfree(&rfp[i]); in rcutorture_oom_notify()
2863 pr_info("%s: Freed %lu RCU callbacks.\n", __func__, ncbs); in rcutorture_oom_notify()
Dtasks.h438 long ncbs = 0; in rcu_tasks_need_gpcb() local
452 ncbs += n; in rcu_tasks_need_gpcb()
477 if (rcu_task_cb_adjust && ncbs <= rcu_task_collapse_lim) { in rcu_tasks_need_gpcb()