fs/affs/super.c
Source file repositories/reference/linux-study-clean/fs/affs/super.c
File Facts
- System
- Linux kernel
- Corpus path
fs/affs/super.c- Extension
.c- Size
- 17643 bytes
- Lines
- 686
- 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
linux/module.hlinux/init.hlinux/statfs.hlinux/fs_parser.hlinux/fs_context.hlinux/magic.hlinux/sched.hlinux/cred.hlinux/slab.hlinux/writeback.hlinux/blkdev.hlinux/seq_file.hlinux/iversion.haffs.h
Detected Declarations
struct affs_contextfunction affs_commit_superfunction affs_put_superfunction affs_sync_fsfunction flush_superblockfunction affs_mark_sb_dirtyfunction affs_free_inodefunction init_oncefunction init_inodecachefunction destroy_inodecachefunction affs_parse_paramfunction affs_show_optionsfunction affs_fill_superfunction affs_reconfigurefunction affs_statfsfunction affs_get_treefunction affs_kill_sbfunction affs_free_fcfunction affs_init_fs_contextfunction init_affs_fsfunction exit_affs_fsmodule init init_affs_fs
Annotated Snippet
module_init(init_affs_fs)
module_exit(exit_affs_fs)
Annotation
- Immediate include surface: `linux/module.h`, `linux/init.h`, `linux/statfs.h`, `linux/fs_parser.h`, `linux/fs_context.h`, `linux/magic.h`, `linux/sched.h`, `linux/cred.h`.
- Detected declarations: `struct affs_context`, `function affs_commit_super`, `function affs_put_super`, `function affs_sync_fs`, `function flush_superblock`, `function affs_mark_sb_dirty`, `function affs_free_inode`, `function init_once`, `function init_inodecache`, `function destroy_inodecache`.
- 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.