tb_cfg_request_sync(9)
π tb_cfg_request_sync(9) π
okay bestie, welcome to the Kernel API Manual entry for tb_cfg_request_sync β control-request girlie is here to start a request and wait for it to finish, and honestly? iconic behavior. πβ¨
πΈ NAME πΈ
tb_cfg_request_sync β Start control request and wait until it completes. periodt. π
π¦ SYNOPSIS π¦
struct tb_cfg_result tb_cfg_request_sync (struct tb_ctl *ctl , struct
tb_cfg_request *req , int timeout_msec );
π ARGUMENTS π
ctlβ the control channel to use, bestie. thatβs the one. π«Άreqβ the request to start. go off, little request. β¨timeout_msecβ the timeout for how long to wait forreqto complete. yes, the_msecis literally right there. β³
π DESCRIPTION π
So this function starts a control request and then waits until it completes. very βIβll waitβ main character energy. π
If the timeout triggers, the request is canceled before the function returns. no lingering, no ghosting, it gets canceled. ππ₯
β οΈ Important caveat: the caller needs to make sure only one message for the given switch is active at a time. not two, not a little group chat β just one. π
π RETURN π
It returns a struct tb_cfg_result, and if an error has occurred, the err field is non-zero. thatβs your little error flag, bestie β check it. π©β¨
π§ SEE ALSO π§
Kernel file ./drivers/thunderbolt/ctl.c, plus these absolute icons: struct tb_ctl(9), tb_cfg_request_alloc(9), tb_cfg_request_get(9), tb_cfg_request_put(9), tb_cfg_request(9), tb_cfg_request_cancel(9), tb_ctl_alloc(9), tb_ctl_free(9), tb_ctl_start(9), tb_ctl_stop(9), tb_cfg_ack_notification(9), tb_cfg_ack_plug(9), tb_cfg_reset(9), tb_cfg_read_raw(9), tb_cfg_write_raw(9), and tb_cfg_get_upstream_port(9). iykyk. π¦π
signing off from ./drivers/thunderbolt, dated October 2026, with full tb_cfg_request_sync(9) energy β slay, and read your manpages. π
πβ¨
π¦ 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