Home
last modified time | relevance | path

Searched refs:system_state (Results 1 – 25 of 93) sorted by relevance

1234

/Linux-v5.10/drivers/firmware/arm_scmi/
Dsystem.c28 __le32 system_state; member
83 r->system_state = le32_to_cpu(p->system_state); in scmi_system_fill_custom_report()
/Linux-v5.10/kernel/
Dasync.c117 if (initcall_debug && system_state < SYSTEM_RUNNING) { in async_run_entry_fn()
124 if (initcall_debug && system_state < SYSTEM_RUNNING) { in async_run_entry_fn()
292 if (initcall_debug && system_state < SYSTEM_RUNNING) { in async_synchronize_cookie_domain()
299 if (initcall_debug && system_state < SYSTEM_RUNNING) { in async_synchronize_cookie_domain()
Dnotifier.c250 if (unlikely(system_state == SYSTEM_BOOTING)) in blocking_notifier_chain_register()
280 if (unlikely(system_state == SYSTEM_BOOTING)) in blocking_notifier_chain_unregister()
440 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_register()
470 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_unregister()
Dreboot.c74 system_state = SYSTEM_RESTART; in kernel_restart_prepare()
262 system_state = state; in kernel_shutdown_prepare()
Dextable.c79 if (system_state < SYSTEM_RUNNING && in core_kernel_text()
/Linux-v5.10/include/linux/
Drandom.h148 WARN_ON(system_state != SYSTEM_BOOTING); in arch_get_random_seed_long_early()
156 WARN_ON(system_state != SYSTEM_BOOTING); in arch_get_random_long_early()
Ddmar.h95 system_state == SYSTEM_BOOTING; in dmar_rcu_check()
/Linux-v5.10/arch/x86/kernel/
Djump_label.c78 if (init || system_state == SYSTEM_BOOTING) { in __jump_label_transform()
107 if (system_state == SYSTEM_BOOTING) { in arch_jump_label_transform_queue()
Dstatic_call.c41 if (unlikely(system_state == SYSTEM_BOOTING)) in __static_call_transform()
Dapb_timer.c219 if (system_state == SYSTEM_RUNNING) { in apbt_cpu_dead()
/Linux-v5.10/kernel/power/
Dhibernate.c306 system_state = SYSTEM_SUSPEND; in create_image()
338 system_state = SYSTEM_RUNNING; in create_image()
471 system_state = SYSTEM_SUSPEND; in resume_target_kernel()
505 system_state = SYSTEM_RUNNING; in resume_target_kernel()
592 system_state = SYSTEM_SUSPEND; in hibernation_platform_enter()
605 system_state = SYSTEM_RUNNING; in hibernation_platform_enter()
Dautosleep.c37 system_state != SYSTEM_RUNNING) { in try_to_suspend()
Dsuspend.c430 system_state = SYSTEM_SUSPEND; in suspend_enter()
447 system_state = SYSTEM_RUNNING; in suspend_enter()
/Linux-v5.10/lib/
Dsmp_processor_id.c32 if (system_state < SYSTEM_SCHEDULING) in check_preemption_disabled()
/Linux-v5.10/arch/arm64/include/asm/
Darchrandom.h73 WARN_ON(system_state != SYSTEM_BOOTING); in arch_get_random_seed_long_early()
/Linux-v5.10/arch/powerpc/platforms/powermac/
Dnvram.c199 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL; in pmu_nvram_read_byte()
203 if (system_state == SYSTEM_RUNNING) in pmu_nvram_read_byte()
215 req.arg = system_state == SYSTEM_RUNNING ? &req_complete : NULL; in pmu_nvram_write_byte()
219 if (system_state == SYSTEM_RUNNING) in pmu_nvram_write_byte()
/Linux-v5.10/drivers/clk/at91/
Dsckc.c79 if (system_state < SYSTEM_RUNNING) in clk_slow_osc_prepare()
193 if (system_state < SYSTEM_RUNNING) in clk_slow_rc_osc_prepare()
297 if (system_state < SYSTEM_RUNNING) in clk_sam9x5_slow_set_parent()
545 if (system_state < SYSTEM_RUNNING) in clk_sama5d4_slow_osc_prepare()
/Linux-v5.10/drivers/i2c/
Di2c-core.h32 return system_state > SYSTEM_RUNNING && irqs_disabled(); in i2c_in_atomic_xfer_mode()
/Linux-v5.10/kernel/time/
Dtick-common.c534 system_state = SYSTEM_SUSPEND; in tick_freeze()
560 system_state = SYSTEM_RUNNING; in tick_unfreeze()
/Linux-v5.10/arch/x86/include/asm/fpu/
Dinternal.h282 WARN_ON(system_state != SYSTEM_BOOTING); in copy_xregs_to_kernel_booting()
304 WARN_ON(system_state != SYSTEM_BOOTING); in copy_kernel_to_xregs_booting()
/Linux-v5.10/drivers/ide/
Dide-gd.c133 if (system_state != SYSTEM_POWER_OFF) {
135 if (system_state == SYSTEM_RESTART &&
/Linux-v5.10/init/
Dmain.c127 enum system_states system_state __read_mostly;
128 EXPORT_SYMBOL(system_state);
711 system_state = SYSTEM_SCHEDULING; in rest_init()
1429 system_state = SYSTEM_RUNNING; in kernel_init()
/Linux-v5.10/arch/riscv/kernel/
Dsmp.c230 if (system_state <= SYSTEM_RUNNING) in smp_send_stop()
/Linux-v5.10/drivers/cpufreq/
Dpasemi-cpufreq.c214 if (system_state >= SYSTEM_RUNNING) in pas_cpufreq_cpu_exit()
/Linux-v5.10/drivers/xen/
Dmanage.c189 switch (system_state) { in do_poweroff()

1234