Home
last modified time | relevance | path

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

12345

/linux-6.15/drivers/firmware/arm_scmi/
H A Dscmi_power_control.c184 if (system_state > SYSTEM_RUNNING) in scmi_forceful_work_func()
286 if (er->system_state >= SCMI_SYSTEM_MAX || in scmi_userspace_notifier()
287 er->system_state == SCMI_SYSTEM_POWERUP) { in scmi_userspace_notifier()
289 er->system_state); in scmi_userspace_notifier()
302 if (system_state > SYSTEM_RUNNING) in scmi_userspace_notifier()
314 sc->required_transition = er->system_state; in scmi_userspace_notifier()
H A Dsystem.c32 __le32 system_state; member
106 r->system_state = le32_to_cpu(p->system_state); in scmi_system_fill_custom_report()
108 r->system_state == SCMI_SYSTEM_SHUTDOWN && in scmi_system_fill_custom_report()
/linux-6.15/kernel/
H A Dnotifier.c260 if (unlikely(system_state == SYSTEM_BOOTING)) in __blocking_notifier_chain_register()
323 if (unlikely(system_state == SYSTEM_BOOTING)) in blocking_notifier_chain_unregister()
482 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_register()
512 if (unlikely(system_state == SYSTEM_BOOTING)) in srcu_notifier_chain_unregister()
H A Dextable.c71 if (system_state < SYSTEM_FREEING_INITMEM && in core_kernel_text()
H A Dreboot.c95 system_state = SYSTEM_RESTART; in emergency_restart()
103 system_state = SYSTEM_RESTART; in kernel_restart_prepare()
306 system_state = state; in kernel_shutdown_prepare()
372 if (system_state > SYSTEM_RUNNING) in alloc_sys_off_handler()
H A Dstatic_call_inline.c163 bool init = system_state < SYSTEM_RUNNING; in __static_call_update()
485 bool init = system_state < SYSTEM_RUNNING; in static_call_text_reserved()
/linux-6.15/arch/x86/kernel/
H A Djump_label.c100 if (init || system_state == SYSTEM_BOOTING) { in __jump_label_transform()
128 if (system_state == SYSTEM_BOOTING) { in arch_jump_label_transform_queue()
H A Dstatic_call.c108 if (system_state == SYSTEM_BOOTING || modinit) in __static_call_transform()
177 BUG_ON(system_state != SYSTEM_BOOTING); in __static_call_update_early()
/linux-6.15/kernel/power/
H A Dhibernate.c323 system_state = SYSTEM_SUSPEND; in create_image()
355 system_state = SYSTEM_RUNNING; in create_image()
490 system_state = SYSTEM_SUSPEND; in resume_target_kernel()
524 system_state = SYSTEM_RUNNING; in resume_target_kernel()
611 system_state = SYSTEM_SUSPEND; in hibernation_platform_enter()
629 system_state = SYSTEM_RUNNING; in hibernation_platform_enter()
H A Dautosleep.c36 system_state != SYSTEM_RUNNING) { in try_to_suspend()
H A Dsuspend.c450 system_state = SYSTEM_SUSPEND; in suspend_enter()
467 system_state = SYSTEM_RUNNING; in suspend_enter()
/linux-6.15/arch/powerpc/platforms/powermac/
H A 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-6.15/lib/
H A Dsmp_processor_id.c33 if (system_state < SYSTEM_SCHEDULING) in check_preemption_disabled()
H A Ddhry_run.c70 if (dhry_run && system_state == SYSTEM_RUNNING) in dhry_run_set()
/linux-6.15/drivers/clk/at91/
H A Dsckc.c81 if (system_state < SYSTEM_RUNNING) in clk_slow_osc_prepare()
195 if (system_state < SYSTEM_RUNNING) in clk_slow_rc_osc_prepare()
299 if (system_state < SYSTEM_RUNNING) in clk_sam9x5_slow_set_parent()
561 if (system_state < SYSTEM_RUNNING) in clk_sama5d4_slow_osc_prepare()
/linux-6.15/init/
H A Dmain.c128 enum system_states system_state __read_mostly;
129 EXPORT_SYMBOL(system_state);
733 system_state = SYSTEM_SCHEDULING; in rest_init()
1461 system_state = SYSTEM_FREEING_INITMEM; in kernel_init()
1475 system_state = SYSTEM_RUNNING; in kernel_init()
/linux-6.15/kernel/time/
H A Dtick-common.c544 system_state = SYSTEM_SUSPEND; in tick_freeze()
579 system_state = SYSTEM_RUNNING; in tick_unfreeze()
/linux-6.15/drivers/i2c/
H A Di2c-core.h33 return system_state > SYSTEM_RUNNING && in i2c_in_atomic_xfer_mode()
/linux-6.15/arch/s390/kernel/
H A Dctlreg.c74 if (system_state == SYSTEM_BOOTING) { in system_ctlreg_update()
/linux-6.15/drivers/tee/optee/
H A DKconfig19 the filesystem which is determined by checking the system_state until
/linux-6.15/drivers/platform/x86/amd/pmf/
H A Dpmf.h609 enum system_state { enum
671 enum system_state system_state; member
/linux-6.15/drivers/cpufreq/
H A Dpasemi-cpufreq.c213 if (system_state >= SYSTEM_RUNNING) in pas_cpufreq_cpu_exit()
/linux-6.15/include/linux/
H A Dkernel.h192 } system_state;
/linux-6.15/arch/powerpc/kernel/
H A Dsmp.c153 if (system_state < SYSTEM_RUNNING && cpu_has_feature(CPU_FTR_SMT)) { in smp_generic_cpu_bootable()
1274 const bool booting = system_state < SYSTEM_RUNNING; in __cpu_up()
1332 if (!cpu_callin_map[cpu] && system_state >= SYSTEM_RUNNING) { in __cpu_up()
1647 if (system_state == SYSTEM_RUNNING) in start_secondary()
/linux-6.15/arch/riscv/kernel/
H A Dpatch.c32 return system_state < SYSTEM_RUNNING && in is_kernel_exittext()

12345