kernel/crash_dump_dm_crypt.c
Source file repositories/reference/linux-study-clean/kernel/crash_dump_dm_crypt.c
File Facts
- System
- Linux kernel
- Corpus path
kernel/crash_dump_dm_crypt.c- Extension
.c- Size
- 11040 bytes
- Lines
- 478
- Domain
- Core OS
- Bucket
- Scheduler, Processes, Timers, Sync, And Syscalls
- Inferred role
- Core OS: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/key.hlinux/keyctl.hkeys/user-type.hlinux/crash_dump.hlinux/cc_platform.hlinux/configfs.hlinux/module.hlinux/sysfs.h
Detected Declarations
struct dm_crypt_keystruct config_keyfunction get_keys_header_sizefunction setup_dmcryptkeysfunction dm_crypt_keys_readfunction add_key_to_keyringfunction get_keys_from_kdump_reserved_memoryfunction restore_dm_crypt_keys_to_thread_keyringfunction read_key_from_user_keyringfunction config_key_description_showfunction config_key_description_storefunction config_key_releasefunction config_keys_count_showfunction config_keys_reuse_showfunction config_keys_reuse_storefunction config_keys_restore_showfunction config_keys_restore_storefunction build_keys_headerfunction crash_load_dm_crypt_keysfunction configfs_dmcrypt_keys_initmodule init configfs_dmcrypt_keys_initexport dm_crypt_keys_addr
Annotated Snippet
module_init(configfs_dmcrypt_keys_init);
Annotation
- Immediate include surface: `linux/key.h`, `linux/keyctl.h`, `keys/user-type.h`, `linux/crash_dump.h`, `linux/cc_platform.h`, `linux/configfs.h`, `linux/module.h`, `linux/sysfs.h`.
- Detected declarations: `struct dm_crypt_key`, `struct config_key`, `function get_keys_header_size`, `function setup_dmcryptkeys`, `function dm_crypt_keys_read`, `function add_key_to_keyring`, `function get_keys_from_kdump_reserved_memory`, `function restore_dm_crypt_keys_to_thread_keyring`, `function read_key_from_user_keyring`, `function config_key_description_show`.
- Atlas domain: Core OS / Scheduler, Processes, Timers, Sync, And Syscalls.
- Implementation status: integration 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.