Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/net/rxrpc/
Dconn_client.c1013 unsigned int nr_active, limit; in rxrpc_cull_active_client_conns() local
1025 nr_active = rxnet->nr_active_client_conns; in rxrpc_cull_active_client_conns()
1027 while (nr_active > limit) { in rxrpc_cull_active_client_conns()
1045 nr_active--; in rxrpc_cull_active_client_conns()
1048 rxnet->nr_active_client_conns = nr_active; in rxrpc_cull_active_client_conns()
1050 ASSERTCMP(nr_active, >=, 0); in rxrpc_cull_active_client_conns()
1178 unsigned int nr_active; in rxrpc_clean_up_local_conns() local
1184 nr_active = rxnet->nr_active_client_conns; in rxrpc_clean_up_local_conns()
1196 nr_active--; in rxrpc_clean_up_local_conns()
1200 rxnet->nr_active_client_conns = nr_active; in rxrpc_clean_up_local_conns()
[all …]
/Linux-v5.4/include/trace/events/
Dvmscan.h389 unsigned long nr_active, unsigned long nr_deactivated,
392 TP_ARGS(nid, nr_taken, nr_active, nr_deactivated, nr_referenced, priority, file),
397 __field(unsigned long, nr_active)
407 __entry->nr_active = nr_active;
417 __entry->nr_active, __entry->nr_deactivated, __entry->nr_referenced,
/Linux-v5.4/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.4/fs/ceph/
Dmdsmap.c387 int i, nr_active = 0; in ceph_mdsmap_is_cluster_available() local
396 nr_active++; in ceph_mdsmap_is_cluster_available()
398 return nr_active > 0; in ceph_mdsmap_is_cluster_available()
/Linux-v5.4/kernel/
Dworkqueue.c207 int nr_active; /* L: nr of active works */ member
1149 pwq->nr_active++; in pwq_activate_delayed_work()
1179 pwq->nr_active--; in pwq_dec_nr_in_flight()
1182 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1480 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
1482 pwq->nr_active++; in __queue_work()
2947 drained = !pwq->nr_active && list_empty(&pwq->delayed_works); in drain_workqueue()
3713 pwq->nr_active < pwq->max_active) in pwq_adjust_max_active()
4345 WARN_ON(pwq->nr_active) || in destroy_workqueue()
4641 pr_cont(" active=%d/%d%s\n", pwq->nr_active, pwq->max_active, in show_pwq()
[all …]
/Linux-v5.4/block/
Dblk-mq.h216 atomic_dec(&hctx->nr_active); in __blk_mq_put_driver_tag()
Dblk-mq-tag.c95 return atomic_read(&hctx->nr_active) < depth; in hctx_may_queue()
Dblk-mq.c307 atomic_inc(&data->hctx->nr_active); in blk_mq_rq_ctx_init()
527 atomic_dec(&hctx->nr_active); in blk_mq_free_request()
1077 atomic_inc(&data.hctx->nr_active); in blk_mq_get_driver_tag()
2358 atomic_set(&hctx->nr_active, 0); in blk_mq_alloc_hctx()
Dblk-mq-debugfs.c613 seq_printf(m, "%d\n", atomic_read(&hctx->nr_active)); in hctx_active_show()
/Linux-v5.4/include/linux/
Dblk-mq.h59 atomic_t nr_active; member
Dperf_event.h762 int nr_active; member
/Linux-v5.4/arch/powerpc/include/asm/
Dspu.h183 int nr_active; member
/Linux-v5.4/kernel/events/
Dcore.c2105 if (!--ctx->nr_active) in event_sched_out()
2376 if (!ctx->nr_active++) in event_sched_in()
3042 if (!ctx->nr_active || !(is_active & EVENT_ALL)) in ctx_sched_out()