STRUCT TBSTREAM_GROUP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct tbstream_group(9) πŸ’–

okay so bestie, we're in the Kernel API Manual today and this one is literally the config group for a stream πŸ¦‹ ngl it's a glow-up of a struct, let's get into it ✨


🌸 NAME 🌸

struct tbstream_group β€” the config group for a stream, periodt πŸ’…


✨ SYNOPSIS ✨

struct tbstream_group {
    struct config_group group;
    struct tbstream *stream;
    struct mutex lock;
    struct list_head dev_list;
 };

πŸŽ€ Members πŸŽ€

  • group β€” the ConfigFS group for the stream, it's giving organizational queen πŸ‘‘
  • stream β€” the stream that this ConfigFS group is attached to. It's NULL if there is no stream attached, so like… empty vibes πŸ™ˆ
  • lock β€” the lock protecting this structure, do not skip her she's the main character πŸ”₯
  • dev_list β€” the list of stream devices πŸ“

πŸ’œ Description πŸ’œ

Bestie, this is the ConfigFS directory for one connection to another host. No cap. 🫢

There can be several struct stream_dev linked through dev_list of this structure, so like a whole lil friend group in there 🌈 and the reference count is managed through group, iykyk ✨


🌟 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(9) β€” go read them, they ate πŸ’…πŸ”₯


lowkey that's the whole page bestie, go forth and slay your ConfigFS directories πŸ§šπŸ’–

mwah πŸ’‹ this came from ./drivers/thunderbolt, dated October 2026, and yeah the footer is literally struct tbstream_group(9) again because she said it twice and honestly? iconic πŸ’…βœ¨

πŸ“¦ where this page comes from