fs/ocfs2/dlm/dlmdomain.c
Source file repositories/reference/linux-study-clean/fs/ocfs2/dlm/dlmdomain.c
File Facts
- System
- Linux kernel
- Corpus path
fs/ocfs2/dlm/dlmdomain.c- Extension
.c- Size
- 61380 bytes
- Lines
- 2372
- 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/types.hlinux/slab.hlinux/highmem.hlinux/init.hlinux/spinlock.hlinux/delay.hlinux/err.hlinux/debugfs.hlinux/sched/signal.h../cluster/heartbeat.h../cluster/nodemanager.h../cluster/tcp.hdlmapi.hdlmcommon.hdlmdomain.hdlmdebug.h../cluster/masklog.h
Detected Declarations
struct domain_join_ctxtfunction Copyrightfunction byte_test_bitfunction byte_copymapfunction dlm_free_pagevecfunction __dlm_unhash_lockresfunction __dlm_insert_lockresfunction __dlm_lookup_lockres_fullfunction hlist_for_each_entryfunction purgedfunction dlm_lookup_lockresfunction __dlm_lookup_domain_fullfunction __dlm_lookup_domainfunction dlm_wait_on_domain_helperfunction dlm_free_ctxt_memfunction dlm_ctxt_releasefunction dlm_putfunction __dlm_getfunction list_for_each_entryfunction dlm_domain_fully_joinedfunction dlm_destroy_dlm_workerfunction dlm_complete_dlm_shutdownfunction dlm_migrate_all_locksfunction dlm_no_joining_nodefunction dlm_begin_exit_domain_handlerfunction dlm_mark_domain_leavingfunction __dlm_print_nodesfunction dlm_exit_domain_handlerfunction dlm_send_one_domain_exitfunction dlm_begin_exit_domainfunction dlm_leave_domainfunction dlm_unregister_domainfunction dlm_query_join_proto_checkfunction wirefunction dlm_query_join_wire_to_packetfunction dlm_query_join_handlerfunction timesfunction dlm_assert_joined_handlerfunction dlm_match_regionsfunction dlm_send_regionsfunction dlm_query_region_handlerfunction dlm_match_nodesfunction dlm_send_nodeinfofunction dlm_query_nodeinfo_handlerfunction dlm_cancel_join_handlerfunction dlm_send_one_join_cancelfunction dlm_send_join_cancelsfunction dlm_request_join
Annotated Snippet
module_init(dlm_init);
module_exit(dlm_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/types.h`, `linux/slab.h`, `linux/highmem.h`, `linux/init.h`, `linux/spinlock.h`, `linux/delay.h`, `linux/err.h`.
- Detected declarations: `struct domain_join_ctxt`, `function Copyright`, `function byte_test_bit`, `function byte_copymap`, `function dlm_free_pagevec`, `function __dlm_unhash_lockres`, `function __dlm_insert_lockres`, `function __dlm_lookup_lockres_full`, `function hlist_for_each_entry`, `function purged`.
- 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.