STRUCT LEAPRAID_SGE_CHAIN_UNION(9)
π NAME π
struct leapraid_sge_chain_union β the chained scatter-gather entry, bestie. That's it, that's the whole vibe. (This is from the Kernel API Manual, iykyk, so grab a snack and let's go π)
β¨ SYNOPSIS β¨
Okay so here's the actual shape of it, and no I did not touch a single character, look:
struct leapraid_sge_chain_union {
__le16 len;
u8 next_chain_offset;
u8 flg;
union {
__le32 addr32;
__le64 addr64;
} u;
};
Like, she's giving organized. She's giving struct. π
π¦ Members π¦
lenβ the length of the chain descriptor. That's her whole measurement era, we respect it. πnext_chain_offsetβ the offset pointing at the next SGE chain. She literally knows where the next one is. main character energy, no cap. β¨flgβ flags that tell you about the chain's or the termination's properties. the little labels on the vibe check π·οΈu.addr32β a 32-bit physical address. smol but mighty π«Άu.addr64β a 64-bit physical address. big address energy π
ngl the u union means it's one or the other, not both β pick your fighter and commit π
π SEE ALSO π
okay this next part is a lot β it's the entire extended friend group and we are NOT leaving anyone out, periodt. also shoutout to the kernel file ./drivers/scsi/leapraid/leapraid.h, the home base of all of these π
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_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)
like. seventy-something entries. all iconic, all accounted for, not one dropped. that's the whole roster ππ₯
anyway that's the page bestie, go read the whole family, they all live over in ./drivers/scsi/leapraid and this one's dated October 2026 β mwah, love u, bye ππ§
π¦ 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