drivers/platform/x86/dell/dell-smbios-base.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/dell/dell-smbios-base.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/dell/dell-smbios-base.c- Extension
.c- Size
- 18133 bytes
- Lines
- 668
- Domain
- Driver Families
- Bucket
- drivers/platform
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/container_of.hlinux/kernel.hlinux/module.hlinux/capability.hlinux/dmi.hlinux/err.hlinux/mutex.hlinux/platform_device.hlinux/slab.hdell-smbios.h
Detected Declarations
struct token_sysfs_datastruct smbios_devicestruct smbios_callstruct token_rangefunction dell_smbios_errorfunction dell_smbios_register_devicefunction dell_smbios_unregister_devicefunction dell_smbios_call_filterfunction dell_smbios_callfunction dell_fill_requestfunction dell_send_requestfunction dell_laptop_register_notifierfunction dell_laptop_unregister_notifierfunction dell_laptop_call_notifierfunction dell_smbios_class_is_supportedfunction parse_da_tablefunction zero_duplicatesfunction find_tokensfunction location_showfunction value_showfunction build_tokens_sysfsfunction free_groupfunction dell_smbios_initfunction dell_smbios_exitmodule init dell_smbios_initexport dell_smbios_errorexport dell_smbios_register_deviceexport dell_smbios_unregister_deviceexport dell_smbios_call_filterexport dell_smbios_callexport dell_fill_requestexport dell_send_requestexport dell_smbios_find_tokenexport dell_laptop_register_notifierexport dell_laptop_unregister_notifierexport dell_laptop_call_notifierexport dell_smbios_class_is_supported
Annotated Snippet
module_init(dell_smbios_init);
module_exit(dell_smbios_exit);
MODULE_AUTHOR("Matthew Garrett <mjg@redhat.com>");
MODULE_AUTHOR("Gabriele Mazzotta <gabriele.mzt@gmail.com>");
MODULE_AUTHOR("Pali Rohár <pali@kernel.org>");
MODULE_AUTHOR("Mario Limonciello <mario.limonciello@outlook.com>");
MODULE_DESCRIPTION("Common functions for kernel modules using Dell SMBIOS");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/container_of.h`, `linux/kernel.h`, `linux/module.h`, `linux/capability.h`, `linux/dmi.h`, `linux/err.h`, `linux/mutex.h`, `linux/platform_device.h`.
- Detected declarations: `struct token_sysfs_data`, `struct smbios_device`, `struct smbios_call`, `struct token_range`, `function dell_smbios_error`, `function dell_smbios_register_device`, `function dell_smbios_unregister_device`, `function dell_smbios_call_filter`, `function dell_smbios_call`, `function dell_fill_request`.
- Atlas domain: Driver Families / drivers/platform.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.