Searched refs:nr_active (Results 1 – 3 of 3) sorted by relevance
81 long nr_active, delta = 0; in calc_load_fold_active() local83 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()84 nr_active += (long)this_rq->nr_uninterruptible; in calc_load_fold_active()86 if (nr_active != this_rq->calc_load_active) { in calc_load_fold_active()87 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()88 this_rq->calc_load_active = nr_active; in calc_load_fold_active()
207 int nr_active; /* L: nr of active works */ member1150 pwq->nr_active++; in pwq_activate_delayed_work()1180 pwq->nr_active--; in pwq_dec_nr_in_flight()1183 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()1481 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()1483 pwq->nr_active++; in __queue_work()2954 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()3720 pwq->nr_active < pwq->max_active) in pwq_adjust_max_active()4372 WARN_ON(pwq->nr_active) || in destroy_workqueue()4664 pwq->nr_active, pwq->max_active, pwq->refcnt, in show_pwq()[all …]
2105 if (!--ctx->nr_active) in event_sched_out()2376 if (!ctx->nr_active++) in event_sched_in()3042 if (!ctx->nr_active || !(is_active & EVENT_ALL)) in ctx_sched_out()