drivers/cpuidle/cpuidle-haltpoll.c
Source file repositories/reference/linux-study-clean/drivers/cpuidle/cpuidle-haltpoll.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/cpuidle/cpuidle-haltpoll.c- Extension
.c- Size
- 3251 bytes
- Lines
- 147
- Domain
- Driver Families
- Bucket
- drivers/cpuidle
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/init.hlinux/cpu.hlinux/cpuidle.hlinux/module.hlinux/sched/idle.hlinux/kvm_para.hlinux/cpuidle_haltpoll.h
Detected Declarations
function default_enter_idlefunction haltpoll_cpu_onlinefunction haltpoll_cpu_offlinefunction haltpoll_uninitfunction haltpoll_wantfunction haltpoll_initfunction haltpoll_exitmodule init haltpoll_init
Annotated Snippet
module_init(haltpoll_init);
module_exit(haltpoll_exit);
MODULE_DESCRIPTION("cpuidle driver for haltpoll governor");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Marcelo Tosatti <mtosatti@redhat.com>");
Annotation
- Immediate include surface: `linux/init.h`, `linux/cpu.h`, `linux/cpuidle.h`, `linux/module.h`, `linux/sched/idle.h`, `linux/kvm_para.h`, `linux/cpuidle_haltpoll.h`.
- Detected declarations: `function default_enter_idle`, `function haltpoll_cpu_online`, `function haltpoll_cpu_offline`, `function haltpoll_uninit`, `function haltpoll_want`, `function haltpoll_init`, `function haltpoll_exit`, `module init haltpoll_init`.
- Atlas domain: Driver Families / drivers/cpuidle.
- 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.