fs/overlayfs/super.c
Source file repositories/reference/linux-study-clean/fs/overlayfs/super.c
File Facts
- System
- Linux kernel
- Corpus path
fs/overlayfs/super.c- Extension
.c- Size
- 41204 bytes
- Lines
- 1623
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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
uapi/linux/magic.hlinux/fs.hlinux/namei.hlinux/xattr.hlinux/mount.hlinux/parser.hlinux/module.hlinux/statfs.hlinux/seq_file.hlinux/posix_acl_xattr.hlinux/exportfs.hlinux/file.hlinux/fs_context.hlinux/fs_parser.hoverlayfs.hparams.h
Detected Declarations
struct ovl_dir_cachefunction ovl_revalidate_realfunction ovl_dentry_revalidate_commonfunction ovl_dentry_revalidatefunction ovl_dentry_weak_revalidatefunction ovl_free_inodefunction ovl_destroy_inodefunction ovl_put_superfunction ovl_sync_fsfunction filesystemfunction ovl_check_namelenfunction ovl_lower_dirfunction ovl_workdir_okfunction ovl_setup_trapfunction ovl_report_in_usefunction ovl_get_upperfunction ovl_check_rename_whiteoutfunction ovl_create_volatile_dirtyfunction ovl_make_workdirfunction ovl_get_workdirfunction ovl_get_indexdirfunction ovl_lower_uuid_okfunction ovl_get_fsidfunction ovl_get_data_fsidfunction ovl_set_encodingfunction ovl_get_layersfunction ovl_check_layerfunction ovl_check_overlapping_layersfunction ovl_set_d_opfunction ovl_fill_super_credsfunction ovl_fill_superfunction ovl_inode_init_oncefunction ovl_initfunction ovl_exitmodule init ovl_init
Annotated Snippet
module_init(ovl_init);
module_exit(ovl_exit);
Annotation
- Immediate include surface: `uapi/linux/magic.h`, `linux/fs.h`, `linux/namei.h`, `linux/xattr.h`, `linux/mount.h`, `linux/parser.h`, `linux/module.h`, `linux/statfs.h`.
- Detected declarations: `struct ovl_dir_cache`, `function ovl_revalidate_real`, `function ovl_dentry_revalidate_common`, `function ovl_dentry_revalidate`, `function ovl_dentry_weak_revalidate`, `function ovl_free_inode`, `function ovl_destroy_inode`, `function ovl_put_super`, `function ovl_sync_fs`, `function filesystem`.
- Atlas domain: Core OS / VFS And Filesystem Core.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.