tb_xdomain_remove(9)
π tb_xdomain_remove β the kernel API manual, bestie edition β¨
okay so we're in tb_xdomain_remove(9) territory today, and honestly? it's a little goodbye-coded but in a good way π«Ά
πΈ NAME πΈ
tb_xdomain_remove β Remove XDomain. yes that's the whole job, she's a one-task queen π
β¨ SYNOPSIS β¨
void tb_xdomain_remove (struct tb_xdomain *xd );
no return value, no drama, just vibes and a pointer π
π ARGUMENTS π
xdβ the XDomain to remove. that's the one getting the farewell tour π¦
π DESCRIPTION π
okay so here's the tea: this function will stop all ongoing configuration work. like, everything currently in motion? paused, cancelled, done-zo β
but β and this is the important part, don't skip it β the XDomain is not removed from the bus if it was added. nope. that's a whole separate errand, and you gotta do it yourself by calling tb_xdomain_unregister. literally cannot stress this enough π
π¨ also: this gets called with tb->lock held. so keep that lock held, bestie, or things get weird π
π¦ SEE ALSO π¦
the whole friend group, no cap β kernel file ./drivers/thunderbolt/xdomain.c plus:
tb_xdomain_response(9)tb_xdomain_request(9)tb_register_protocol_handler(9)tb_unregister_protocol_handler(9)tb_register_service_driver(9)tb_unregister_service_driver(9)tb_service_properties_changed(9)tb_xdomain_alloc(9)tb_xdomain_add(9)tb_xdomain_unregister(9)tb_xdomain_lane_bonding_enable(9)tb_xdomain_lane_bonding_disable(9)tb_xdomain_alloc_in_hopid(9)tb_xdomain_alloc_out_hopid(9)tb_xdomain_release_in_hopid(9)tb_xdomain_release_out_hopid(9)tb_xdomain_enable_paths(9)tb_xdomain_disable_paths(9)tb_xdomain_find_by_uuid(9)tb_xdomain_find_by_link_depth(9)tb_xdomain_find_by_route(9)tb_register_property_dir(9)tb_unregister_property_dir(9)
like I said. the whole group chat π
π that's the page!! brought to you by./drivers/thunderbolt, dated October 2026, and yes it's stilltb_xdomain_remove(9)β same icon, same energy, mwah π§β¨
π¦ 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