tb_domain_approve_switch(9)
πΈ NAME πΈ
okay bestie, welcome to tb_domain_approve_switch(9) from the Kernel API Manual π this one is literally called tb_domain_approve_switch β aka Approve switch β and yes, itβs giving βdo what it says on the tinβ energy.
π SYNOPSIS π
int tb_domain_approve_switch (struct tb *tb , struct tb_switch *sw );
π«Ά ARGUMENTS π«Ά
tbβ the domain the switch belongs to.swβ the switch to approve.
β¨ DESCRIPTION β¨
so the way this works is: tb_domain_approve_switch() approves the switch by connection-manager-specific means π¦ and if that succeeds, the connection manager will create a PCIe tunnel from the parent to sw. slay, honestly.
π RETURN π
0on success β¨- a negative errno otherwise π
π SEE ALSO π
Kernel file: ./drivers/thunderbolt/domain.c β the whole squad is here, no cap:
tb_domain_alloc(9)tb_domain_add(9)tb_domain_remove(9)tb_domain_suspend_noirq(9)tb_domain_resume_noirq(9)tb_domain_disapprove_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)
mwah π this cutie comes from the ./drivers/thunderbolt source/version, dated October 2026, and itβs literally page tb_domain_approve_switch(9). periodt π
π¦ 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