STRUCT LEAPRAID_CHAIN64_IEEE_SG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct leapraid_chain64_ieee_sg(9) β€” like, the 64-bit IEEE chain SGE descriptor, bestie ✨

okay so this is a page from the Kernel API Manual, section 9, and it's literally just gonna introduce you to one lil struct. no cap, it's a whole vibe. let's go 🫢


🌈 SYNOPSIS 🌈

here's the whole thing, character for character, because we do not play about accuracy:

struct leapraid_chain64_ieee_sg {
    __le64 addr;
    __le32 len;
    u8 r1[2];
    u8 next_chain_offset;
    u8 flg;
 };

that's it. that's the struct. iconic behavior honestly πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

so the NAME of this whole situation is struct leapraid_chain64_ieee_sg, and it's the 64-bit IEEE chain SGE descriptor. that's the assignment. that's what we're doing here. main character struct energy fr fr πŸ‘‘


✨ Members ✨

okay bestie, let's meet the members one by one, because each one is doing its little job and we respect that πŸ’–

  • addr β€” the physical address of the next chain segment. yes, physical, not virtual β€” it said what it said πŸ’…
  • len β€” the length of the current SGE. that's the whole vibe check for this field 🌸
  • r1 β€” reserved. hands off, it's reserved, we don't touch it πŸ™ˆ
  • next_chain_offset β€” the offset to the next chain element. the way it points you to what's next… very giving tour guide 🧚
  • flg β€” flags that describe SGE attributes. little flag field, big responsibilities ⭐

πŸ‘‘ SEE ALSO πŸ‘‘

the Kernel file ./drivers/scsi/leapraid/leapraid.h struct, plus literally this entire extended family of pages β€” grab a snack, this list is long and we are NOT skipping a single one πŸ”₯

  • 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)
  • 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)

slay. every single one accounted for πŸ’€βœ¨


lowkey a lil PSA: r1 is reserved, so don't be out here writing your own lore into it, k? 🫢

and that's the page!! brought to you by the source at ./drivers/scsi/leapraid, dated October 2026 β€” mwah, go read the whole leapraid header family, ily, bye bestie πŸŒˆπŸ’œπŸŽ€

πŸ“¦ where this page comes from