arch/arm/mm/cache-l2x0-pmu.c
Source file repositories/reference/linux-study-clean/arch/arm/mm/cache-l2x0-pmu.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/mm/cache-l2x0-pmu.c- Extension
.c- Size
- 12862 bytes
- Lines
- 565
- Domain
- Architecture Layer
- Bucket
- arch/arm
- 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.
- 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/errno.hlinux/hrtimer.hlinux/io.hlinux/list.hlinux/perf_event.hlinux/printk.hlinux/slab.hlinux/types.hasm/hardware/cache-l2x0.h
Detected Declarations
struct l2x0_event_attributefunction l2x0_pmu_find_idxfunction l2x0_pmu_num_active_countersfunction l2x0_pmu_counter_config_writefunction l2x0_pmu_counter_readfunction l2x0_pmu_counter_writefunction __l2x0_pmu_enablefunction __l2x0_pmu_disablefunction l2x0_pmu_enablefunction l2x0_pmu_disablefunction warn_if_saturatedfunction l2x0_pmu_event_readfunction l2x0_pmu_event_configurefunction l2x0_pmu_pollfunction __l2x0_pmu_event_enablefunction l2x0_pmu_event_startfunction __l2x0_pmu_event_disablefunction l2x0_pmu_event_stopfunction l2x0_pmu_event_addfunction l2x0_pmu_event_delfunction l2x0_pmu_group_is_validfunction for_each_sibling_eventfunction l2x0_pmu_event_initfunction l2x0_pmu_event_showfunction l2x0_pmu_event_attr_is_visiblefunction l2x0_pmu_cpumask_showfunction l2x0_pmu_resetfunction l2x0_pmu_offline_cpufunction l2x0_pmu_suspendfunction l2x0_pmu_resumefunction l2x0_pmu_registerfunction l2x0_pmu_initmodule init l2x0_pmu_init
Annotated Snippet
device_initcall(l2x0_pmu_init);
Annotation
- Immediate include surface: `linux/errno.h`, `linux/hrtimer.h`, `linux/io.h`, `linux/list.h`, `linux/perf_event.h`, `linux/printk.h`, `linux/slab.h`, `linux/types.h`.
- Detected declarations: `struct l2x0_event_attribute`, `function l2x0_pmu_find_idx`, `function l2x0_pmu_num_active_counters`, `function l2x0_pmu_counter_config_write`, `function l2x0_pmu_counter_read`, `function l2x0_pmu_counter_write`, `function __l2x0_pmu_enable`, `function __l2x0_pmu_disable`, `function l2x0_pmu_enable`, `function l2x0_pmu_disable`.
- Atlas domain: Architecture Layer / arch/arm.
- 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.