tb_domain_add(9)
β¨ NAME β¨
tb_domain_add β Add domain to the system π
okay so bestie, this is the Kernel API Manual page for tb_domain_add(9), and itβs literally the βput your domain on the systemβ moment π«Άβ¨
π SYNOPSIS π
int tb_domain_add (struct tb *tb , bool reset );
π ARGUMENTS π
tbβ Domain to add πresetβ Issue reset to the host router β‘
π¦ DESCRIPTION π¦
Starts the domain and adds it to the system. Hotplugging devices will work after this has been returned successfully β thatβs the whole vibe, no cap π₯
In order to remove and release the domain after this function has been called, call tb_domain_remove. Thatβs your cleanup bestie, donβt ghost it ππ
bestie reminder: aftertb_domain_addhas been called, the removal-and-release path istb_domain_removeπ
β RETURN β
0on success π₯³- negative
errnootherwise π¬
π SEE ALSO π
The kernel file is ./drivers/thunderbolt/domain.c, and the whole bestie lineup is:
tb_domain_alloc(9)tb_domain_remove(9)tb_domain_suspend_noirq(9)tb_domain_resume_noirq(9)tb_domain_disapprove_switch(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)
Source/version: ./drivers/thunderbolt Β· date: October 2026 Β· page: tb_domain_add(9) β bye bestie, slay responsibly ππ
β¨
π¦ 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