tb_domain_disapprove_switch(9)
π©οΈ 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 π:
tb_domain_alloc(9)tb_domain_add(9)tb_domain_remove(9)tb_domain_suspend_noirq(9)tb_domain_resume_noirq(9)tb_domain_approve_switch(9)tb_domain_approve_switch_key(9)tb_domain_challenge_switch_key(9)tb_domain_disconnect_pcie_paths(9)tb_domain_approve_xdomain_paths(9)tb_domain_disconnect_xdomain_paths(9)tb_domain_disconnect_all_paths(9)
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
- 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