__stm_source_link_drop(9)
π __stm_source_link_drop π
okay bestie, welcome to the Kernel API Manual (section 9) β this page is all about __stm_source_link_drop, and it's lowkey the βunlink eraβ icon we need. πβ¨
β¨ NAME β¨
__stm_source_link_drop β detach stm_source from an stm device. periodt. π
π οΈ SYNOPSIS π οΈ
int __stm_source_link_drop (struct stm_source_device *src , struct stm_device *stm );
π¬ ARGUMENTS π¬
srcβ thestm_sourcedevice, aka the source bestie in this situation. π«Άstmβ thestmdevice, aka the other half of the link vibe. π
π DESCRIPTION π
If stm is src::link, disconnect them from one another and put the reference on the stm device. no cap, that's the whole move. βοΈπ
Caller must hold stm::link_mutex. like, MUST must β this is not a drill, bestie. ππ€
π SEE ALSO π
Kernel file ./drivers/hwtracing/stm/core.c and the whole friend group:
stm_find_device(9)stm_put_device(9)stm_data_write(9)stm_source_link_add(9)stm_source_link_drop(9)stm_source_register_device(9)stm_source_unregister_device(9)
mwah π β this cutie came from ./drivers/hwtracing/stm, dated October 2026, and it's literally __stm_source_link_drop(9). slay. π¦β¨
π¦ 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