drivers/scsi/BusLogic.c
Source file repositories/reference/linux-study-clean/drivers/scsi/BusLogic.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/BusLogic.c- Extension
.c- Size
- 124672 bytes
- Lines
- 3738
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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
linux/module.hlinux/init.hlinux/interrupt.hlinux/types.hlinux/blkdev.hlinux/delay.hlinux/ioport.hlinux/mm.hlinux/stat.hlinux/pci.hlinux/spinlock.hlinux/jiffies.hlinux/dma-mapping.hlinux/slab.hlinux/msdos_partition.hscsi/scsicam.hasm/dma.hasm/io.hscsi/scsi.hscsi/scsi_cmnd.hscsi/scsi_device.hscsi/scsi_host.hscsi/scsi_tcq.hBusLogic.hFlashPoint.c
Detected Declarations
function blogic_announce_drvrfunction Blocksfunction blogic_create_initccbsfunction blogic_destroy_ccbsfunction blogic_create_addlccbsfunction blogic_dealloc_ccbfunction blogic_cmdfunction blogic_sort_probeinfofunction blogic_init_mm_probeinfofunction blogic_init_fp_probeinfofunction blogic_init_probeinfo_listfunction blogic_failurefunction blogic_probefunction blogic_hwresetfunction blogic_checkadapterfunction blogic_rdconfigfunction blogic_reportconfigfunction blogic_flashpoint_typefunction blogic_getresfunction blogic_relresfunction blogic_initadapterfunction blogic_inquiryfunction blogic_inithoststructfunction blogic_sdev_configurefunction blogic_initfunction blogic_deladapterfunction blogic_qcompleted_ccbfunction blogic_resultcodefunction blogic_inbox_to_ccbfunction blogic_scan_inboxfunction blogic_process_ccbsfunction Adapterfunction CmdQuefunction blogic_inthandlerfunction blogic_write_outboxfunction blogic_hostresetfunction blogic_qcmd_lckfunction scsi_for_each_sgfunction DEF_SCSI_QCMDfunction blogic_resetadapterfunction blogic_diskparamfunction translationsfunction blogic_write_infofunction blogic_show_infofunction blogic_msgfunction blogic_parsefunction blogic_parseoptsfunction blogic_parse
Annotated Snippet
module_init(blogic_init);
module_exit(blogic_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/init.h`, `linux/interrupt.h`, `linux/types.h`, `linux/blkdev.h`, `linux/delay.h`, `linux/ioport.h`, `linux/mm.h`.
- Detected declarations: `function blogic_announce_drvr`, `function Blocks`, `function blogic_create_initccbs`, `function blogic_destroy_ccbs`, `function blogic_create_addlccbs`, `function blogic_dealloc_ccb`, `function blogic_cmd`, `function blogic_sort_probeinfo`, `function blogic_init_mm_probeinfo`, `function blogic_init_fp_probeinfo`.
- Atlas domain: Driver Families / drivers/scsi.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- 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.