Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/platforms/cell/spufs/
Dsched.c699 cbe_spu_info[node].nr_active--; in find_victim()
728 cbe_spu_info[node].nr_active++; in __spu_schedule()
769 cbe_spu_info[node].nr_active--; in spu_unschedule()
970 int nr_active = 0, node; in count_active_contexts() local
973 nr_active += cbe_spu_info[node].nr_active; in count_active_contexts()
974 nr_active += spu_prio->nr_waiting; in count_active_contexts()
976 return nr_active; in count_active_contexts()
/linux-2.6.39/kernel/
Dworkqueue.c184 int nr_active; /* L: nr of active works */ member
1042 if (likely(cwq->nr_active < cwq->max_active)) { in __queue_work()
1044 cwq->nr_active++; in __queue_work()
1730 cwq->nr_active++; in cwq_activate_first_delayed()
1755 cwq->nr_active--; in cwq_dec_nr_in_flight()
1758 if (cwq->nr_active < cwq->max_active) in cwq_dec_nr_in_flight()
3032 if (!cwq->nr_active && list_empty(&cwq->delayed_works)) in destroy_workqueue()
3058 BUG_ON(cwq->nr_active); in destroy_workqueue()
3678 BUG_ON(cwq->nr_active < 0); in freeze_workqueues_busy()
3679 if (cwq->nr_active) { in freeze_workqueues_busy()
[all …]
Dperf_event.c1076 ctx->nr_active--; in event_sched_out()
1348 ctx->nr_active++; in event_sched_in()
1778 if (!ctx->nr_active) in ctx_sched_out()
2345 if (cpuctx->ctx.nr_events != cpuctx->ctx.nr_active) in perf_rotate_context()
2352 if (ctx->nr_events != ctx->nr_active) in perf_rotate_context()
Dsched.c3079 long nr_active, delta = 0; in calc_load_fold_active() local
3081 nr_active = this_rq->nr_running; in calc_load_fold_active()
3082 nr_active += (long) this_rq->nr_uninterruptible; in calc_load_fold_active()
3084 if (nr_active != this_rq->calc_load_active) { in calc_load_fold_active()
3085 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
3086 this_rq->calc_load_active = nr_active; in calc_load_fold_active()
/linux-2.6.39/mm/
Dvmscan.c1156 int nr_active = 0; in clear_active_flags() local
1166 nr_active += numpages; in clear_active_flags()
1172 return nr_active; in clear_active_flags()
1301 unsigned long nr_active; in update_isolated_counts() local
1305 nr_active = clear_active_flags(isolated_list, count); in update_isolated_counts()
1306 __count_vm_events(PGDEACTIVATE, nr_active); in update_isolated_counts()
/linux-2.6.39/arch/powerpc/include/asm/
Dspu.h193 int nr_active; member
/linux-2.6.39/include/linux/
Dperf_event.h899 int nr_active; member