STRUCT LEAPRAID_ADAPTER_LOG_REQ(9)
π struct leapraid_adapter_log_req β the Kernel API Manual tea β
okay so bestie, we're looking at struct leapraid_adapter_log_req(9) from the Kernel API Manual, and honestly? It's giving "little struct that could." It's the Adapter log request β yes, that's the whole NAME situation, short and slay π
β¨ SYNOPSIS β¨
like, here's the whole vibe of it, copy-paste exact bestie, don't @ me:
struct leapraid_adapter_log_req {
u8 action;
u8 type;
u8 chain_offset;
u8 func;
u8 r1[3];
u8 msg_flag;
u8 r2[4];
union {
u8 b[12];
__le16 s[6];
__le32 w[3];
} mbox;
struct leapraid_sge_simple64 sge;
};
yes the mbox union is doing MAIN CHARACTER energy with three whole aliases, we love a flexible icon π¦
π Members π
okay let's go field by field, this is the good part:
actionβ the action code. that's literally it, it's the action, it's coding the action, iconic β¨typeβ the log type, so the struct knows what kind of log moment we're having πΈchain_offsetβ the offset for chained SGE. chained!! like little linked besties πfuncβ function code. and alsor1: Reserved β sor1is the reserved squad, do not touch, no cap πmsg_flagβ message flags. andr2: Reserved βr2also reserved, hands off bestie πmboxβ mailbox for command-specific parameters. it's the little mailbox where the command-specific deets live π¬sgeβ scatter-gather entry for the data buffer. gather queen, scatter queen π«Ά
lowkey important:r1andr2are Reserved. like, reserved-reserved. don't be out here filling them in, that's not your moment π
π SEE ALSO π
okay this list is LONG, like, unreasonably long, but we respect the hustle. first up, the kernel file local legend:
- Kernel file
./drivers/scsi/leapraid/leapraid.h
and then the whole extended friend group, in order, because we do not skip people in this house π«Ά:
struct leapraid_reg_base(9)struct leapraid_atomic_req_desc(9)union leapraid_rep_desc_union(9)struct leapraid_req(9)struct leapraid_rep(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_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)
likeβ¦ seventy-something cross-references, we are THRIVING in the documentation ecosystem π
and that's the whole page bestie, you ate that π
cute little sign-off: this one lives in ./drivers/scsi/leapraid, it's dated October 2026, and yeah β same title, struct leapraid_adapter_log_req(9), that's her πβ¨
π¦ 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