tb_tunnel_is_invalid(9)
π tb_tunnel_is_invalid(9) β the Kernel API Manual moment
okay so bestie, welcome to tb_tunnel_is_invalid, straight out of the Kernel API Manual β¨ this is a tiny little function but she's doing her thing, and we're gonna get into it.
πΈ NAME
tb_tunnel_is_invalid β check whether an activated path is still valid π«Ά
β¨ SYNOPSIS
bool tb_tunnel_is_invalid (struct tb_tunnel *tunnel );
that's it. that's the whole vibe check. she takes one pointer and hands you back a bool. iconic behavior, no notes π
π ARGUMENTS
tunnelβ the tunnel you want to check, bestie. that's the whole thing. hand her the tunnel and she'll look at it π
π¦ RETURN
Returns true if the path is valid, false otherwise.
okay so not me noticing the name literally says invalid while the RETURN section says true means valid π i'm just the messenger, i'm reading the page exactly as it's written, do not come for me π the manpage says what it says, fr fr.
π SEE ALSO
the kernel file lives at ./drivers/thunderbolt/tunnel.c and honestly she runs with a whole entourage β here's the full squad, no cap:
tb_available_credits(9)tb_tunnel_event(9)tb_tunnel_discover_pci(9)tb_tunnel_alloc_pci(9)tb_tunnel_reserved_pci(9)tb_dp_bandwidth_mode_maximum_bandwidth(9)tb_tunnel_discover_dp(9)tb_tunnel_alloc_dp(9)tb_tunnel_alloc_dma(9)tb_tunnel_match_dma(9)tb_tunnel_discover_usb3(9)tb_tunnel_alloc_usb3(9)tb_tunnel_activate(9)tb_tunnel_deactivate(9)tb_tunnel_port_on_path(9)tb_tunnel_maximum_bandwidth(9)tb_tunnel_allocated_bandwidth(9)tb_tunnel_alloc_bandwidth(9)tb_tunnel_consumed_bandwidth(9)tb_tunnel_release_unused_bandwidth(9)tb_tunnel_reclaim_available_bandwidth(9)
like, twenty-one whole siblings. main character energy runs in the family apparently π
and that's the whole page, bestie!! no more tea, she's short and sweet π this lil' cutie came from ./drivers/thunderbolt, dated October 2026, and you can find her filed under tb_tunnel_is_invalid(9) π§π byeee slay β¨
π¦ 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