drivers/scsi/aic7xxx/aic7xxx_osm.c
Source file repositories/reference/linux-study-clean/drivers/scsi/aic7xxx/aic7xxx_osm.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/aic7xxx/aic7xxx_osm.c- Extension
.c- Size
- 71643 bytes
- Lines
- 2591
- 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
aic7xxx_osm.haic7xxx_inline.hscsi/scsicam.hlinux/init.hlinux/mm.hlinux/blkdev.hlinux/delay.hlinux/slab.h
Detected Declarations
function ahc_print_pathfunction ahc_delayfunction ahc_inbfunction ahc_outbfunction ahc_outsbfunction ahc_insbfunction ahc_linux_unmap_scbfunction ahc_linux_map_segfunction ahc_linux_infofunction ahc_linux_queue_lckfunction DEF_SCSI_QCMDfunction ahc_linux_target_allocfunction ahc_linux_target_destroyfunction ahc_linux_sdev_initfunction ahc_linux_sdev_configurefunction ahc_linux_biosparamfunction commandfunction ahc_linux_dev_resetfunction ahc_linux_bus_resetfunction ahc_build_scsiidfunction ahc_dma_tag_createfunction ahc_dma_tag_destroyfunction ahc_dmamem_allocfunction ahc_dmamem_freefunction ahc_dmamap_loadfunction ahc_dmamap_destroyfunction ahc_linux_setup_tag_info_globalfunction ahc_linux_setup_tag_infofunction ahc_parse_brace_optionfunction aic7xxx_setupfunction ahc_linux_register_hostfunction ahc_linux_initialize_scsi_busfunction ahc_platform_allocfunction ahc_platform_freefunction ahc_platform_freeze_devqfunction ahc_platform_set_tagsfunction ahc_platform_abort_scbsfunction ahc_linux_user_tagdepthfunction ahc_linux_device_queue_depthfunction ahc_linux_run_commandfunction scsi_for_each_sgfunction ahc_linux_isrfunction ahc_platform_flushworkfunction ahc_donefunction expectedfunction ahc_linux_handle_scsi_statusfunction ahc_linux_queue_cmd_completefunction ahc_linux_freeze_simq
Annotated Snippet
module_init(ahc_linux_init);
module_exit(ahc_linux_exit);
Annotation
- Immediate include surface: `aic7xxx_osm.h`, `aic7xxx_inline.h`, `scsi/scsicam.h`, `linux/init.h`, `linux/mm.h`, `linux/blkdev.h`, `linux/delay.h`, `linux/slab.h`.
- Detected declarations: `function ahc_print_path`, `function ahc_delay`, `function ahc_inb`, `function ahc_outb`, `function ahc_outsb`, `function ahc_insb`, `function ahc_linux_unmap_scb`, `function ahc_linux_map_seg`, `function ahc_linux_info`, `function ahc_linux_queue_lck`.
- 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.