fs/squashfs/super.c
Source file repositories/reference/linux-study-clean/fs/squashfs/super.c
File Facts
- System
- Linux kernel
- Corpus path
fs/squashfs/super.c- Extension
.c- Size
- 18621 bytes
- Lines
- 707
- 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/blkdev.hlinux/fs.hlinux/fs_context.hlinux/fs_parser.hlinux/vfs.hlinux/slab.hlinux/mutex.hlinux/seq_file.hlinux/pagemap.hlinux/init.hlinux/module.hlinux/magic.hlinux/xattr.hsquashfs_fs.hsquashfs_fs_sb.hsquashfs_fs_i.hsquashfs.hdecompressor.hxattr.h
Detected Declarations
struct squashfs_mount_optsenum Opt_errorsenum squashfs_paramfunction squashfs_parse_param_threads_strfunction squashfs_parse_param_threads_numfunction squashfs_parse_param_threadsfunction squashfs_parse_paramfunction squashfs_fill_superfunction sizefunction squashfs_get_treefunction squashfs_reconfigurefunction squashfs_free_fs_contextfunction squashfs_show_optionsfunction squashfs_init_fs_contextfunction squashfs_statfsfunction squashfs_put_superfunction init_oncefunction init_inodecachefunction destroy_inodecachefunction init_squashfs_fsfunction exit_squashfs_fsfunction squashfs_free_inodemodule init init_squashfs_fs
Annotated Snippet
module_init(init_squashfs_fs);
module_exit(exit_squashfs_fs);
MODULE_DESCRIPTION("squashfs 4.0, a compressed read-only filesystem");
MODULE_AUTHOR("Phillip Lougher <phillip@squashfs.org.uk>");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/blkdev.h`, `linux/fs.h`, `linux/fs_context.h`, `linux/fs_parser.h`, `linux/vfs.h`, `linux/slab.h`, `linux/mutex.h`, `linux/seq_file.h`.
- Detected declarations: `struct squashfs_mount_opts`, `enum Opt_errors`, `enum squashfs_param`, `function squashfs_parse_param_threads_str`, `function squashfs_parse_param_threads_num`, `function squashfs_parse_param_threads`, `function squashfs_parse_param`, `function squashfs_fill_super`, `function size`, `function squashfs_get_tree`.
- 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.