fs/xfs/xfs_super.c
Source file repositories/reference/linux-study-clean/fs/xfs/xfs_super.c
File Facts
- System
- Linux kernel
- Corpus path
fs/xfs/xfs_super.c- Extension
.c- Size
- 71020 bytes
- Lines
- 2721
- 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
xfs_platform.hxfs_shared.hxfs_format.hxfs_log_format.hxfs_trans_resv.hxfs_sb.hxfs_mount.hxfs_inode.hxfs_btree.hxfs_bmap.hxfs_alloc.hxfs_fsops.hxfs_trans.hxfs_buf_item.hxfs_log.hxfs_log_priv.hxfs_dir2.hxfs_extfree_item.hxfs_mru_cache.hxfs_inode_item.hxfs_icache.hxfs_trace.hxfs_icreate_item.hxfs_filestream.hxfs_quota.hxfs_sysfs.hxfs_ondisk.hxfs_rmap_item.hxfs_refcount_item.hxfs_bmap_item.hxfs_reflink.hxfs_pwork.h
Detected Declarations
struct proc_xfs_infoenum xfs_dax_modefunction xfs_mount_set_dax_modefunction xfs_fs_show_optionsfunction xfs_set_inode_alloc_peragfunction xfs_set_inode_allocfunction xfs_setup_dax_alwaysfunction xfs_blkdev_getfunction xfs_shutdown_devicesfunction get_sb_bdevfunction xfs_setup_devicesfunction xfs_init_mount_workqueuesfunction xfs_destroy_mount_workqueuesfunction xfs_flush_inodes_workerfunction xfs_flush_inodesfunction xfs_fs_alloc_inodefunction xfs_fs_destroy_inodefunction xfs_fs_inode_init_oncefunction xfs_iget_cache_hitfunction xfs_fs_evict_inodefunction xfs_mount_freefunction xfs_fs_sync_fsfunction xfs_internal_log_sizefunction xfs_statfs_datafunction statfunction xfs_statfs_inodesfunction xfs_fs_statfsfunction xfs_save_resvblksfunction xfs_restore_resvblksfunction xfs_fs_freezefunction xfs_fs_sync_fsfunction xfs_fs_unfreezefunction xfs_finish_flagsfunction xfs_init_percpu_countersfunction xfs_reinit_percpu_countersfunction xfs_destroy_percpu_countersfunction xfs_inodegc_init_percpufunction for_each_possible_cpufunction xfs_inodegc_free_percpufunction xfs_fs_put_superfunction xfs_fs_nr_cached_objectsfunction xfs_fs_free_cached_objectsfunction xfs_fs_shutdownfunction xfs_fs_show_statsfunction xfs_fs_report_errorfunction suffix_kstrtointfunction suffix_kstrtoullfunction xfs_fs_warn_deprecated
Annotated Snippet
module_init(init_xfs_fs);
module_exit(exit_xfs_fs);
MODULE_AUTHOR("Silicon Graphics, Inc.");
MODULE_DESCRIPTION(XFS_VERSION_STRING " with " XFS_BUILD_OPTIONS " enabled");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `xfs_platform.h`, `xfs_shared.h`, `xfs_format.h`, `xfs_log_format.h`, `xfs_trans_resv.h`, `xfs_sb.h`, `xfs_mount.h`, `xfs_inode.h`.
- Detected declarations: `struct proc_xfs_info`, `enum xfs_dax_mode`, `function xfs_mount_set_dax_mode`, `function xfs_fs_show_options`, `function xfs_set_inode_alloc_perag`, `function xfs_set_inode_alloc`, `function xfs_setup_dax_always`, `function xfs_blkdev_get`, `function xfs_shutdown_devices`, `function get_sb_bdev`.
- 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.