fs/erofs/super.c
Source file repositories/reference/linux-study-clean/fs/erofs/super.c
File Facts
- System
- Linux kernel
- Corpus path
fs/erofs/super.c- Extension
.c- Size
- 30242 bytes
- Lines
- 1139
- Domain
- Core OS
- Bucket
- VFS And Filesystem Core
- 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/statfs.hlinux/seq_file.hlinux/crc32c.hlinux/fs_context.hlinux/fs_parser.hlinux/exportfs.hlinux/backing-dev.hlinux/pseudo_fs.hxattr.htrace/events/erofs.h
Detected Declarations
function _erofs_printkfunction erofs_superblock_csum_verifyfunction erofs_inode_init_oncefunction erofs_free_inodefunction erofs_init_devicefunction erofs_scan_devicesfunction idr_for_each_entryfunction erofs_read_superblockfunction erofs_sb_has_lz4_0paddingfunction erofs_default_optionsfunction erofs_fc_set_dax_modefunction erofs_fc_parse_paramfunction erofs_encode_fhfunction erofs_set_sysfs_namefunction erofs_fc_fill_superfunction contextsfunction erofs_fc_get_treefunction erofs_fc_reconfigurefunction erofs_release_device_infofunction erofs_free_dev_contextfunction erofs_sb_freefunction erofs_fc_freefunction erofs_init_fs_contextfunction erofs_drop_internal_inodesfunction erofs_kill_sbfunction erofs_put_superfunction erofs_free_anon_inodefunction erofs_anon_init_fs_contextfunction erofs_module_initfunction erofs_module_exitfunction erofs_statfsfunction erofs_show_optionsfunction erofs_evict_inodemodule init erofs_module_init
Annotated Snippet
module_init(erofs_module_init);
module_exit(erofs_module_exit);
MODULE_DESCRIPTION("Enhanced ROM File System");
MODULE_AUTHOR("Gao Xiang, Chao Yu, Miao Xie, CONSUMER BG, HUAWEI Inc.");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/statfs.h`, `linux/seq_file.h`, `linux/crc32c.h`, `linux/fs_context.h`, `linux/fs_parser.h`, `linux/exportfs.h`, `linux/backing-dev.h`, `linux/pseudo_fs.h`.
- Detected declarations: `function _erofs_printk`, `function erofs_superblock_csum_verify`, `function erofs_inode_init_once`, `function erofs_free_inode`, `function erofs_init_device`, `function erofs_scan_devices`, `function idr_for_each_entry`, `function erofs_read_superblock`, `function erofs_sb_has_lz4_0padding`, `function erofs_default_options`.
- Atlas domain: Core OS / VFS And Filesystem Core.
- 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.