tb_port_alloc_out_hopid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– tb_port_alloc_out_hopid(9) πŸ’–

hiii bestie!! welcome to the Kernel API Manual page for tb_port_alloc_out_hopid(9) β€” it’s giving β€œallocate output HopID from port” and we’re obsessed πŸ’…βœ¨

🌸 NAME 🌸

tb_port_alloc_out_hopid β€” allocate output HopID from port. periodt.

✨ SYNOPSIS ✨

int tb_port_alloc_out_hopid (struct tb_port *port , int min_hopid , int
       max_hopid );

πŸŽ€ ARGUMENTS πŸŽ€

  • port β€” the port you’re allocating a HopID for, bestie. main character energy 🫢
  • min_hopid β€” the minimum acceptable output HopID. the floor, the lowest we go πŸ’…
  • max_hopid β€” the maximum acceptable output HopID. the ceiling, the absolute limit ✨

πŸ” RETURN πŸ”

you get a HopID between min_hopid and max_hopid β€” iconic β€” or a negative errno in case of error. that’s the whole return vibe: HopID between min_hopid and max_hopid or negative errno in case of error πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file ./drivers/thunderbolt/switch.c is linked here, and the whole Thunderbolt friend group shows up:


okay that’s the whole page bestie!! mwah πŸ’‹ brought to you by the ./drivers/thunderbolt source tree β€” the October 2026 edition β€” signed off by your favorite tb_port_alloc_out_hopid(9) page πŸ«ΆπŸŽ€βœ¨

πŸ“¦ where this page comes from