drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
Source file repositories/reference/linux-study-clean/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c- Extension
.c- Size
- 70545 bytes
- Lines
- 2474
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/module.hlinux/moduleparam.hscsi/scsi_host.hnet/tcp.hnet/dst.hlinux/netdevice.hnet/addrconf.ht4_regs.ht4_msg.hcxgb4.hcxgb4_uld.ht4fw_api.hl2t.hcxgb4i.hclip_tbl.h../libcxgbi.hnet/dcbevent.hcxgb4_dcb.h
Detected Declarations
function is_ofld_immfunction send_act_open_reqfunction send_act_open_req6function send_close_reqfunction abort_arp_failurefunction send_abort_reqfunction send_abort_rplfunction send_rx_creditsfunction sgl_lenfunction calc_tx_flits_ofldfunction tx_flowc_wr_creditsfunction send_tx_flowc_wrfunction cxgb4i_make_tx_iso_cplfunction cxgb4i_make_tx_data_wrfunction arp_failure_skb_discardfunction push_tx_framesfunction free_atidfunction do_act_establishfunction act_open_rpl_status_to_errnofunction csk_act_open_retry_timerfunction is_neg_advfunction do_act_open_rplfunction do_peer_closefunction do_close_con_rplfunction abort_status_to_errnofunction do_abort_req_rssfunction do_abort_rpl_rssfunction do_rx_datafunction do_rx_iscsi_hdrfunction do_rx_iscsi_datafunction cxgb4i_process_ddpvldfunction do_rx_data_ddpfunction do_rx_iscsi_cmpfunction do_fw4_ackfunction do_set_tcb_rplfunction alloc_cplsfunction l2t_putfunction release_offload_resourcesfunction get_iscsi_dcb_statefunction select_priorityfunction get_iscsi_dcb_priorityfunction init_act_openfunction cxgb4i_ofld_initfunction ulp_mem_io_set_hdrfunction ddp_ppod_init_idatafunction ddp_ppod_write_idatafunction ddp_set_mapfunction ddp_setup_conn_pgidx
Annotated Snippet
module_init(cxgb4i_init_module);
module_exit(cxgb4i_exit_module);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/moduleparam.h`, `scsi/scsi_host.h`, `net/tcp.h`, `net/dst.h`, `linux/netdevice.h`, `net/addrconf.h`.
- Detected declarations: `function is_ofld_imm`, `function send_act_open_req`, `function send_act_open_req6`, `function send_close_req`, `function abort_arp_failure`, `function send_abort_req`, `function send_abort_rpl`, `function send_rx_credits`, `function sgl_len`, `function calc_tx_flits_ofld`.
- 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.
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.