tb_for_each...port_on_path(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ tb_for_each...port_on_path(9) β€” Kernel API Manual πŸ¦‹

okay bestie, welcome to the Kernel API Manual page for tb_for_each_upstream_port_on_path(9) β€” yes the title up top is abbreviated because the full name is kinda long, but that's fine, we move πŸ’…


✨ NAME ✨

tb_for_each_upstream_port_on_path β€” literally just iterate over each upstream port on a path 🫢


πŸŽ€ SYNOPSIS πŸŽ€

tb_for_each_upstream_port_on_path (src , dst , p );

no cap, that's the whole signature. keep the spaces exactly as they are, she's quirky like that πŸ™ˆ


🌸 ARGUMENTS 🌸

  • src β€” the source port, like where the journey starts πŸš€
  • dst β€” the destination port, the final boss destination πŸ‘‘
  • p β€” the port that gets used as the iterator, aka the little loop variable doing all the walking πŸšΆβ€β™€οΈ

πŸ’– DESCRIPTION πŸ’–

So the way that this works is: it walks over each upstream lane adapter on the path from src to dst. that's it. that's the vibe. every upstream lane adapter along the way gets a visit, one at a time, and p is the main character holding your current spot in the iteration ✨

lowkey iconic macro energy β€” it's giving "for loop but with lore" πŸ’€

🌈 SEE ALSO 🌈

the whole friend group, in order, no one left out fr fr:


that's the whole page bestie, go forth and iterate 🧚

sign-off szn: this lil masterpiece lives in ./drivers/thunderbolt, dated October 2026, and it's page tb_for_each...port_on_path(9) of your fave manual. mwah πŸ’‹ ⭐

πŸ“¦ where this page comes from