tb_port_pat...n_downstream(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tb_port_pat...n_downstream(9) β€” like, the Kernel API Manual page, bestie ✨

okay so this is one of those kernel API manual pages (yes the truncated-looking title is literally the title, tb_port_pat...n_downstream(9), no I'm not kidding, that's just how it renders 🫢) and it's honestly so niche and so specific and I'm obsessed.


🌸 NAME 🌸

tb_port_path_direction_downstream β€” the little function that checks if a path is directed downstream. that's it. that's the whole vibe check πŸ’…


✨ SYNOPSIS ✨

bool tb_port_path_direction_downstream (const struct tb_port *src ,
       const struct tb_port *dst );

πŸŽ€ ARGUMENTS πŸŽ€

  • src β€” the source adapter. literally where the path starts, bestie 🌸
  • dst β€” the destination adapter. where the path is headed, no cap πŸ¦‹

πŸ‘‘ RETURN πŸ‘‘

returns true only if the specified path from the source adapter (src) to the destination adapter (dst) is directed downstream.

fr fr, only if. like it's not out here handing out true for just any direction β€” downstream or nothing πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, gathered for you 🫢 (all from the kernel file ./drivers/thunderbolt/tb.h):

like, that's a whole squad right there 🌈 go read them, iykyk πŸ’œ


sign-off time πŸŽ€ this iconic little page lives in ./drivers/thunderbolt, it's dated October 2026, and it's part of the Kernel API Manual β€” mwah, sending you all the downstream energy, bestie πŸ’–βœ¨πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from