drivers/pci/hotplug/rpaphp_core.c
Source file repositories/reference/linux-study-clean/drivers/pci/hotplug/rpaphp_core.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/pci/hotplug/rpaphp_core.c- Extension
.c- Size
- 12837 bytes
- Lines
- 542
- Domain
- Representative Device Path
- Bucket
- PCIe NVMe Storage Path
- Inferred role
- Representative Device Path: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Part of the selected hardware vertical slice: PCI discovery, driver binding, NVMe queues, block requests, DMA, interrupts, and completion.
- Part of the selected hardware vertical slice: PCI discovery, driver binding, NVMe queues, block requests, DMA, interrupts, and completion.
- 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/module.hlinux/moduleparam.hlinux/of.hlinux/pci.hlinux/pci_hotplug.hlinux/smp.hlinux/init.hlinux/vmalloc.hasm/firmware.hasm/eeh.hasm/rtas.hasm/pci-bridge.hasm/prom.h../pci.hrpaphp.h
Detected Declarations
function set_attention_statusfunction get_power_statusfunction get_attention_statusfunction get_adapter_statusfunction get_max_bus_speedfunction get_children_propsfunction rpaphp_check_drc_props_v1function rpaphp_check_drc_props_v2function rpaphp_check_drc_propsfunction is_php_typefunction is_php_dnfunction rpaphp_drc_info_add_slotfunction rpaphp_drc_add_slotfunction embeddedfunction cleanup_slotsfunction list_for_each_entry_safefunction rpaphp_initfunction rpaphp_exitfunction enable_slotfunction disable_slotmodule init rpaphp_initexport rpaphp_slot_headexport rpaphp_check_drc_propsexport rpaphp_add_slot
Annotated Snippet
module_init(rpaphp_init);
module_exit(rpaphp_exit);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/moduleparam.h`, `linux/of.h`, `linux/pci.h`, `linux/pci_hotplug.h`, `linux/smp.h`, `linux/init.h`.
- Detected declarations: `function set_attention_status`, `function get_power_status`, `function get_attention_status`, `function get_adapter_status`, `function get_max_bus_speed`, `function get_children_props`, `function rpaphp_check_drc_props_v1`, `function rpaphp_check_drc_props_v2`, `function rpaphp_check_drc_props`, `function is_php_type`.
- Atlas domain: Representative Device Path / PCIe NVMe Storage Path.
- 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.