framer_put(9)
π framer_put(9) β the Kernel API Manual page, bestie edition
okay so this is framer_put from section 9 of the Kernel API Manual, and honestly? it's giving "one job, does it perfectly." she's the cleanup queen, the release-the-framer girlie, and we are obsessed π
β¨ NAME β¨
framer_put β release the framer π
π¦ SYNOPSIS π¦
void framer_put (struct device *dev , struct framer *framer );
like, that's the whole signature. no drama, no returns, just vibes and a void. periodt β¨
πΈ ARGUMENTS πΈ
two besties walk into the function:
devβ the device that wants to release this framer π«Ά she's the one saying "okay i'm done with this, take it back."framerβ the framer returned byframer_getπ literally the exact same one you got handed earlier, no substitutions, no swapsies.
π DESCRIPTION π
so here's the tea β β this function releases a refcount that the caller received from framer_get. that's it. that's the whole plot.
you grabbed the framer with framer_get, you did your little thing with it, and now you're handing the ref back because you're a responsible main character who doesn't leak resources πβ¨ the way that refcount goes back down is honestly iconic of her.
no cap, this is the "k bye" of kernel APIs and she slays it every single time π
π SEE ALSO π
the whole framer friend group, fr fr β go read these too, iykyk:
framer_init(9)framer_exit(9)framer_power_on(9)framer_power_off(9)framer_get_status(9)framer_set_config(9)framer_get_config(9)framer_notifier_register(9)framer_notifier_unregister(9)framer_get(9)devm_framer_get(9)devm_framer_optional_get(9)framer_create(9)framer_destroy(9)devm_framer_create(9)framer_provider_simple_of_xlate(9)__framer_provider_of_register(9)framer_provider_of_unregister(9)__devm_framer_provider_of_register(9)framer_release(9)
and if you wanna peek at the actual source (yes, the kernel file, go look bestie π₯):
./drivers/net/wan/framer/framer-core.c
π«Ά reminder: if you got a ref fromframer_get, you gotta give it back withframer_put. no ghosting your refcounts, bestie β that's how leaks happen and leaks are not the vibe check you want to fail π
and that's the page!! π this little slice of the Kernel API Manual came from the directory ./drivers/net/wan/framer, and it's dated October 2026 β so like, future-coded but timeless. mwah, go release some framers 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