tb_xdomain_unregister(9)
β¨ tb_xdomain_unregister(9) β like, the Kernel API Manual, bestie π
okay so real quick β this is a page from the Kernel API Manual, section 9, and it's all about tb_xdomain_unregister. strap in π
πΈ NAME πΈ
tb_xdomain_unregister β Unregister XDomain. that's the whole vibe. bye-bye XDomain π¦
β SYNOPSIS β
void tb_xdomain_unregister (struct tb_xdomain *xd);
literally returns nothing (void), takes one arg, and it's giving "clean exit, no notes" energy π
π ARGUMENTS π
xdβ the XDomain you're about to unregister. yes bestie, this is the one you're sending off π«Ά
π DESCRIPTION π
okay so here's the tea β β this will unregister the XDomain along with any services from the bus. all of it. together. as a unit. iconic behavior honestly β¨
and then, the important part: when the last reference to xd is released, the object will be released as well. so it's not an instant delete-delete situation β it's more like "we let go when everyone else lets go" π no cap, it's refcount city over here.
π don't be out here assuming the object vanishes the second you call this β it drops when the last reference to xd is released. read it again, bestie, i'll wait π
π₯ SEE ALSO π₯
the whole friend group, fr fr:
- Kernel file
./drivers/thunderbolt/xdomain.c 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_remove(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)
and that's the page, babes π go forth and unregister responsibly. mwah π
signed, sealed, delivered from ./drivers/thunderbolt, dated October 2026 β catch you on the next page π§ββοΈπ
π¦ 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