fs/notify/fsnotify.c
Source file repositories/reference/linux-study-clean/fs/notify/fsnotify.c
File Facts
- System
- Linux kernel
- Corpus path
fs/notify/fsnotify.c- Extension
.c- Size
- 22450 bytes
- Lines
- 734
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/dcache.hlinux/fs.hlinux/gfp.hlinux/init.hlinux/module.hlinux/mount.hlinux/srcu.hlinux/fsnotify_backend.hfsnotify.htrace/events/fsnotify.h
Detected Declarations
function Copyrightfunction __fsnotify_vfsmount_deletefunction __fsnotify_mntns_deletefunction fsnotify_sb_deletefunction fsnotify_sb_freefunction fsnotify_set_children_dentry_flagsfunction hlist_for_each_entryfunction fsnotify_clear_child_dentry_flagfunction fsnotify_event_needs_parentfunction fsnotify_object_watchedfunction fsnotify_pre_contentfunction __fsnotify_parentfunction fsnotify_handle_inode_eventfunction fsnotify_handle_eventfunction send_to_groupfunction fsnotify_foreach_iter_mark_typefunction fsnotify_iter_select_report_typesfunction fsnotify_iter_nextfunction fsnotify_foreach_iter_mark_typefunction fsnotifyfunction fsnotify_sb_has_priority_watchersfunction fsnotify_mntfunction fsnotify_initmodule init fsnotify_initexport __fsnotify_inode_deleteexport __fsnotify_parentexport fsnotify
Annotated Snippet
core_initcall(fsnotify_init);
Annotation
- Immediate include surface: `linux/dcache.h`, `linux/fs.h`, `linux/gfp.h`, `linux/init.h`, `linux/module.h`, `linux/mount.h`, `linux/srcu.h`, `linux/fsnotify_backend.h`.
- Detected declarations: `function Copyright`, `function __fsnotify_vfsmount_delete`, `function __fsnotify_mntns_delete`, `function fsnotify_sb_delete`, `function fsnotify_sb_free`, `function fsnotify_set_children_dentry_flags`, `function hlist_for_each_entry`, `function fsnotify_clear_child_dentry_flag`, `function fsnotify_event_needs_parent`, `function fsnotify_object_watched`.
- 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.