Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/sched/
Dloadavg.c80 long nr_active, delta = 0; in calc_load_fold_active() local
82 nr_active = this_rq->nr_running - adjust; in calc_load_fold_active()
83 nr_active += (int)this_rq->nr_uninterruptible; in calc_load_fold_active()
85 if (nr_active != this_rq->calc_load_active) { in calc_load_fold_active()
86 delta = nr_active - this_rq->calc_load_active; in calc_load_fold_active()
87 this_rq->calc_load_active = nr_active; in calc_load_fold_active()
/linux-6.1.9/include/trace/events/
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-6.1.9/arch/powerpc/platforms/cell/spufs/
Dsched.c680 cbe_spu_info[node].nr_active--; in find_victim()
709 cbe_spu_info[node].nr_active++; in __spu_schedule()
750 cbe_spu_info[node].nr_active--; in spu_unschedule()
951 int nr_active = 0, node; in count_active_contexts() local
954 nr_active += cbe_spu_info[node].nr_active; in count_active_contexts()
955 nr_active += spu_prio->nr_waiting; in count_active_contexts()
957 return nr_active; in count_active_contexts()
/linux-6.1.9/block/
Dblk-mq.h229 atomic_inc(&hctx->nr_active); in __blk_mq_inc_active_requests()
238 atomic_sub(val, &hctx->nr_active); in __blk_mq_sub_active_requests()
250 return atomic_read(&hctx->nr_active); in __blk_mq_active_requests()
Dblk-mq.c3642 atomic_set(&hctx->nr_active, 0); in blk_mq_alloc_hctx()
/linux-6.1.9/fs/ceph/
Dmdsmap.c424 int i, nr_active = 0; in ceph_mdsmap_is_cluster_available() local
433 nr_active++; in ceph_mdsmap_is_cluster_available()
435 return nr_active > 0; in ceph_mdsmap_is_cluster_available()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dsetget_sockopt.c63 ASSERT_EQ(bss->nr_active, 1, "nr_active"); in test_tcp()
/linux-6.1.9/kernel/
Dworkqueue.c226 int nr_active; /* L: nr of active works */ member
1170 pwq->nr_active++; in pwq_activate_inactive_work()
1197 pwq->nr_active--; in pwq_dec_nr_in_flight()
1200 if (pwq->nr_active < pwq->max_active) in pwq_dec_nr_in_flight()
1505 if (likely(pwq->nr_active < pwq->max_active)) { in __queue_work()
1507 pwq->nr_active++; in __queue_work()
2554 if (pwq->nr_active && need_to_create_worker(pool)) { in rescuer_thread()
2982 drained = !pwq->nr_active && list_empty(&pwq->inactive_works); in drain_workqueue()
3775 pwq->nr_active < pwq->max_active) { in pwq_adjust_max_active()
4394 if (pwq->nr_active || !list_empty(&pwq->inactive_works)) in pwq_busy()
[all …]
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dsetget_sockopt.c21 int nr_active; variable
382 nr_active += !(bpf_test_sockopt(skops, sk) || in skops_sockopt()
/linux-6.1.9/arch/powerpc/include/asm/
Dspu.h183 int nr_active; member
/linux-6.1.9/include/linux/
Dblk-mq.h417 atomic_t nr_active; member
Dperf_event.h849 int nr_active; member
/linux-6.1.9/net/mptcp/
Dprotocol.c1415 int i, nr_active = 0; in mptcp_subflow_get_send() local
1450 nr_active += !subflow->backup; in mptcp_subflow_get_send()
1469 if (!nr_active) in mptcp_subflow_get_send()
/linux-6.1.9/kernel/events/
Dcore.c2305 if (!--ctx->nr_active) in event_sched_out()
2555 if (!ctx->nr_active++) in event_sched_in()
3287 if (!ctx->nr_active || !(is_active & EVENT_ALL)) in ctx_sched_out()