Home
last modified time | relevance | path

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

/kernel/sched/
Dloadavg.c81 long nr_active, delta = 0; in calc_load_fold_active() local
83 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()
/kernel/
Dworkqueue.c212 int nr_active; /* L: nr of active works */ member
1167 pwq->nr_active++; in pwq_activate_delayed_work()
1197 pwq->nr_active--; in pwq_dec_nr_in_flight()
1200 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1505 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
1507 pwq->nr_active++; in __queue_work()
2563 if (pwq->nr_active && need_to_create_worker(pool)) { in rescuer_thread()
2983 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()
3776 pwq->nr_active < pwq->max_active) { in pwq_adjust_max_active()
4395 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) in pwq_busy()
[all …]
/kernel/events/
Dcore.c2307 if (!--ctx->nr_active) in event_sched_out()
2579 if (!ctx->nr_active++) in event_sched_in()
3269 if (!ctx->nr_active || !(is_active & EVENT_ALL)) in ctx_sched_out()