STRUCT LEAPRAID_ADAPTER(9)
π struct leapraid_adapter(9) π
okay so bestie, welcome to the Kernel API Manual β section 9, struct club, and this one is the main character: struct leapraid_adapter, aka the main LeapRAID adapter structure. it's giving "everything lives here" energy and honestly? obsessed. let's get into it π«Ά
β¨ NAME β¨
struct leapraid_adapter β the main LeapRAID adapter structure. yes, THE main one. the big one. the mother ship π
π¦ SYNOPSIS π¦
struct leapraid_adapter {
struct list_head list;
struct Scsi_Host *shost;
struct pci_dev *pdev;
struct leapraid_reg_base __iomem *iomem_base;
u32 rep_msg_host_idx;
u8 mask_int;
struct leapraid_adapter_attr adapter_attr;
struct leapraid_mem_desc mem_desc;
struct leapraid_driver_cmds driver_cmds;
struct leapraid_dynamic_task_desc dynamic_task_desc;
struct leapraid_fw_evt_struct fw_evt_s;
struct leapraid_notification_desc notification_desc;
struct leapraid_reset_desc reset_desc;
struct leapraid_scan_dev_desc scan_dev_desc;
struct leapraid_access_ctrl access_ctrl;
struct leapraid_fw_log_desc fw_log_desc;
struct leapraid_dev_topo dev_topo;
struct leapraid_boot_devs boot_devs;
struct leapraid_overheat_desc overheat_desc;
};
look at all those members. it's a whole squad in one struct, fr fr π
π Members π
listβ the list head for adapter management. it's how the adapters keep track of each other, iykyk π₯shostβ the SCSI host structure. yes, that SCSI. πpdevβ the PCI device structure.iomem_baseβ the I/O memory mapped base address. where the shiny hardware registers live β¨rep_msg_host_idxβ the host index for reply messages.u32and proud of it πmask_intβ the interrupt masking flag. a singleu8doing very important work.adapter_attrβ the adapter attributes.mem_descβ the memory descriptor.driver_cmdsβ the driver commands.dynamic_task_descβ the dynamic task descriptor.fw_evt_sβ the firmware event structure.notification_descβ the notification descriptor.reset_descβ the reset descriptor.scan_dev_descβ the device scan descriptor.access_ctrlβ access control.fw_log_descβ the firmware log descriptor.dev_topoβ the device topology.boot_devsβ the boot devices.overheat_descβ the overheat processing descriptor. keep an eye on this one, temperature-wise π₯΅
πΈ SEE ALSO πΈ
the whole friend group, no cap β first up, the kernel file itself: ./drivers/scsi/leapraid/leapraid_func.h (struct). then, in absolutely no particular order because everyone's invited to the group chat:
struct leapraid_adapter_features(9)struct leapraid_adapter_attr(9)struct leapraid_io_req_tracker(9)struct leapraid_task_tracker(9)struct leapraid_rep_desc_maint(9)struct leapraid_rep_desc_seg_maint(9)struct leapraid_mem_desc(9)enum LEAPRAID_CB_INDEX(9)struct leapraid_default_reply(9)struct leapraid_sense_buffer(9)struct leapraid_driver_cmd(9)struct leapraid_driver_cmds(9)struct leapraid_dynamic_task_desc(9)struct leapraid_fw_evt_work(9)struct leapraid_fw_evt_struct(9)struct leapraid_rq(9)struct leapraid_int_rq(9)struct leapraid_blk_mq_poll_rq(9)struct leapraid_notification_desc(9)struct leapraid_overheat_desc(9)struct leapraid_reset_desc(9)struct leapraid_scan_dev_desc(9)struct leapraid_access_ctrl(9)struct leapraid_fw_log_desc(9)struct leapraid_card_port(9)struct leapraid_card_phy(9)struct leapraid_topo_node(9)struct leapraid_dev_topo(9)struct leapraid_boot_dev(9)struct leapraid_boot_devs(9)struct leapraid_enc_node(9)struct leapraid_raid_volume(9)struct leapraid_starget_priv(9)struct leapraid_sdev_priv(9)struct leapraid_sas_dev(9)struct leapraid_sas_port(9)struct leapraid_vphy(9)struct leapraid_tgt_rst_list(9)struct sense_info(9)struct leapraid_fw_log_info(9)enum reset_type(9)struct leapraid_card_port_feature(9)
like, that's the entire extended universe ππ every single one of them, exactly as listed, no edits.
and that's the page!! π§ this cutie comes to you from ./drivers/scsi/leapraid and is dated October 2026 β drink water, unmask your interrupts responsibly, and stan struct leapraid_adapter ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms