fs/ocfs2/stack_o2cb.c
Source file repositories/reference/linux-study-clean/fs/ocfs2/stack_o2cb.c
File Facts
- System
- Linux kernel
- Corpus path
fs/ocfs2/stack_o2cb.c- Extension
.c- Size
- 11290 bytes
- Lines
- 440
- 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/kernel.hlinux/crc32.hlinux/slab.hlinux/module.hlinux/fs.hcluster/masklog.hcluster/nodemanager.hcluster/heartbeat.hcluster/tcp.hstackglue.h
Detected Declarations
struct o2dlm_privatefunction mode_to_o2dlmfunction flags_to_o2dlmfunction dlm_status_to_errnofunction o2dlm_lock_ast_wrapperfunction o2dlm_blocking_ast_wrapperfunction o2dlm_unlock_ast_wrapperfunction o2cb_dlm_lockfunction o2cb_dlm_unlockfunction o2cb_dlm_lock_statusfunction o2cb_dlm_lvb_validfunction o2cb_dump_lksbfunction o2cb_cluster_checkfunction o2dlm_eviction_cbfunction o2cb_cluster_connectfunction o2cb_cluster_disconnectfunction o2cb_cluster_this_nodefunction o2cb_stack_initfunction o2cb_stack_exitmodule init o2cb_stack_init
Annotated Snippet
module_init(o2cb_stack_init);
module_exit(o2cb_stack_exit);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/crc32.h`, `linux/slab.h`, `linux/module.h`, `linux/fs.h`, `cluster/masklog.h`, `cluster/nodemanager.h`, `cluster/heartbeat.h`.
- Detected declarations: `struct o2dlm_private`, `function mode_to_o2dlm`, `function flags_to_o2dlm`, `function dlm_status_to_errno`, `function o2dlm_lock_ast_wrapper`, `function o2dlm_blocking_ast_wrapper`, `function o2dlm_unlock_ast_wrapper`, `function o2cb_dlm_lock`, `function o2cb_dlm_unlock`, `function o2cb_dlm_lock_status`.
- 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.