drivers/scsi/aic7xxx/aic79xx_osm.c
Source file repositories/reference/linux-study-clean/drivers/scsi/aic7xxx/aic79xx_osm.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/aic7xxx/aic79xx_osm.c- Extension
.c- Size
- 79048 bytes
- Lines
- 2866
- Domain
- Driver Families
- Bucket
- drivers/scsi
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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
aic79xx_osm.haic79xx_inline.hscsi/scsicam.hlinux/init.hlinux/mm.hlinux/blkdev.hlinux/delay.hlinux/device.hlinux/slab.h
Detected Declarations
struct ahd_linux_iocell_optsfunction ahd_print_pathfunction ahd_delayfunction ahd_inbfunction ahd_inw_atomicfunction ahd_outbfunction ahd_outw_atomicfunction ahd_outsbfunction ahd_insbfunction ahd_pci_read_configfunction ahd_pci_write_configfunction ahd_linux_unmap_scbfunction ahd_build_scsiidfunction ahd_linux_infofunction ahd_linux_queue_lckfunction DEF_SCSI_QCMDfunction ahd_linux_target_allocfunction ahd_linux_target_destroyfunction ahd_linux_sdev_initfunction ahd_linux_sdev_configurefunction ahd_linux_biosparamfunction commandfunction ahd_linux_dev_resetfunction ahd_linux_bus_resetfunction ahd_dma_tag_createfunction ahd_dma_tag_destroyfunction ahd_dmamem_allocfunction ahd_dmamem_freefunction ahd_dmamap_loadfunction ahd_dmamap_destroyfunction ahd_linux_setup_iocell_infofunction ahd_linux_setup_tag_info_globalfunction ahd_linux_setup_tag_infofunction ahd_parse_brace_optionfunction aic79xx_setupfunction ahd_linux_register_hostfunction ahd_linux_initialize_scsi_busfunction ahd_platform_allocfunction ahd_platform_freefunction ahd_platform_initfunction ahd_platform_freeze_devqfunction ahd_platform_set_tagsfunction ahd_platform_abort_scbsfunction ahd_linux_user_tagdepthfunction ahd_linux_device_queue_depthfunction ahd_linux_run_commandfunction scsi_for_each_sgfunction ahd_linux_isr
Annotated Snippet
module_init(ahd_linux_init);
module_exit(ahd_linux_exit);
Annotation
- Immediate include surface: `aic79xx_osm.h`, `aic79xx_inline.h`, `scsi/scsicam.h`, `linux/init.h`, `linux/mm.h`, `linux/blkdev.h`, `linux/delay.h`, `linux/device.h`.
- Detected declarations: `struct ahd_linux_iocell_opts`, `function ahd_print_path`, `function ahd_delay`, `function ahd_inb`, `function ahd_inw_atomic`, `function ahd_outb`, `function ahd_outw_atomic`, `function ahd_outsb`, `function ahd_insb`, `function ahd_pci_read_config`.
- Atlas domain: Driver Families / drivers/scsi.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.