tb_cfg_request_put(9)
π tb_cfg_request_put β the Kernel API Manual
okay bestie, welcome to the tb_cfg_request_put(9) page π this one lives in the Kernel API Manual and it's honestly so short and sweet β like, a tiny little function with big main character energy β¨
πΈ NAME πΈ
tb_cfg_request_put β decrease the refcount and possibly release the request π
β¨ SYNOPSIS β¨
void tb_cfg_request_put (struct tb_cfg_request *req );
π«Ά ARGUMENTS π«Ά
reqβ the request whose refcount is about to get decreased π that's it, that's the whole argument, she's lowkey simple like that
π DESCRIPTION π
okay so here's the vibe: you call this function when you are done with the request. like, fully done, no take-backsies, you've said your goodbyes π
and when the refcount goes to 0? the object gets released π₯ periodt. that's the whole deal. no cap, that's the entire description and honestly she ate π
ngl bestie, keep track of your refcounts β 0 means the object is gone, so don't come back looking for it π that's just how it is
π¦ SEE ALSO π¦
all the siblings and cousins in this little thunderbolt family tree, iykyk π« the kernel file is ./drivers/thunderbolt/ctl.c and these are the friends:
struct tb_ctl(9)tb_cfg_request_alloc(9)tb_cfg_request_get(9)tb_cfg_request(9)tb_cfg_request_cancel(9)tb_cfg_request_sync(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)tb_cfg_get_upstream_port(9)
and that's the whole page, bestie π it's from ./drivers/thunderbolt, dated October 2026, and it's filed under the name tb_cfg_request_put(9) β go forth and decrement 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