tb_path_port_on_path(9)
π NAME π
okay so bestie, this is tb_path_port_on_path(9) from the Kernel API Manual β¨ and it answers one very specific question: Does the path go through certain port? Thatβs literally the whole vibe check π₯
β¨ SYNOPSIS β¨
hereβs the exact signature, copied with love π
bool tb_path_port_on_path (const struct tb_path *path , const struct
tb_port *port );
π ARGUMENTS π
pathβ the path to check. Like, the whole route bestie π£οΈportβ the switch to check. yes, the manpage says βswitchβ here and weβre keeping it exactly like that π
π¦ DESCRIPTION π¦
so the function goes over all the hops on path and checks if port is any of them π thatβs it, thatβs the whole thing.
Direction does not matter. fr fr, it literally doesnβt matter which way youβre going π
π RETURN π
true if port is on the path, and false otherwise. periodt π
π SEE ALSO π
- Kernel file
./drivers/thunderbolt/path.c tb_path_discover(9)tb_path_alloc(9)tb_path_free(9)tb_path_deactivate_hop(9)tb_path_activate(9)tb_path_is_invalid(9)
made with π«Ά from the ./drivers/thunderbolt corner of the kernel, dated October 2026 β this page is tb_path_port_on_path(9), and yes she ate π
β¨
π¦ 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