tb_domain_disapprove_switch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌩️ NAME 🌩️

okay so bestie, this is tb_domain_disapprove_switch(9) β€” the Kernel API Manual entry for tb_domain_disapprove_switch, aka the "Disapprove switch" function πŸ’… (yes that's the actual one-liner, she's blunt and we respect it)


✨ SYNOPSIS ✨

int tb_domain_disapprove_switch (struct tb *tb , struct tb_switch *sw );

that's it. that's the whole vibe check. two args in, one int out πŸŽ€


🫢 ARGUMENTS 🫢

  • tb β€” the domain the switch belongs to (her home turf, her main character domain 🏠)
  • sw β€” the switch to disapprove (sorry girl, it's not you it's the tunnel 😭)

πŸ’œ DESCRIPTION πŸ’œ

the way that this one is literally so short: this will disconnect the PCIe tunnel from parent to this sw ✨ no cap, that's the entire bit. it takes the PCIe tunnel that runs from the parent over to this switch and it disconnects it. periodt. πŸ’…

ngl it's giving "uninvited from the group chat but make it silicon" πŸ¦‹


🌸 RETURN 🌸

  • 0 β€” on success, slay πŸ‘‘
  • negative errno β€” in case of failure (it flopped, and it's telling you exactly how in errno format πŸ™ˆ)

🌈 SEE ALSO 🌈

  • Kernel file: ./drivers/thunderbolt/domain.c

and the whole friend group πŸ’–:


and that's the whole page bestie 🫢 this one lives in ./drivers/thunderbolt, dated October 2026, and yes she's filed under tb_domain_disapprove_switch(9) β€” literally the same name as the top, iconic consistency πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from