Home
last modified time | relevance | path

Searched refs:sleep_flags (Results 1 – 4 of 4) sorted by relevance

/kernel/power/
Duser.c50 unsigned int sleep_flags; in snapshot_open() local
56 sleep_flags = lock_system_sleep(); in snapshot_open()
102 unlock_system_sleep(sleep_flags); in snapshot_open()
110 unsigned int sleep_flags; in snapshot_release() local
112 sleep_flags = lock_system_sleep(); in snapshot_release()
129 unlock_system_sleep(sleep_flags); in snapshot_release()
139 unsigned int sleep_flags; in snapshot_read() local
142 sleep_flags = lock_system_sleep(); in snapshot_read()
163 unlock_system_sleep(sleep_flags); in snapshot_read()
173 unsigned long sleep_flags; in snapshot_write() local
[all …]
Dhibernate.c96 unsigned int sleep_flags; in hibernation_set_ops() local
105 sleep_flags = lock_system_sleep(); in hibernation_set_ops()
113 unlock_system_sleep(sleep_flags); in hibernation_set_ops()
724 unsigned int sleep_flags; in hibernate() local
732 sleep_flags = lock_system_sleep(); in hibernate()
809 unlock_system_sleep(sleep_flags); in hibernate()
824 unsigned int sleep_flags; in hibernate_quiet_exec() local
827 sleep_flags = lock_system_sleep(); in hibernate_quiet_exec()
907 unlock_system_sleep(sleep_flags); in hibernate_quiet_exec()
1119 unsigned int sleep_flags; in disk_store() local
[all …]
Dsuspend.c80 unsigned int sleep_flags; in s2idle_set_ops() local
82 sleep_flags = lock_system_sleep(); in s2idle_set_ops()
84 unlock_system_sleep(sleep_flags); in s2idle_set_ops()
212 unsigned int sleep_flags; in suspend_set_ops() local
214 sleep_flags = lock_system_sleep(); in suspend_set_ops()
230 unlock_system_sleep(sleep_flags); in suspend_set_ops()
Dmain.c269 unsigned int sleep_flags; in pm_test_store() local
279 sleep_flags = lock_system_sleep(); in pm_test_store()
289 unlock_system_sleep(sleep_flags); in pm_test_store()