Searched refs:nr_active (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.4/kernel/sched/ |
D | loadavg.c | 81 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/ |
D | conn_client.c | 1013 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/ |
D | vmscan.h | 389 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/ |
D | sched.c | 686 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/ |
D | mdsmap.c | 387 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/ |
D | workqueue.c | 207 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/ |
D | blk-mq.h | 216 atomic_dec(&hctx->nr_active); in __blk_mq_put_driver_tag()
|
D | blk-mq-tag.c | 95 return atomic_read(&hctx->nr_active) < depth; in hctx_may_queue()
|
D | blk-mq.c | 307 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()
|
D | blk-mq-debugfs.c | 613 seq_printf(m, "%d\n", atomic_read(&hctx->nr_active)); in hctx_active_show()
|
/Linux-v5.4/include/linux/ |
D | blk-mq.h | 59 atomic_t nr_active; member
|
D | perf_event.h | 762 int nr_active; member
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | spu.h | 183 int nr_active; member
|
/Linux-v5.4/kernel/events/ |
D | core.c | 2105 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()
|