drivers/tty/hvc/hvc_iucv.c
Source file repositories/reference/linux-study-clean/drivers/tty/hvc/hvc_iucv.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/tty/hvc/hvc_iucv.c- Extension
.c- Size
- 40812 bytes
- Lines
- 1421
- Domain
- Driver Families
- Bucket
- drivers/tty
- 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/types.hlinux/slab.hasm/ebcdic.hlinux/ctype.hlinux/delay.hlinux/device.hlinux/init.hlinux/mempool.hlinux/moduleparam.hlinux/tty.hlinux/wait.hnet/iucv/iucv.hasm/machine.hhvc_console.h
Detected Declarations
struct iucv_tty_msgstruct hvc_iucv_privatestruct iucv_tty_bufferenum iucv_state_tenum tty_state_tfunction hvc_iucv_get_privatefunction alloc_tty_bufferfunction destroy_tty_bufferfunction destroy_tty_buffer_listfunction list_for_each_entry_safefunction hvc_iucv_writefunction hvc_iucv_get_charsfunction hvc_iucv_queuefunction hvc_iucv_sendfunction hvc_iucv_sndbuf_workfunction hvc_iucv_put_charsfunction hvc_iucv_notifier_addfunction hvc_iucv_cleanupfunction tty_outqueue_emptyfunction flush_sndbuf_syncfunction get_charsfunction hvc_iucv_notifier_hangupfunction hvc_iucv_dtr_rtsfunction hvc_iucv_notifier_delfunction hvc_iucv_filter_connreqfunction hvc_iucv_path_pendingfunction hvc_iucv_path_severedfunction hvc_iucv_msg_pendingfunction hvc_iucv_msg_completefunction hvc_iucv_dev_termid_showfunction hvc_iucv_dev_state_showfunction hvc_iucv_dev_peer_showfunction hvc_iucv_allocfunction hvc_iucv_destroyfunction hvc_iucv_parse_filterfunction hvc_iucv_setup_filterfunction param_set_vmidfilterfunction param_get_vmidfilterfunction hvc_iucv_initfunction hvc_iucv_configmodule init hvc_iucv_init
Annotated Snippet
device_initcall(hvc_iucv_init);
__setup("hvc_iucv=", hvc_iucv_config);
core_param(hvc_iucv_allow, hvc_iucv_filter, vmidfilter, 0640);
Annotation
- Immediate include surface: `linux/types.h`, `linux/slab.h`, `asm/ebcdic.h`, `linux/ctype.h`, `linux/delay.h`, `linux/device.h`, `linux/init.h`, `linux/mempool.h`.
- Detected declarations: `struct iucv_tty_msg`, `struct hvc_iucv_private`, `struct iucv_tty_buffer`, `enum iucv_state_t`, `enum tty_state_t`, `function hvc_iucv_get_private`, `function alloc_tty_buffer`, `function destroy_tty_buffer`, `function destroy_tty_buffer_list`, `function list_for_each_entry_safe`.
- Atlas domain: Driver Families / drivers/tty.
- 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.