net/rds/rdma_transport.c
Source file repositories/reference/linux-study-clean/net/rds/rdma_transport.c
File Facts
- System
- Linux kernel
- Corpus path
net/rds/rdma_transport.c- Extension
.c- Size
- 8739 bytes
- Lines
- 323
- Domain
- Networking Core
- Bucket
- Sockets, Protocols, Packet Path, And Network Policy
- Inferred role
- Networking Core: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- 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.hrdma/rdma_cm.hrds_single_path.hrdma_transport.hib.h
Detected Declarations
function rds_rdma_cm_event_handler_cmnfunction rds_rdma_cm_event_handlerfunction rds6_rdma_cm_event_handlerfunction rds_rdma_listen_init_commonfunction rds_rdma_listen_initfunction rds_rdma_listen_stopfunction rds_rdma_initfunction rds_rdma_exitmodule init rds_rdma_init
Annotated Snippet
module_init(rds_rdma_init);
static void __exit rds_rdma_exit(void)
{
/* stop listening first to ensure no new connections are attempted */
rds_rdma_listen_stop();
rds_ib_exit();
}
module_exit(rds_rdma_exit);
MODULE_AUTHOR("Oracle Corporation <rds-devel@oss.oracle.com>");
MODULE_DESCRIPTION("RDS: IB transport");
MODULE_LICENSE("Dual BSD/GPL");
Annotation
- Immediate include surface: `linux/module.h`, `rdma/rdma_cm.h`, `rds_single_path.h`, `rdma_transport.h`, `ib.h`.
- Detected declarations: `function rds_rdma_cm_event_handler_cmn`, `function rds_rdma_cm_event_handler`, `function rds6_rdma_cm_event_handler`, `function rds_rdma_listen_init_common`, `function rds_rdma_listen_init`, `function rds_rdma_listen_stop`, `function rds_rdma_init`, `function rds_rdma_exit`, `module init rds_rdma_init`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- 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.