STRUCT TBSTREAM(9)
π 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 onsvcβ a pointer to the service device, so she always knows where she came from π§listβ streams get linked through this bad boy insidestream_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
- 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