fs/nfs/inode.c
Source file repositories/reference/linux-study-clean/fs/nfs/inode.c
File Facts
- System
- Linux kernel
- Corpus path
fs/nfs/inode.c- Extension
.c- Size
- 80074 bytes
- Lines
- 2820
- 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/sched/signal.hlinux/time.hlinux/kernel.hlinux/mm.hlinux/string.hlinux/stat.hlinux/errno.hlinux/unistd.hlinux/sunrpc/clnt.hlinux/sunrpc/stats.hlinux/sunrpc/metrics.hlinux/nfs_fs.hlinux/nfs_mount.hlinux/nfs4_mount.hlinux/lockd/bind.hlinux/seq_file.hlinux/mount.hlinux/vfs.hlinux/inet.hlinux/nfs_xdr.hlinux/slab.hlinux/compat.hlinux/freezer.hlinux/uaccess.hlinux/iversion.hlinux/fileattr.hnfs4_fs.hcallback.hdelegation.hiostat.h
Detected Declarations
struct nfs_find_descfunction nfs_fattr_to_ino_tfunction nfs_wait_bit_killablefunction nfs_compat_user_ino64function nfs_drop_inodefunction nfs_clear_inodefunction nfs_evict_inodefunction nfs_sync_inodefunction nfs_sync_mappingfunction nfs_attribute_timeoutfunction nfs_check_cache_flags_invalidfunction nfs_check_cache_invalidfunction nfs_has_xattr_cachefunction nfs_has_xattr_cachefunction nfs_set_cache_invalidfunction nfs_zap_caches_lockedfunction nfs_zap_cachesfunction nfs_zap_mappingfunction nfs_zap_acl_cachefunction nfs_invalidate_atimefunction nfs_set_inode_stale_lockedfunction nfs_set_inode_stalefunction nfs_find_actorfunction nfs_init_lockedfunction nfs_clear_label_invalidfunction nfs_setsecurityfunction nfs_setsecurityfunction nfs_ilookupfunction nfs_inode_init_regularfunction nfs_inode_init_dirfunction nfs_fhgetfunction nfs_fattr_fixup_delegatedfunction nfs_set_timestamps_to_tsfunction nfs_update_atimefunction nfs_update_mtimefunction nfs_update_delegated_atimefunction nfs_update_delegated_mtime_lockedfunction nfs_update_delegated_mtimefunction nfs_setattrfunction nfs_vmtruncatefunction nfs_setattr_update_inodefunction nfs_getattr_readdirplus_enablefunction nfs_readdirplus_parent_cache_missfunction nfs_readdirplus_parent_cache_hitfunction nfs_get_valid_attrmaskfunction nfs_getattrfunction S_ISREGfunction limits
Annotated Snippet
module_init(init_nfs_fs)
module_exit(exit_nfs_fs)
Annotation
- Immediate include surface: `linux/module.h`, `linux/init.h`, `linux/sched/signal.h`, `linux/time.h`, `linux/kernel.h`, `linux/mm.h`, `linux/string.h`, `linux/stat.h`.
- Detected declarations: `struct nfs_find_desc`, `function nfs_fattr_to_ino_t`, `function nfs_wait_bit_killable`, `function nfs_compat_user_ino64`, `function nfs_drop_inode`, `function nfs_clear_inode`, `function nfs_evict_inode`, `function nfs_sync_inode`, `function nfs_sync_mapping`, `function nfs_attribute_timeout`.
- 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.