Home
last modified time | relevance | path

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

/linux/kernel/sched/
A 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 += (int)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()
/linux/include/trace/events/
A Dvmscan.h407 unsigned long nr_active, unsigned long nr_deactivated,
410 TP_ARGS(nid, nr_taken, nr_active, nr_deactivated, nr_referenced, priority, file),
415 __field(unsigned long, nr_active)
425 __entry->nr_active = nr_active;
435 __entry->nr_active, __entry->nr_deactivated, __entry->nr_referenced,
/linux/arch/powerpc/platforms/cell/spufs/
A Dsched.c681 cbe_spu_info[node].nr_active--; in find_victim()
710 cbe_spu_info[node].nr_active++; in __spu_schedule()
751 cbe_spu_info[node].nr_active--; in spu_unschedule()
952 int nr_active = 0, node; in count_active_contexts() local
955 nr_active += cbe_spu_info[node].nr_active; in count_active_contexts()
956 nr_active += spu_prio->nr_waiting; in count_active_contexts()
958 return nr_active; in count_active_contexts()
/linux/block/
A Dblk-mq.h231 atomic_inc(&hctx->nr_active); in __blk_mq_inc_active_requests()
240 atomic_sub(val, &hctx->nr_active); in __blk_mq_sub_active_requests()
252 return atomic_read(&hctx->nr_active); in __blk_mq_active_requests()
A Dblk-mq.c3192 atomic_set(&hctx->nr_active, 0); in blk_mq_alloc_hctx()
/linux/fs/ceph/
A Dmdsmap.c410 int i, nr_active = 0; in ceph_mdsmap_is_cluster_available() local
419 nr_active++; in ceph_mdsmap_is_cluster_available()
421 return nr_active > 0; in ceph_mdsmap_is_cluster_available()
/linux/kernel/
A Dworkqueue.c225 int nr_active; /* L: nr of active works */ member
1166 pwq->nr_active++; in pwq_activate_inactive_work()
1193 pwq->nr_active--; in pwq_dec_nr_in_flight()
1196 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1508 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
1510 pwq->nr_active++; in __queue_work()
2563 if (pwq->nr_active && need_to_create_worker(pool)) { in rescuer_thread()
3777 pwq->nr_active < pwq->max_active) { in pwq_adjust_max_active()
4740 pwq->nr_active, pwq->max_active, pwq->refcnt, in show_pwq()
5308 WARN_ON_ONCE(pwq->nr_active < 0); in freeze_workqueues_busy()
[all …]
/linux/arch/powerpc/include/asm/
A Dspu.h183 int nr_active; member
/linux/include/linux/
A Dblk-mq.h355 atomic_t nr_active; member
A Dperf_event.h824 int nr_active; member
/linux/net/mptcp/
A Dprotocol.c1406 int i, nr_active = 0; in mptcp_subflow_get_send() local
1440 nr_active += !subflow->backup; in mptcp_subflow_get_send()
1458 if (!nr_active) in mptcp_subflow_get_send()
/linux/kernel/events/
A Dcore.c2297 if (!--ctx->nr_active) in event_sched_out()
2568 if (!ctx->nr_active++) in event_sched_in()
3278 if (!ctx->nr_active || !(is_active & EVENT_ALL)) in ctx_sched_out()

Completed in 100 milliseconds