/kernel/ |
D | jump_label.c | 110 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 …]
|
D | stop_machine.c | 41 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()
|
D | delayacct.c | 23 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()
|
D | Kconfig.preempt | 111 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,
|
D | audit.c | 1240 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/ |
D | rv.c | 218 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/ |
D | irq_sim.c | 23 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/ |
D | core.c | 338 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 …]
|
D | transition.c | 452 if (!patch->enabled) in klp_try_complete_transition() 587 klp_transition_patch->enabled = !klp_transition_patch->enabled; in klp_reverse_transition()
|
/kernel/sched/ |
D | autogroup.h | 34 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()
|
D | psi.c | 184 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()
|
D | debug.c | 47 #define SCHED_FEAT(name, enabled) \ argument 76 #define SCHED_FEAT(name, enabled) \ argument 77 jump_label_key__##enabled ,
|
/kernel/trace/rv/monitors/wwnr/ |
D | wwnr.c | 54 rv_wwnr.enabled = 0; in disable_wwnr() 68 .enabled = 0,
|
/kernel/trace/rv/monitors/wip/ |
D | wip.c | 54 rv_wip.enabled = 0; in disable_wip() 69 .enabled = 0,
|
/kernel/trace/ |
D | Kconfig | 126 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 …]
|
D | trace_eprobe.c | 744 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()
|
D | trace_printk.c | 190 void trace_printk_control(bool enabled) in trace_printk_control() argument 192 trace_printk_enabled = enabled; in trace_printk_control()
|
D | trace_kprobe.c | 354 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()
|
D | trace.c | 3350 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/ |
D | suspend_test.c | 88 alm.enabled = true; in test_wakealarm() 124 alm.enabled = false; in test_wakealarm()
|
/kernel/bpf/ |
D | Kconfig | 19 # 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/ |
D | Kconfig | 10 # The dependency on !COMPILE_TEST prevents it from being enabled
|
/kernel/events/ |
D | core.c | 629 __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/ |
D | cgroup-v1.c | 1022 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/ |
D | Kconfig | 154 default, but it can be enabled by passing cma=size[MG] to the kernel. 166 enabled by passing cma=size[MG] to the kernel.
|