fs/hpfs/super.c
Source file repositories/reference/linux-study-clean/fs/hpfs/super.c
File Facts
- System
- Linux kernel
- Corpus path
fs/hpfs/super.c- Extension
.c- Size
- 20227 bytes
- Lines
- 790
- 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.
- Touches user memory; correctness depends on fault-safe copying and privilege boundary handling.
- 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
hpfs_fn.hlinux/module.hlinux/fs_struct.hlinux/fs_context.hlinux/fs_parser.hlinux/init.hlinux/statfs.hlinux/magic.hlinux/sched.hlinux/bitmap.hlinux/slab.hlinux/seq_file.h
Detected Declarations
struct hpfs_fc_contextfunction Patockafunction unmark_dirtyfunction hpfs_errorfunction hpfs_stop_cyclesfunction free_sbifunction lazy_free_sbifunction hpfs_put_superfunction hpfs_count_one_bitmapfunction count_bitmapsfunction hpfs_get_free_dnodesfunction hpfs_statfsfunction hpfs_ioctlfunction hpfs_free_inodefunction init_oncefunction init_inodecachefunction destroy_inodecachefunction hpfs_helpfunction hpfs_parse_paramfunction hpfs_reconfigurefunction hpfs_show_optionsfunction hpfs_fill_superfunction hpfs_get_treefunction hpfs_free_fcfunction hpfs_init_fs_contextfunction init_hpfs_fsfunction exit_hpfs_fsmodule init init_hpfs_fs
Annotated Snippet
module_init(init_hpfs_fs)
module_exit(exit_hpfs_fs)
MODULE_DESCRIPTION("OS/2 HPFS file system support");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `hpfs_fn.h`, `linux/module.h`, `linux/fs_struct.h`, `linux/fs_context.h`, `linux/fs_parser.h`, `linux/init.h`, `linux/statfs.h`, `linux/magic.h`.
- Detected declarations: `struct hpfs_fc_context`, `function Patocka`, `function unmark_dirty`, `function hpfs_error`, `function hpfs_stop_cycles`, `function free_sbi`, `function lazy_free_sbi`, `function hpfs_put_super`, `function hpfs_count_one_bitmap`, `function count_bitmaps`.
- Atlas domain: Core OS / VFS And Filesystem Core.
- Implementation status: integration implementation candidate.
- This snippet crosses the user/kernel memory boundary; validate fault handling and access checks before translating the pattern.
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.