STRUCT TRANSPORT_SNAPSHOT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct transport_snapshot(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual ✨ you're literally about to read a whole manpage about struct transport_snapshot, and honestly? she's a little mysterious, but we love her anyway πŸ’…


🌸 NAME 🌸

struct transport_snapshot β€” this structure is the SCU hardware scratch area</> for the task context 🫢 lowkey iconic of her. So here's the tea: the driver sets this thing to 0, but you can still read it β€” all you gotta do is issue a dump TC request to the SCU. no cap, that's the whole vibe check 😭


✨ SYNOPSIS ✨

struct transport_snapshot {
    u32 xfer_rdy_write_data_length;
    u32 data_offset;
    u32 data_transfer_size:24;
    u32 reserved_50_0:8;
    u32 next_initiator_write_data_offset;
    u32 next_initiator_write_data_xfer_size:24;
    u32 reserved_58_0:8;
 };

look at her πŸ’– every field is u32, except the ones with bitfields β€” data_transfer_size:24 with reserved_50_0:8 riding shotgun, and next_initiator_write_data_xfer_size:24 with its own reserved_58_0:8 bestie. the reserved ones are literally just vibing in the corner ✨ and yes, the reserved_* fields are named with those exact _50_0 / _58_0 suffixes, we don't make the rules, we just respect them πŸ™ˆ


πŸ¦‹ Members πŸ¦‹

so… there are no members listed here 😢 the section exists, the section is empty. not me showing up to a Members section with nothing in it πŸ’€ just know the fields are all up there in the synopsis, and their descriptions are living their best mysterious lives elsewhere. periodt ✨


πŸ”₯ SEE ALSO πŸ”₯

like, go look at her friends πŸ‘‘ the whole squad is in the kernel file ./drivers/scsi/isci/scu_task_context.h (enum), and honestly the friend group is stacked:

  • enum scu_ssp_task_type(9)
  • enum scu_sata_task_type(9)
  • struct ssp_task_context(9)
  • struct stp_task_context(9)
  • struct smp_task_context(9)
  • struct primitive_task_context(9)
  • struct scu_sgl_element(9)
  • struct scu_sgl_element_pair(9)
  • struct scu_task_context(9)

this is the iykyk corner of the isci driver directory, bestie 🧚


🫢 tiny reminder that struct transport_snapshot gets set to 0 by the driver β€” if you want to actually see anything in there, the move is issuing a dump TC request to the SCU. that's the only way in, and it's straight from the source, not me guessing πŸ’œ

sign-off time πŸŽ€βœ¨

this page lives in ./drivers/scsi/isci and it's dated October 2026 🌈 so yeah, she's from the future (kinda), she's a kernel API page, and she ate. go forth and read your scratch area, bestie πŸ’…πŸ’–πŸ¦‹

πŸ“¦ where this page comes from