Home
last modified time | relevance | path

Searched refs:active (Results 1 – 19 of 19) sorted by relevance

/kernel/sched/
Dloadavg.c158 unsigned long active, unsigned int n) in calc_load_n() argument
160 return calc_load(load, fixed_power_int(exp, FSHIFT, n), active); in calc_load_n()
307 long delta, active, n; in calc_global_nohz() local
317 active = atomic_long_read(&calc_load_tasks); in calc_global_nohz()
318 active = active > 0 ? active * FIXED_1 : 0; in calc_global_nohz()
320 avenrun[0] = calc_load_n(avenrun[0], EXP_1, active, n); in calc_global_nohz()
321 avenrun[1] = calc_load_n(avenrun[1], EXP_5, active, n); in calc_global_nohz()
322 avenrun[2] = calc_load_n(avenrun[2], EXP_15, active, n); in calc_global_nohz()
353 long active, delta; in calc_global_load() local
366 active = atomic_long_read(&calc_load_tasks); in calc_global_load()
[all …]
Drt.c90 array = &rt_rq->active; in init_rt_rq()
1164 struct rt_prio_array *array = &rt_rq->active; in dec_rt_prio()
1295 struct rt_prio_array *array = &rt_rq->active; in __enqueue_rt_entity()
1329 struct rt_prio_array *array = &rt_rq->active; in __dequeue_rt_entity()
1447 struct rt_prio_array *array = &rt_rq->active; in requeue_rt_entity()
1699 struct rt_prio_array *array = &rt_rq->active; in pick_next_rt_entity()
Dcore.c1162 if (p->uclamp[clamp_id].active) in uclamp_eff_value()
1195 uc_se->active = true; in uclamp_rq_inc_id()
1253 if (unlikely(!uc_se->active)) in uclamp_rq_dec_id()
1262 uc_se->active = false; in uclamp_rq_dec_id()
1332 if (!p->uclamp[clamp_id].active) in uclamp_rq_reinc_id()
1583 p->uclamp[clamp_id].active = false; in uclamp_fork()
Dsched.h634 struct rt_prio_array active; member
/kernel/time/
Dhrtimer.c486 __next_base(struct hrtimer_cpu_base *cpu_base, unsigned int *active) in __next_base() argument
490 if (!*active) in __next_base()
493 idx = __ffs(*active); in __next_base()
494 *active &= ~(1U << idx); in __next_base()
499 #define for_each_active_base(base, cpu_base, active) \ argument
500 while ((base = __next_base((cpu_base), &(active))))
504 unsigned int active, in __hrtimer_next_event_base() argument
510 for_each_active_base(base, cpu_base, active) { in __hrtimer_next_event_base()
514 next = timerqueue_getnext(&base->active); in __hrtimer_next_event_base()
571 unsigned int active; in __hrtimer_get_next_event() local
[all …]
Dtimer_list.c88 curr = timerqueue_getnext(&base->active); in print_active_timers()
/kernel/
Dcontext_tracking.c71 if (__this_cpu_read(context_tracking.active)) { in __context_tracking_enter()
152 if (__this_cpu_read(context_tracking.active)) { in __context_tracking_exit()
195 if (!per_cpu(context_tracking.active, cpu)) { in context_tracking_cpu_set()
196 per_cpu(context_tracking.active, cpu) = true; in context_tracking_cpu_set()
Dpid_namespace.c402 struct pid_namespace *active = task_active_pid_ns(current); in pidns_install() local
417 if (new->level < active->level) in pidns_install()
421 while (ancestor->level > active->level) in pidns_install()
423 if (ancestor != active) in pidns_install()
433 struct pid_namespace *active = task_active_pid_ns(current); in pidns_get_parent() local
441 if (p == active) in pidns_get_parent()
Dacct.c88 int active; member
112 if (acct->active) { in check_free_space()
116 acct->active = 0; in check_free_space()
123 acct->active = 1; in check_free_space()
130 return acct->active; in check_free_space()
Dsignal.c3703 struct pid_namespace *active = task_active_pid_ns(current); in access_pidfd_pidns() local
3709 if (p == active) in access_pidfd_pidns()
Dcpu.c2732 static DEVICE_ATTR(active, 0444, show_smt_active, NULL);
/kernel/gcov/
Dgcc_4_7.c286 unsigned int active; in gcov_info_dup() local
309 active = num_counter_active(info); in gcov_info_dup()
311 fi_size += sizeof(struct gcov_ctr_info) * active; in gcov_info_dup()
323 for (ct_idx = 0; ct_idx < active; ct_idx++) { in gcov_info_dup()
352 unsigned int active; in gcov_info_free() local
360 active = num_counter_active(info); in gcov_info_free()
368 for (ct_idx = 0; ct_idx < active; ct_idx++, ci_ptr++) in gcov_info_free()
/kernel/power/
Dwakelock.c48 if (wl->ws->active == show_active) in pm_show_wakelocks()
110 bool active; in __wakelocks_gc() local
114 active = wl->ws->active; in __wakelocks_gc()
120 if (!active) { in __wakelocks_gc()
DKconfig63 It creates an image which is saved in your active swap. Upon the next
145 state automatically whenever there are no active wakeup sources.
/kernel/bpf/
Dbpf_lru_list.c147 struct list_head *active = &l->lists[BPF_LRU_LIST_T_ACTIVE]; in __bpf_lru_list_rotate_active() local
151 first_node = list_first_entry(active, struct bpf_lru_node, list); in __bpf_lru_list_rotate_active()
152 list_for_each_entry_safe_reverse(node, tmp_node, active, list) { in __bpf_lru_list_rotate_active()
/kernel/printk/
Dprintk.c3271 dumper->active = true; in kmsg_dump()
3282 dumper->active = false; in kmsg_dump()
3317 if (!dumper->active) in kmsg_dump_get_line_nolock()
3408 if (!dumper->active || !buf || !size) in kmsg_dump_get_buffer()
/kernel/debug/kdb/
Dkdb_main.c2158 struct kmsg_dumper dumper = { .active = 1 }; in kdb_dmesg()
/kernel/events/
Dcore.c5467 bool active; in __perf_event_period() local
5476 active = (event->state == PERF_EVENT_STATE_ACTIVE); in __perf_event_period()
5477 if (active) { in __perf_event_period()
5492 if (active) { in __perf_event_period()
/kernel/trace/
DKconfig214 otherwise has native performance as long as no tracing is active.