drivers/firmware/efi/esrt.c
Source file repositories/reference/linux-study-clean/drivers/firmware/efi/esrt.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/firmware/efi/esrt.c- Extension
.c- Size
- 10521 bytes
- Lines
- 430
- Domain
- Driver Families
- Bucket
- drivers/firmware
- 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.
- 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/capability.hlinux/device.hlinux/efi.hlinux/init.hlinux/io.hlinux/kernel.hlinux/kobject.hlinux/list.hlinux/memblock.hlinux/slab.hlinux/types.hasm/io.hasm/early_ioremap.h
Detected Declarations
struct efi_system_resource_entry_v1struct efi_system_resource_tablestruct esre_entrystruct esre_attributefunction esre_attr_showfunction fw_class_showfunction esre_releasefunction esre_create_sysfs_entryfunction esrt_table_existsfunction esrt_attr_is_visiblefunction efi_esrt_initfunction register_entriesfunction cleanup_entry_listfunction list_for_each_entry_safefunction esrt_sysfs_initmodule init esrt_sysfs_init
Annotated Snippet
device_initcall(esrt_sysfs_init);
/*
MODULE_AUTHOR("Peter Jones <pjones@redhat.com>");
MODULE_DESCRIPTION("EFI System Resource Table support");
MODULE_LICENSE("GPL");
*/
Annotation
- Immediate include surface: `linux/capability.h`, `linux/device.h`, `linux/efi.h`, `linux/init.h`, `linux/io.h`, `linux/kernel.h`, `linux/kobject.h`, `linux/list.h`.
- Detected declarations: `struct efi_system_resource_entry_v1`, `struct efi_system_resource_table`, `struct esre_entry`, `struct esre_attribute`, `function esre_attr_show`, `function fw_class_show`, `function esre_release`, `function esre_create_sysfs_entry`, `function esrt_table_exists`, `function esrt_attr_is_visible`.
- Atlas domain: Driver Families / drivers/firmware.
- 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.