Home
last modified time | relevance | path

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

/Linux-v5.10/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()
/Linux-v5.10/include/trace/events/
Dvmscan.h393 unsigned long nr_active, unsigned long nr_deactivated,
396 TP_ARGS(nid, nr_taken, nr_active, nr_deactivated, nr_referenced, priority, file),
401 __field(unsigned long, nr_active)
411 __entry->nr_active = nr_active;
421 __entry->nr_active, __entry->nr_deactivated, __entry->nr_referenced,
/Linux-v5.10/block/
Dblk-mq.h207 atomic_inc(&hctx->nr_active); in __blk_mq_inc_active_requests()
215 atomic_dec(&hctx->nr_active); in __blk_mq_dec_active_requests()
222 return atomic_read(&hctx->nr_active); in __blk_mq_active_requests()
Dblk-mq-debugfs.c617 seq_printf(m, "%d\n", atomic_read(&hctx->nr_active)); in hctx_active_show()
Dblk-mq.c2667 atomic_set(&hctx->nr_active, 0); in blk_mq_alloc_hctx()
/Linux-v5.10/arch/powerpc/platforms/cell/spufs/
Dsched.c686 cbe_spu_info[node].nr_active--; in find_victim()
715 cbe_spu_info[node].nr_active++; in __spu_schedule()
756 cbe_spu_info[node].nr_active--; in spu_unschedule()
957 int nr_active = 0, node; in count_active_contexts() local
960 nr_active += cbe_spu_info[node].nr_active; in count_active_contexts()
961 nr_active += spu_prio->nr_waiting; in count_active_contexts()
963 return nr_active; in count_active_contexts()
/Linux-v5.10/fs/ceph/
Dmdsmap.c405 int i, nr_active = 0; in ceph_mdsmap_is_cluster_available() local
414 nr_active++; in ceph_mdsmap_is_cluster_available()
416 return nr_active > 0; in ceph_mdsmap_is_cluster_available()
/Linux-v5.10/kernel/
Dworkqueue.c207 int nr_active; /* L: nr of active works */ member
1147 pwq->nr_active++; in pwq_activate_delayed_work()
1177 pwq->nr_active--; in pwq_dec_nr_in_flight()
1180 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1483 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
1485 pwq->nr_active++; in __queue_work()
2536 if (pwq->nr_active && need_to_create_worker(pool)) { in rescuer_thread()
2956 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()
3734 pwq->nr_active < pwq->max_active) in pwq_adjust_max_active()
4348 if (pwq->nr_active || !list_empty(&pwq->delayed_works)) in pwq_busy()
[all …]
/Linux-v5.10/include/linux/
Dblk-mq.h141 atomic_t nr_active; member
Dperf_event.h816 int nr_active; member
/Linux-v5.10/arch/powerpc/include/asm/
Dspu.h183 int nr_active; member
/Linux-v5.10/net/mptcp/
Dprotocol.c1084 int i, nr_active = 0; in mptcp_subflow_get_send() local
1123 nr_active += !subflow->backup; in mptcp_subflow_get_send()
1141 msk, nr_active, send_info[0].ssk, send_info[0].ratio, in mptcp_subflow_get_send()
1145 if (!nr_active) in mptcp_subflow_get_send()
/Linux-v5.10/kernel/events/
Dcore.c2284 if (!--ctx->nr_active) in event_sched_out()
2556 if (!ctx->nr_active++) in event_sched_in()
3246 if (!ctx->nr_active || !(is_active & EVENT_ALL)) in ctx_sched_out()
/Linux-v5.10/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c366 sdev_busy = atomic_read(&hctx->nr_active); in megasas_get_msix_index()
/Linux-v5.10/drivers/scsi/mpt3sas/
Dmpt3sas_base.c3582 return atomic_read(&hctx->nr_active); in _base_sdev_nr_inflight_request()