include/linux/syscore_ops.h
Source file repositories/reference/linux-study-clean/include/linux/syscore_ops.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/syscore_ops.h- Extension
.h- Size
- 709 bytes
- Lines
- 34
- 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/list.h
Detected Declarations
struct syscore_opsstruct syscore
Annotated Snippet
struct syscore_ops {
int (*suspend)(void *data);
void (*resume)(void *data);
void (*shutdown)(void *data);
};
struct syscore {
struct list_head node;
const struct syscore_ops *ops;
void *data;
};
extern void register_syscore(struct syscore *syscore);
extern void unregister_syscore(struct syscore *syscore);
#ifdef CONFIG_PM_SLEEP
extern int syscore_suspend(void);
extern void syscore_resume(void);
#endif
extern void syscore_shutdown(void);
#endif
Annotation
- Immediate include surface: `linux/list.h`.
- Detected declarations: `struct syscore_ops`, `struct syscore`.
- 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.