STRUCT LEAPRAID_STARGET_PRIV(9)
π struct leapraid_starget_priv(9) π
okay so this is from the Kernel API Manual, section 9, and bestie it's literally the page for struct leapraid_starget_priv β the SCSI target private data situation. it's giving "small struct, big responsibilities" and i'm obsessed π
β¨ NAME β¨
struct leapraid_starget_priv β SCSI target private data β¨
πΈ SYNOPSIS πΈ
struct leapraid_starget_priv {
struct scsi_target *starget;
u64 sas_address;
u16 hdl;
int num_luns;
u32 flg;
u8 deleted;
u8 tm_busy;
struct leapraid_card_port *card_port;
struct leapraid_sas_dev *sas_dev;
};
like, that's the whole struct. nine members. every single one of them matters, no cap π
π¦ Members π¦
stargetβ the SCSI target structure itself. the main character, honestly πsas_addressβ the SAS address. it's au64, so it's got range πhdlβ the device handle (u16). short king π«Άnum_lunsβ number of LUNs, as anint. count 'em β¨flgβ flags (u32). just flags. vibes-based flags πdeletedβ the deletion flag (u8). she's marked πtm_busyβ the task management busy flag (u8). busy busy busy βcard_portβ pointer to the associatedstruct leapraid_card_port. the connection πsas_devβ pointer to thestruct leapraid_sas_dev. the device bestie π
π₯ SEE ALSO π₯
Kernel file ./drivers/scsi/leapraid/leapraid_func.h β that's where the whole squad lives, go look π§
then the full friend group, in order, no skips, periodt:
struct leapraid_adapter_features(9)β adapter features, iconic πstruct leapraid_adapter_attr(9)β adapter attributes, also iconic β¨struct leapraid_io_req_tracker(9)β io req tracking, she keeps receipts πstruct leapraid_task_tracker(9)β task tracking, same energy π¦struct leapraid_rep_desc_maint(9)β a reply descriptor, maint flavor πΈstruct leapraid_rep_desc_seg_maint(9)β a reply descriptor, seg-maint flavor πΈstruct leapraid_mem_desc(9)β memory descriptor, lowkey essential πenum LEAPRAID_CB_INDEX(9)β an enum, yes bestie an ENUM π₯struct leapraid_default_reply(9)β the default reply, the baseline πstruct leapraid_sense_buffer(9)β sense buffer, she senses things πstruct leapraid_driver_cmd(9)β a driver cmd π«Άstruct leapraid_driver_cmds(9)β many driver cmds, plural slay πstruct leapraid_dynamic_task_desc(9)β dynamic task desc, unpredictable πstruct leapraid_fw_evt_work(9)β fw event work item βstruct leapraid_fw_evt_struct(9)β fw event struct πstruct leapraid_rq(9)β request, abbreviated, efficient πΈstruct leapraid_int_rq(9)β the int-flavored request π¦struct leapraid_blk_mq_poll_rq(9)β blk mq poll request, say that five times πstruct leapraid_notification_desc(9)β a notification, you've been notified π (jk, no bell emoji in the original, that's just me)struct leapraid_overheat_desc(9)β overheat desc, she's warm π₯΅ (metaphorically)struct leapraid_reset_desc(9)β reset desc, starting over β¨struct leapraid_scan_dev_desc(9)β scan dev desc πstruct leapraid_access_ctrl(9)β access control, gatekeeping πstruct leapraid_fw_log_desc(9)β fw log desc πstruct leapraid_card_port(9)β the card port, referenced right up there β πstruct leapraid_card_phy(9)β card phy πΈstruct leapraid_topo_node(9)β topology node, she's arranged π¦struct leapraid_dev_topo(9)β device topology πstruct leapraid_boot_dev(9)β boot device π₯Ύstruct leapraid_boot_devs(9)β boot devices, plural again πstruct leapraid_adapter(9)β the adapter herself πstruct leapraid_enc_node(9)β enclosure node πstruct leapraid_raid_volume(9)β raid volume, the whole point tbh β¨struct leapraid_sdev_priv(9)β scsi dev private data, sibling energy π«Άstruct leapraid_sas_dev(9)β the sas dev, referenced right up there β πstruct leapraid_sas_port(9)β sas port πΈstruct leapraid_vphy(9)β virtual phy π§struct leapraid_tgt_rst_list(9)β target reset list πstruct sense_info(9)β sense info, more sensing πstruct leapraid_fw_log_info(9)β fw log info πenum reset_type(9)β again. an enum. we love her π₯struct leapraid_card_port_feature(9)β card port feature, last but never least β
fr fr go read ./drivers/scsi/leapraid/leapraid_func.h if you want the real thing β this page is just the tour π
and that's the whole page bestie, no notes, you ate π«Ά this one came from the source path ./drivers/scsi/leapraid, dated October 2026, with the manual title rendered all cute as struct leapr...starget_priv(9) β iconic abbreviation behavior, we respect it π
β¨
π¦ 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