Searched refs:nr_active (Results 1 – 3 of 3) sorted by relevance
200 int nr_active; /* L: nr of active works */ member1079 pwq->nr_active++; in pwq_activate_delayed_work()1109 pwq->nr_active--; in pwq_dec_nr_in_flight()1112 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()1373 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()1375 pwq->nr_active++; in __queue_work()2737 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()3669 pwq->nr_active < pwq->max_active) in pwq_adjust_max_active()4208 WARN_ON(pwq->nr_active) || in destroy_workqueue()4822 WARN_ON_ONCE(pwq->nr_active < 0); in freeze_workqueues_busy()[all …]
2149 long nr_active, delta = 0; in calc_load_fold_active() local2151 nr_active = this_rq->nr_running; in calc_load_fold_active()2152 nr_active += (long) this_rq->nr_uninterruptible; in calc_load_fold_active()2154 if (nr_active != this_rq->calc_load_active) { in calc_load_fold_active()2155 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()2156 this_rq->calc_load_active = nr_active; in calc_load_fold_active()
1276 ctx->nr_active--; in event_sched_out()1568 ctx->nr_active++; in event_sched_in()2032 if (!ctx->nr_active) in ctx_sched_out()2678 if (cpuctx->ctx.nr_events != cpuctx->ctx.nr_active) in perf_rotate_context()2685 if (ctx->nr_events != ctx->nr_active) in perf_rotate_context()