Home
last modified time | relevance | path

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

/kernel/sched/
Dloadavg.c80 long nr_active, delta = 0; in calc_load_fold_active() local
82 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
83 nr_active += (int)this_rq->nr_uninterruptible; in calc_load_fold_active()
85 if (nr_active != this_rq->calc_load_active) { in calc_load_fold_active()
86 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
87 this_rq->calc_load_active = nr_active; in calc_load_fold_active()
/kernel/
Dworkqueue.c230 int nr_active; /* L: nr of active works */ member
1180 pwq->nr_active++; in pwq_activate_inactive_work()
1207 pwq->nr_active--; in pwq_dec_nr_in_flight()
1210 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1515 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
1517 pwq->nr_active++; in __queue_work()
2564 if (pwq->nr_active && need_to_create_worker(pool)) { in rescuer_thread()
2992 drained = !pwq->nr_active && list_empty(&pwq->inactive_works); in drain_workqueue()
3785 pwq->nr_active < pwq->max_active) { in pwq_adjust_max_active()
4406 if (pwq->nr_active || !list_empty(&pwq->inactive_works)) in pwq_busy()
[all …]
/kernel/events/
Dcore.c2337 if (!--ctx->nr_active) in event_sched_out()
2587 if (!ctx->nr_active++) in event_sched_in()
3319 if (!ctx->nr_active || !(is_active & EVENT_ALL)) in ctx_sched_out()