drivers/infiniband/ulp/isert/ib_isert.c
Source file repositories/reference/linux-study-clean/drivers/infiniband/ulp/isert/ib_isert.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/infiniband/ulp/isert/ib_isert.c- Extension
.c- Size
- 72656 bytes
- Lines
- 2669
- 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.
- 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/string.hlinux/module.hlinux/scatterlist.hlinux/socket.hlinux/in.hlinux/in6.hrdma/ib_verbs.hrdma/ib_cm.hrdma/rdma_cm.htarget/target_core_base.htarget/target_core_fabric.htarget/iscsi/iscsi_transport.hlinux/semaphore.hib_isert.h
Detected Declarations
function isert_sg_tablesize_setfunction isert_prot_cmdfunction isert_qp_event_callbackfunction isert_create_qpfunction isert_alloc_rx_descriptorsfunction isert_free_rx_descriptorsfunction isert_create_device_ib_resfunction isert_free_device_ib_resfunction isert_device_putfunction isert_device_getfunction isert_init_connfunction isert_free_login_buffunction isert_alloc_login_buffunction isert_set_nego_paramsfunction isert_destroy_qpfunction isert_connect_requestfunction isert_connect_releasefunction isert_connected_handlerfunction isert_release_kreffunction isert_put_connfunction isert_handle_unbound_connfunction isert_conn_terminatefunction isert_np_cma_handlerfunction isert_disconnected_handlerfunction isert_connect_errorfunction isert_cma_handlerfunction isert_post_recvmfunction isert_post_recvfunction isert_login_post_sendfunction __isert_create_send_descfunction isert_create_send_descfunction isert_init_tx_hdrsfunction isert_init_send_wrfunction isert_login_post_recvfunction isert_put_login_txfunction isert_rx_login_reqfunction isert_handle_scsi_cmdfunction isert_handle_iscsi_dataoutfunction isert_handle_nop_outfunction isert_handle_text_cmdfunction isert_rx_opcodefunction isert_print_wcfunction isert_recv_donefunction isert_login_recv_donefunction isert_rdma_rw_ctx_destroyfunction isert_put_cmdfunction target_put_sess_cmdfunction isert_unmap_tx_desc
Annotated Snippet
module_init(isert_init);
module_exit(isert_exit);
Annotation
- Immediate include surface: `linux/string.h`, `linux/module.h`, `linux/scatterlist.h`, `linux/socket.h`, `linux/in.h`, `linux/in6.h`, `rdma/ib_verbs.h`, `rdma/ib_cm.h`.
- Detected declarations: `function isert_sg_tablesize_set`, `function isert_prot_cmd`, `function isert_qp_event_callback`, `function isert_create_qp`, `function isert_alloc_rx_descriptors`, `function isert_free_rx_descriptors`, `function isert_create_device_ib_res`, `function isert_free_device_ib_res`, `function isert_device_put`, `function isert_device_get`.
- 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.
- 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.