STRUCT LEAPRAID_ADAPTER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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. u32 and proud of it πŸ’…
  • mask_int β€” the interrupt masking flag. a single u8 doing 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