STRUCT TBSTREAM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tbstream(9) πŸ’…

okay so bestie, we're diving into the Kernel API Manual and today's main character is struct tbstream β€” literally the glow-up of kernel docs, no cap ✨


🌸 NAME 🌸

struct tbstream β€” the stream service's very own private data 🫢 (yes, it's private, don't be nosy πŸ’…)


✨ SYNOPSIS ✨

struct tbstream {
    struct kref kref;
    struct tb_service *svc;
    struct list_head list;
};

look at her. iconic. not a single wasted line πŸ’–


πŸŽ€ Members πŸŽ€

  • kref β€” the reference count, aka her personal hype squad πŸ—£οΈ keeps track of how many people are still holding on
  • svc β€” a pointer to the service device, so she always knows where she came from 🧚
  • list β€” streams get linked through this bad boy inside stream_list πŸ”— it's giving group chat energy fr fr

πŸ¦‹ Description πŸ¦‹

okay so here's the tea β˜• β€” this struct represents the actual physical connection between two hosts πŸ’€ like, not a vibe, not a metaphor, a real physical link. main character energy honestly πŸ‘‘

ngl it's lowkey just a little struct but it's holding the whole connection together, so show some respect πŸ™ˆ

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/thunderbolt/stream.c πŸ”₯
  • enum tbstream_frame_pdf(9)
  • struct tbstream_frame(9)
  • struct tbstream_ring(9)
  • struct tbstream_dev(9)
  • struct tbstream_group(9)

the whole friend group honestly, go say hi to all of them πŸ’œ


and that's the vibe check bestie βœ… this little gem lives in ./drivers/thunderbolt, stamped October 2026 β€” struct tbstream(9), slay, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from