arch/mips/cavium-octeon/oct_ilm.c
Source file repositories/reference/linux-study-clean/arch/mips/cavium-octeon/oct_ilm.c
File Facts
- System
- Linux kernel
- Corpus path
arch/mips/cavium-octeon/oct_ilm.c- Extension
.c- Size
- 4137 bytes
- Lines
- 172
- Domain
- Architecture Layer
- Bucket
- arch/mips
- Inferred role
- Architecture Layer: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/fs.hlinux/interrupt.hasm/octeon/octeon.hasm/octeon/cvmx-ciu-defs.hasm/octeon/cvmx.hlinux/debugfs.hlinux/kernel.hlinux/module.hlinux/seq_file.h
Detected Declarations
struct latency_infofunction oct_ilm_showfunction reset_statisticsfunction init_debugfsfunction init_latency_infofunction start_timerfunction cvm_oct_ciu_timer_interruptfunction disable_timerfunction oct_ilm_module_initfunction oct_ilm_module_exitmodule init oct_ilm_module_init
Annotated Snippet
module_init(oct_ilm_module_init);
MODULE_AUTHOR("Venkat Subbiah, Cavium");
MODULE_DESCRIPTION("Measures interrupt latency on Octeon chips.");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/fs.h`, `linux/interrupt.h`, `asm/octeon/octeon.h`, `asm/octeon/cvmx-ciu-defs.h`, `asm/octeon/cvmx.h`, `linux/debugfs.h`, `linux/kernel.h`, `linux/module.h`.
- Detected declarations: `struct latency_info`, `function oct_ilm_show`, `function reset_statistics`, `function init_debugfs`, `function init_latency_info`, `function start_timer`, `function cvm_oct_ciu_timer_interrupt`, `function disable_timer`, `function oct_ilm_module_init`, `function oct_ilm_module_exit`.
- Atlas domain: Architecture Layer / arch/mips.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.