drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
Source file repositories/reference/linux-study-clean/drivers/platform/x86/dell/dell-wmi-sysman/sysman.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c- Extension
.c- Size
- 15112 bytes
- Lines
- 597
- 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/align.hlinux/fs.hlinux/dmi.hlinux/module.hlinux/kernel.hlinux/string.hlinux/sysfs.hlinux/wmi.hdell-wmi-sysman.h../../firmware_attributes_class.hlinux/nls.h
Detected Declarations
function populate_string_bufferfunction calculate_string_bufferfunction calculate_security_bufferfunction populate_security_bufferfunction map_wmi_errorfunction reset_bios_showfunction reset_bios_storefunction pending_reboot_showfunction create_attributes_level_sysfs_filesfunction attr_name_releasefunction strlcpy_attrfunction get_wmiobj_pointerfunction get_instance_countfunction alloc_attributes_datafunction destroy_attribute_objsfunction list_for_each_entry_safefunction release_attributes_datafunction init_bios_attributesfunction sysman_initfunction sysman_exitmodule init sysman_init
Annotated Snippet
module_init(sysman_init);
module_exit(sysman_exit);
MODULE_AUTHOR("Mario Limonciello <mario.limonciello@outlook.com>");
MODULE_AUTHOR("Prasanth Ksr <prasanth.ksr@dell.com>");
MODULE_AUTHOR("Divya Bharathi <divya.bharathi@dell.com>");
MODULE_DESCRIPTION("Dell platform setting control interface");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/align.h`, `linux/fs.h`, `linux/dmi.h`, `linux/module.h`, `linux/kernel.h`, `linux/string.h`, `linux/sysfs.h`, `linux/wmi.h`.
- Detected declarations: `function populate_string_buffer`, `function calculate_string_buffer`, `function calculate_security_buffer`, `function populate_security_buffer`, `function map_wmi_error`, `function reset_bios_show`, `function reset_bios_store`, `function pending_reboot_show`, `function create_attributes_level_sysfs_files`, `function attr_name_release`.
- 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.