STRUCT LEAPRAID_REP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct leapraid_rep(9) β€” Generic reply header ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” we're looking at struct leapraid_rep(9) today, aka the generic reply header. ngl this one is short but it's giving foundational, yk? every reply in the leapraid family is lowkey built on this vibe πŸŽ€


🌸 NAME 🌸

struct leapraid_rep β€” Generic reply header πŸ’…


✨ SYNOPSIS ✨

struct leapraid_rep {
    u8 r1[2];
    u8 msg_len;
    u8 function;
    u8 r2[10];
    __le16 adapter_status;
    u8 r3[4];
 };

🫢 Members 🫢

  • r1 β€” Reserved πŸ™ˆ (just vibe padding, don't touch, it's not your business)
  • msg_len β€” Length of the reply message in bytes πŸ“ bestie this is literally how many bytes the reply is, count them and slay
  • function β€” Function code corresponding to the request πŸ”₯ this is the matching function code for the request, iykyk
  • r2 β€” Reserved πŸ™ˆ (again! reserved! hands off!)
  • adapter_status β€” Status code reported by the adapter πŸ‘‘ this is the tea the adapter is spilling about its status
  • r3 β€” Reserved πŸ’€ third reserved block, we love a consistent aesthetic

🌈 SEE ALSO 🌈

okay so there is so much family here, buckle up bestie, these are all icons in their own right πŸ’œ

  • Kernel file ./drivers/scsi/leapraid/leapraid.h struct
  • leapraid_reg_base(9)
  • struct leapraid_atomic_req_desc(9)
  • union leapraid_rep_desc_union(9)
  • struct leapraid_req(9)
  • struct leapraid_sge_simple32(9)
  • struct leapraid_sge_simple64(9)
  • struct leapraid_sge_simple_union(9)
  • struct leapraid_sge_chain_union(9)
  • struct leapraid_ieee_sge_simple32(9)
  • struct leapraid_ieee_sge_simple64(9)
  • union leapraid_ieee_sge_simple_union(9)
  • union leapraid_ieee_sge_chain_union(9)
  • struct leapraid_chain64_ieee_sg(9)
  • union leapraid_ieee_sge_io_union(9)
  • union leapraid_simple_sge_union(9)
  • union leapraid_sge_io_union(9)
  • struct leapraid_cfg_pg_header(9)
  • struct leapraid_cfg_ext_pg_header(9)
  • struct leapraid_cfg_req(9)
  • struct leapraid_cfg_rep(9)
  • struct leapraid_boot_dev_format_sas_wwid(9)
  • struct leapraid_boot_dev_format_enc_slot(9)
  • struct leapraid_boot_dev_format_dev_name(9)
  • union leapraid_boot_dev_format(9)
  • struct leapraid_manufacturing_p0(9)
  • struct leapraid_bios_page2(9)
  • struct leapraid_bios_page3(9)
  • struct leapraid_raidvol0_phys_disk(9)
  • struct leapraid_raidvol_p0(9)
  • struct leapraid_raidvol_p1(9)
  • struct leapraid_raidpd_p0(9)
  • struct leapraid_sas_io_unit0_phy_info(9)
  • struct leapraid_sas_io_unit_p0(9)
  • struct leapraid_exp_p0(9)
  • struct leapraid_exp_p1(9)
  • struct leapraid_sas_dev_p0(9)
  • struct leapraid_sas_phy_p0(9)
  • struct leapraid_enc_p0(9)
  • struct leapraid_raid_cfg_p0_element(9)
  • struct leapraid_raid_cfg_p0(9)
  • union leapraid_mpi_scsi_io_cdb_union(9)
  • struct leapraid_mpi_scsiio_req(9)
  • union leapraid_scsi_io_cdb_union(9)
  • struct leapraid_scsiio_req(9)
  • struct leapraid_scsiio_rep(9)
  • struct leapraid_scsi_tm_req(9)
  • struct leapraid_scsi_tm_rep(9)
  • struct leapraid_sep_req(9)
  • struct leapraid_sep_rep(9)
  • struct leapraid_adapter_init_req(9)
  • struct leapraid_rep_desc_q_arr(9)
  • struct leapraid_adapter_init_rep(9)
  • struct leapraid_adapter_log_req(9)
  • struct leapraid_adapter_log_rep(9)
  • struct leapraid_adapter_features_req(9)
  • struct leapraid_adapter_features_rep(9)
  • struct leapraid_scan_dev_req(9)
  • struct leapraid_scan_dev_rep(9)
  • struct leapraid_evt_notify_req(9)
  • struct leapraid_evt_notify_rep(9)
  • struct leapraid_evt_data_sas_dev_status_change(9)
  • struct leapraid_evt_data_ir_change(9)
  • struct leapraid_evt_data_sas_disc(9)
  • struct leapraid_evt_sas_topo_phy_entry(9)
  • struct leapraid_evt_data_sas_topo_change_list(9)
  • struct leapraid_evt_data_sas_enc_dev_status_change(9)
  • struct leapraid_io_unit_ctrl_req(9)
  • struct leapraid_io_unit_ctrl_rep(9)
  • struct leapraid_raid_act_req(9)
  • struct leapraid_raid_act_rep(9)
  • struct leapraid_smp_passthrough_req(9)
  • struct leapraid_smp_passthrough_rep(9)
  • struct leapraid_sas_io_unit_ctrl_req(9)

fr fr bestie: three of the six members are just reserved padding. that's not a bug, that's just how the header is laid out β€” do not go writing into r1, r2 or r3 like you found a secret slot πŸ’€

okay that's the whole page, short and sweet, main character energy only 🧚 and before you go β€” this cutie lives in ./drivers/scsi/leapraid and the page is dated October 2026 ⭐ take care of her, mwah πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from