include/linux/freezer.h
Source file repositories/reference/linux-study-clean/include/linux/freezer.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/freezer.h- Extension
.h- Size
- 2767 bytes
- Lines
- 97
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/debug_locks.hlinux/sched.hlinux/wait.hlinux/atomic.hlinux/jump_label.h
Detected Declarations
function freezingfunction try_to_freezefunction cgroup1_freezingfunction frozenfunction freezingfunction __thaw_taskfunction freeze_processesfunction freeze_kernel_threadsfunction thaw_processesfunction set_freezable
Annotated Snippet
static inline bool frozen(struct task_struct *p) { return false; }
static inline bool freezing(struct task_struct *p) { return false; }
static inline void __thaw_task(struct task_struct *t) {}
static inline bool __refrigerator(bool check_kthr_stop) { return false; }
static inline int freeze_processes(void) { return -ENOSYS; }
static inline int freeze_kernel_threads(void) { return -ENOSYS; }
static inline void thaw_processes(void) {}
static inline void thaw_kernel_threads(void) {}
static inline void thaw_process(struct task_struct *p) {}
static inline bool try_to_freeze(void) { return false; }
static inline void set_freezable(void) {}
#endif /* !CONFIG_FREEZER */
#endif /* FREEZER_H_INCLUDED */
Annotation
- Immediate include surface: `linux/debug_locks.h`, `linux/sched.h`, `linux/wait.h`, `linux/atomic.h`, `linux/jump_label.h`.
- Detected declarations: `function freezing`, `function try_to_freeze`, `function cgroup1_freezing`, `function frozen`, `function freezing`, `function __thaw_task`, `function freeze_processes`, `function freeze_kernel_threads`, `function thaw_processes`, `function set_freezable`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.