drivers/s390/char/sclp_sd.c
Source file repositories/reference/linux-study-clean/drivers/s390/char/sclp_sd.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/s390/char/sclp_sd.c- Extension
.c- Size
- 14647 bytes
- Lines
- 591
- Domain
- Driver Families
- Bucket
- drivers/s390
- 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/completion.hlinux/jiffies.hlinux/kobject.hlinux/list.hlinux/printk.hlinux/slab.hlinux/vmalloc.hlinux/async.hlinux/mutex.hlinux/pgalloc.hsclp.h
Detected Declarations
struct sclp_sd_evbufstruct sclp_sd_sccbstruct sclp_sd_datastruct sclp_sd_listenerstruct sclp_sd_filefunction sclp_sd_listener_addfunction sclp_sd_listener_removefunction sclp_sd_listener_initfunction sclp_sd_receiverfunction sclp_sd_syncfunction sclp_sd_store_datafunction sclp_sd_data_resetfunction sclp_sd_file_releasefunction sclp_sd_file_updatefunction sclp_sd_file_update_asyncfunction reload_storefunction data_readfunction sclp_sd_file_createfunction sclp_sd_initmodule init sclp_sd_init
Annotated Snippet
device_initcall(sclp_sd_init);
Annotation
- Immediate include surface: `linux/completion.h`, `linux/jiffies.h`, `linux/kobject.h`, `linux/list.h`, `linux/printk.h`, `linux/slab.h`, `linux/vmalloc.h`, `linux/async.h`.
- Detected declarations: `struct sclp_sd_evbuf`, `struct sclp_sd_sccb`, `struct sclp_sd_data`, `struct sclp_sd_listener`, `struct sclp_sd_file`, `function sclp_sd_listener_add`, `function sclp_sd_listener_remove`, `function sclp_sd_listener_init`, `function sclp_sd_receiver`, `function sclp_sd_sync`.
- Atlas domain: Driver Families / drivers/s390.
- 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.