STRUCT LEAPRAID_STARGET_PRIV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a u64, so it's got range πŸ’…
  • hdl β€” the device handle (u16). short king 🫢
  • num_luns β€” number of LUNs, as an int. 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 associated struct leapraid_card_port. the connection 🌈
  • sas_dev β€” pointer to the struct 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