drivers/s390/virtio/virtio_ccw.c
Source file repositories/reference/linux-study-clean/drivers/s390/virtio/virtio_ccw.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/s390/virtio/virtio_ccw.c- Extension
.c- Size
- 40761 bytes
- Lines
- 1584
- 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/kernel_stat.hlinux/hex.hlinux/init.hlinux/memblock.hlinux/err.hlinux/virtio.hlinux/virtio_config.hlinux/slab.hlinux/interrupt.hlinux/virtio_ring.hlinux/pfn.hlinux/async.hlinux/wait.hlinux/list.hlinux/bitops.hlinux/moduleparam.hlinux/io.hlinux/kvm_para.hlinux/notifier.hasm/diag.hasm/setup.hasm/irq.hasm/cio.hasm/ccwdev.hasm/virtio-ccw.hasm/isc.hasm/airq.hasm/tpi.h
Detected Declarations
struct vq_config_blockstruct vcdev_dma_areastruct virtio_ccw_devicestruct vq_info_block_legacystruct vq_info_blockstruct virtio_feature_descstruct virtio_thinint_areastruct virtio_rev_infostruct virtio_ccw_vq_infostruct airq_infofunction indicators_dmafunction indicators2_dmafunction config_block_dmafunction status_dmafunction get_summary_indicator_dmafunction drop_airq_indicatorfunction virtio_airq_handlerfunction virtio_ccw_drop_indicatorsfunction doing_iofunction ccw_io_helperfunction virtio_ccw_drop_indicatorfunction virtio_ccw_do_kvm_notifyfunction virtio_ccw_kvm_notifyfunction virtio_ccw_kvm_notify_with_datafunction virtio_ccw_read_vq_conffunction virtio_ccw_del_vqfunction virtio_ccw_del_vqsfunction virtio_ccw_register_adapter_indfunction virtio_ccw_find_vqsfunction virtio_ccw_resetfunction virtio_ccw_get_featuresfunction ccw_transport_featuresfunction virtio_ccw_get_configfunction virtio_ccw_set_configfunction virtio_ccw_get_statusfunction virtio_ccw_set_statusfunction virtio_ccw_synchronize_cbsfunction virtio_ccw_release_devfunction irb_is_errorfunction virtio_ccw_check_activityfunction virtio_ccw_int_handlerfunction virtio_ccw_check_autoonlinefunction virtio_ccw_auto_onlinefunction virtio_ccw_probefunction virtio_ccw_removefunction virtio_ccw_offlinefunction virtio_ccw_set_transport_revfunction virtio_ccw_online
Annotated Snippet
device_initcall(virtio_ccw_init);
Annotation
- Immediate include surface: `linux/kernel_stat.h`, `linux/hex.h`, `linux/init.h`, `linux/memblock.h`, `linux/err.h`, `linux/virtio.h`, `linux/virtio_config.h`, `linux/slab.h`.
- Detected declarations: `struct vq_config_block`, `struct vcdev_dma_area`, `struct virtio_ccw_device`, `struct vq_info_block_legacy`, `struct vq_info_block`, `struct virtio_feature_desc`, `struct virtio_thinint_area`, `struct virtio_rev_info`, `struct virtio_ccw_vq_info`, `struct airq_info`.
- 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.