drivers/infiniband/hw/ionic/ionic_ibdev.c
Source file repositories/reference/linux-study-clean/drivers/infiniband/hw/ionic/ionic_ibdev.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/infiniband/hw/ionic/ionic_ibdev.c- Extension
.c- Size
- 11976 bytes
- Lines
- 448
- Domain
- Driver Families
- Bucket
- drivers/infiniband
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/printk.hlinux/pci.hlinux/irq.hnet/addrconf.hrdma/ib_addr.hrdma/ib_mad.hionic_ibdev.h
Detected Declarations
function ionic_query_devicefunction ionic_query_portfunction ionic_get_link_layerfunction ionic_query_pkeyfunction ionic_modify_devicefunction ionic_get_port_immutablefunction ionic_get_dev_fw_strfunction hw_rev_showfunction hca_type_showfunction ionic_disassociate_ucontextfunction ionic_init_residsfunction ionic_destroy_residsfunction ionic_destroy_ibdevfunction ionic_aux_probefunction ionic_aux_removefunction ionic_mod_initfunction ionic_mod_exitmodule init ionic_mod_init
Annotated Snippet
module_init(ionic_mod_init);
module_exit(ionic_mod_exit);
Annotation
- Immediate include surface: `linux/module.h`, `linux/printk.h`, `linux/pci.h`, `linux/irq.h`, `net/addrconf.h`, `rdma/ib_addr.h`, `rdma/ib_mad.h`, `ionic_ibdev.h`.
- Detected declarations: `function ionic_query_device`, `function ionic_query_port`, `function ionic_get_link_layer`, `function ionic_query_pkey`, `function ionic_modify_device`, `function ionic_get_port_immutable`, `function ionic_get_dev_fw_str`, `function hw_rev_show`, `function hca_type_show`, `function ionic_disassociate_ucontext`.
- Atlas domain: Driver Families / drivers/infiniband.
- 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.