Home
last modified time | relevance | path

Searched refs:enabled (Results 1 – 25 of 40) sorted by relevance

12

/kernel/
Djump_label.c110 int n = atomic_read(&key->enabled); in static_key_count()
135 for (v = atomic_read(&key->enabled); v > 0; v = v1) { in static_key_slow_inc_cpuslocked()
136 v1 = atomic_cmpxchg(&key->enabled, v, v + 1); in static_key_slow_inc_cpuslocked()
142 if (atomic_read(&key->enabled) == 0) { in static_key_slow_inc_cpuslocked()
143 atomic_set(&key->enabled, -1); in static_key_slow_inc_cpuslocked()
149 atomic_set_release(&key->enabled, 1); in static_key_slow_inc_cpuslocked()
151 atomic_inc(&key->enabled); in static_key_slow_inc_cpuslocked()
169 if (atomic_read(&key->enabled) > 0) { in static_key_enable_cpuslocked()
170 WARN_ON_ONCE(atomic_read(&key->enabled) != 1); in static_key_enable_cpuslocked()
175 if (atomic_read(&key->enabled) == 0) { in static_key_enable_cpuslocked()
[all …]
Dstop_machine.c41 bool enabled; /* is this stopper enabled? */ member
98 bool enabled; in cpu_stop_queue_work() local
102 enabled = stopper->enabled; in cpu_stop_queue_work()
103 if (enabled) in cpu_stop_queue_work()
112 return enabled; in cpu_stop_queue_work()
282 if (!stopper1->enabled || !stopper2->enabled) { in cpu_stop_queue_two_works()
536 stopper->enabled = false; in stop_machine_park()
556 stopper->enabled = true; in stop_machine_unpark()
Ddelayacct.c23 static void set_delayacct(bool enabled) in set_delayacct() argument
25 if (enabled) { in set_delayacct()
288 void set_delayacct_enabled(bool enabled) in set_delayacct_enabled() argument
290 delayacct_enabled = enabled; in set_delayacct_enabled()
DKconfig.preempt111 The runtime overhead is negligible with HAVE_STATIC_CALL_INLINE enabled
123 selection across SMT siblings. When enabled -- see
132 SCHED_CORE is default disabled. When it is enabled and unused,
Daudit.c1240 s.enabled = audit_enabled; in audit_receive_msg()
1261 err = audit_set_enabled(s.enabled); in audit_receive_msg()
1503 s.enabled = t & AUDIT_TTY_ENABLE; in audit_receive_msg()
1518 if ((s.enabled != 0 && s.enabled != 1) || in audit_receive_msg()
1525 t = s.enabled | (-s.log_passwd & AUDIT_TTY_LOG_PASSWD); in audit_receive_msg()
1528 old.enabled = t & AUDIT_TTY_ENABLE; in audit_receive_msg()
1535 old.enabled, s.enabled, old.log_passwd, in audit_receive_msg()
/kernel/trace/rv/
Drv.c218 buff = mdef->monitor->enabled ? "1\n" : "0\n"; in monitor_enable_read_data()
230 if (mdef->monitor->enabled) { in __rv_disable_monitor()
231 mdef->monitor->enabled = 0; in __rv_disable_monitor()
268 if (mdef->monitor->enabled) in rv_enable_monitor()
274 mdef->monitor->enabled = 1; in rv_enable_monitor()
419 if (m_def->monitor->enabled) in enabled_monitors_next()
485 int enabled = 0; in disable_all_monitors() local
490 enabled += __rv_disable_monitor(mdef, false); in disable_all_monitors()
492 if (enabled) { in disable_all_monitors()
618 if (mdef->monitor->enabled) in reset_all_monitors()
/kernel/irq/
Dirq_sim.c23 bool enabled; member
31 irq_ctx->enabled = false; in irq_sim_irqmask()
38 irq_ctx->enabled = true; in irq_sim_irqunmask()
60 if (irq_ctx->enabled) in irq_sim_get_irqchip_state()
78 if (irq_ctx->enabled) { in irq_sim_set_irqchip_state()
/kernel/livepatch/
Dcore.c338 bool enabled; in enabled_store() local
340 ret = kstrtobool(buf, &enabled); in enabled_store()
348 if (patch->enabled == enabled) { in enabled_store()
363 else if (!enabled) in enabled_store()
382 return snprintf(buf, PAGE_SIZE-1, "%d\n", patch->enabled); in enabled_show()
424 static struct kobj_attribute enabled_kobj_attr = __ATTR_RW(enabled);
891 patch->enabled = false; in klp_init_patch_early()
935 if (WARN_ON(!patch->enabled)) in __klp_disable_patch()
957 patch->enabled = false; in __klp_disable_patch()
971 if (WARN_ON(patch->enabled)) in __klp_enable_patch()
[all …]
Dtransition.c452 if (!patch->enabled) in klp_try_complete_transition()
587 klp_transition_patch->enabled = !klp_transition_patch->enabled; in klp_reverse_transition()
/kernel/sched/
Dautogroup.h34 int enabled = READ_ONCE(sysctl_sched_autogroup_enabled); in autogroup_task_group() local
36 if (enabled && task_wants_autogroup(p, tg)) in autogroup_task_group()
Dpsi.c184 group->enabled = true; in group_init()
791 if (!group->enabled) { in psi_group_change()
972 if (!group->enabled) in psi_account_irqtime()
1170 if (!group->enabled) in psi_cgroup_restart()
Ddebug.c47 #define SCHED_FEAT(name, enabled) \ argument
76 #define SCHED_FEAT(name, enabled) \ argument
77 jump_label_key__##enabled ,
/kernel/trace/rv/monitors/wwnr/
Dwwnr.c54 rv_wwnr.enabled = 0; in disable_wwnr()
68 .enabled = 0,
/kernel/trace/rv/monitors/wip/
Dwip.c54 rv_wip.enabled = 0; in disable_wip()
69 .enabled = 0,
/kernel/trace/
DKconfig126 Adds a very slight overhead to tracing when enabled.
138 # enabled by all tracers (context switch and event tracer) they select TRACING.
201 tracing is enabled by the administrator. If it's runtime disabled
231 image. When this is enabled, functions can be individually
232 enabled, and the functions not enabled will not affect
306 The stack tracer can also be enabled or disabled via the
315 and last enabled.
338 enabled. This option and the preempt-off timing option can be
362 enabled. This option and the irqs-off timing option can be
380 This tracer, when enabled will create one or more kernel threads,
[all …]
Dtrace_eprobe.c744 bool enabled; in enable_trace_eprobe() local
751 enabled = trace_probe_is_enabled(tp); in enable_trace_eprobe()
761 if (enabled) in enable_trace_eprobe()
769 enabled = true; in enable_trace_eprobe()
775 if (enabled) { in enable_trace_eprobe()
Dtrace_printk.c190 void trace_printk_control(bool enabled) in trace_printk_control() argument
192 trace_printk_enabled = enabled; in trace_printk_control()
Dtrace_kprobe.c354 bool enabled; in enable_trace_kprobe() local
360 enabled = trace_probe_is_enabled(tp); in enable_trace_kprobe()
370 if (enabled) in enable_trace_kprobe()
379 enabled = true; in enable_trace_kprobe()
384 if (enabled) in enable_trace_kprobe()
Dtrace.c3350 static void trace_printk_start_stop_comm(int enabled) in trace_printk_start_stop_comm() argument
3355 if (enabled) in trace_printk_start_stop_comm()
5348 if (tracer->enabled && (mask & TRACE_ITER_OVERWRITE) && !set) in trace_keep_overwrite()
5354 int set_tracer_flag(struct trace_array *tr, unsigned int mask, int enabled) in set_tracer_flag() argument
5363 if (!!(tr->trace_flags & mask) == !!enabled) in set_tracer_flag()
5368 if (tr->current_trace->flag_changed(tr, mask, !!enabled)) in set_tracer_flag()
5371 if (enabled) in set_tracer_flag()
5377 trace_event_enable_cmd_record(enabled); in set_tracer_flag()
5398 trace_event_enable_tgid_record(enabled); in set_tracer_flag()
5402 trace_event_follow_fork(tr, enabled); in set_tracer_flag()
[all …]
/kernel/power/
Dsuspend_test.c88 alm.enabled = true; in test_wakealarm()
124 alm.enabled = false; in test_wakealarm()
/kernel/bpf/
DKconfig19 # Used by archs to tell that they want the BPF JIT compiler enabled by
63 When CONFIG_BPF_JIT_ALWAYS_ON is enabled, /proc/sys/net/core/bpf_jit_enable
/kernel/bpf/preload/
DKconfig10 # The dependency on !COMPILE_TEST prevents it from being enabled
/kernel/events/
Dcore.c629 __perf_update_times(struct perf_event *event, u64 now, u64 *enabled, u64 *running) in __perf_update_times() argument
634 *enabled = event->total_time_enabled; in __perf_update_times()
636 *enabled += delta; in __perf_update_times()
4296 int enabled = 0; in perf_event_enable_on_exec() local
4307 enabled |= event_enable_on_exec(event, ctx); in perf_event_enable_on_exec()
4314 if (enabled) { in perf_event_enable_on_exec()
4469 u64 *enabled, in calc_timer_values() argument
4476 __perf_update_times(event, ctx_time, enabled, running); in calc_timer_values()
4488 u64 *enabled, u64 *running) in perf_event_read_local() argument
4537 if (enabled || running) { in perf_event_read_local()
[all …]
/kernel/cgroup/
Dcgroup-v1.c1022 u16 enabled = 0; in check_cgroupfs_options() local
1031 enabled |= 1 << i; in check_cgroupfs_options()
1033 ctx->subsys_mask &= enabled; in check_cgroupfs_options()
1047 ctx->subsys_mask = enabled; in check_cgroupfs_options()
/kernel/dma/
DKconfig154 default, but it can be enabled by passing cma=size[MG] to the kernel.
166 enabled by passing cma=size[MG] to the kernel.

12