drivers/firmware/iscsi_ibft.c
Source file repositories/reference/linux-study-clean/drivers/firmware/iscsi_ibft.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/firmware/iscsi_ibft.c- Extension
.c- Size
- 21481 bytes
- Lines
- 910
- Domain
- Driver Families
- Bucket
- drivers/firmware
- 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.
- 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/blkdev.hlinux/capability.hlinux/ctype.hlinux/device.hlinux/err.hlinux/init.hlinux/iscsi_ibft.hlinux/limits.hlinux/module.hlinux/pci.hlinux/slab.hlinux/stat.hlinux/string.hlinux/types.hlinux/acpi.hlinux/iscsi_boot_sysfs.h
Detected Declarations
struct ibft_hdrstruct ibft_controlstruct ibft_initiatorstruct ibft_nicstruct ibft_tgtstruct ibft_kobjectenum ibft_idfunction address_not_nullfunction sprintf_ipaddrfunction sprintf_stringfunction ibft_verify_hdrfunction ibft_attr_show_initiatorfunction ibft_attr_show_nicfunction ibft_attr_show_targetfunction ibft_attr_show_acpitblfunction ibft_check_devicefunction ibft_check_nic_forfunction ibft_check_tgt_forfunction ibft_check_initiator_forfunction ibft_check_acpitbl_forfunction ibft_kobj_releasefunction ibft_create_kobjectfunction ibft_register_kobjectsfunction ibft_unregisterfunction list_for_each_entry_safefunction ibft_cleanupfunction ibft_exitfunction acpi_find_ibft_regionfunction acpi_find_ibft_regionfunction acpi_find_isa_regionfunction ibft_initmodule init ibft_init
Annotated Snippet
module_init(ibft_init);
module_exit(ibft_exit);
Annotation
- Immediate include surface: `linux/blkdev.h`, `linux/capability.h`, `linux/ctype.h`, `linux/device.h`, `linux/err.h`, `linux/init.h`, `linux/iscsi_ibft.h`, `linux/limits.h`.
- Detected declarations: `struct ibft_hdr`, `struct ibft_control`, `struct ibft_initiator`, `struct ibft_nic`, `struct ibft_tgt`, `struct ibft_kobject`, `enum ibft_id`, `function address_not_null`, `function sprintf_ipaddr`, `function sprintf_string`.
- Atlas domain: Driver Families / drivers/firmware.
- Implementation status: integration implementation candidate.
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.