drivers/s390/char/raw3270.c
Source file repositories/reference/linux-study-clean/drivers/s390/char/raw3270.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/s390/char/raw3270.c- Extension
.c- Size
- 32785 bytes
- Lines
- 1351
- 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/export.hlinux/module.hlinux/err.hlinux/init.hlinux/interrupt.hlinux/list.hlinux/slab.hlinux/types.hlinux/wait.hasm/machine.hasm/ccwdev.hasm/cio.hasm/ebcdic.hasm/diag.hraw3270.hlinux/major.hlinux/kdev_t.hlinux/device.hlinux/mutex.h
Detected Declarations
struct raw3270struct raw3270_uafunction raw3270_state_readyfunction raw3270_buffer_addressfunction raw3270_request_freefunction raw3270_request_resetfunction raw3270_request_set_cmdfunction raw3270_request_add_datafunction raw3270_request_set_datafunction raw3270_request_set_idalfunction __raw3270_startfunction raw3270_view_activefunction raw3270_startfunction raw3270_start_requestfunction raw3270_start_lockedfunction raw3270_start_irqfunction raw3270_irqfunction raw3270_size_device_vmfunction raw3270_size_devicefunction raw3270_resize_workfunction raw3270_size_device_donefunction raw3270_read_modified_cbfunction raw3270_read_modifiedfunction raw3270_writesf_readpartfunction raw3270_reset_device_cbfunction __raw3270_reset_devicefunction raw3270_reset_devicefunction raw3270_resetfunction __raw3270_disconnectfunction raw3270_init_irqfunction raw3270_setup_devicefunction raw3270_state_finalfunction raw3270_wait_cons_devfunction panicfunction raw3270_assign_activate_viewfunction __raw3270_activate_viewfunction raw3270_activate_viewfunction raw3270_deactivate_viewfunction raw3270_add_viewfunction list_for_each_entryfunction raw3270_del_viewfunction list_for_each_entryfunction raw3270_delete_devicefunction raw3270_probefunction model_showfunction rows_showfunction columns_showfunction raw3270_create_attributes
Annotated Snippet
module_init(raw3270_init);
module_exit(raw3270_exit);
Annotation
- Immediate include surface: `linux/export.h`, `linux/module.h`, `linux/err.h`, `linux/init.h`, `linux/interrupt.h`, `linux/list.h`, `linux/slab.h`, `linux/types.h`.
- Detected declarations: `struct raw3270`, `struct raw3270_ua`, `function raw3270_state_ready`, `function raw3270_buffer_address`, `function raw3270_request_free`, `function raw3270_request_reset`, `function raw3270_request_set_cmd`, `function raw3270_request_add_data`, `function raw3270_request_set_data`, `function raw3270_request_set_idal`.
- 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.