devm_reset_...ive_released(9)
π devm_reset_...ive_released(9)
okay bestie, welcome to the Kernel API Manual β¨ this one's a mouthful and the title literally got truncated by the manpage gremlins, but we move. It's the page for devm_reset_control_bulk_get_optional_exclusive_released, and yes, that is a real function name and yes, I'm obsessed with how unhinged it is π
πΈ NAME πΈ
devm_reset_control_bulk_get_optional_exclusive_released β the resource-managed glow-up of reset_control_bulk_optional_get_exclusive_released() π«Ά
β¨ SYNOPSIS β¨
int devm_reset_control_bulk_get_optional_exclusive_released (struct
device *dev , int num_rstcs , struct reset_control_bulk_data *rstcs );
that's the whole vibe. three args, one int back, no cap π
π¦ ARGUMENTS π¦
devβ the device that's getting reset by the controller. it's the main character here πnum_rstcsβ how many entries live in therstcsarray. like, how many besties are we grabbing πrstcsβ an array ofstruct reset_control_bulk_data, with the reset line names already set. names in, resets out π
π₯ DESCRIPTION π₯
So this is the managed version of reset_control_bulk_optional_get_exclusive_released. For any reset controllers you get back from this function, reset_control_put gets called automatically on driver detach β like, you don't have to do the cleanup yourself, the kernel handles it for you. periodt π§
For more deets, go see reset_control_bulk_optional_get_exclusive_released β this one isn't trying to explain everything twice.
π SEE ALSO π
It's giving "linked list of every reset function in the tree" and honestly the way that it just keeps going π but here's the full squad, all of them:
- Kernel file
./include/linux/reset.hstruct reset_control_bulk_data(9) enum reset_control_flags(9)reset_control_get_exclusive(9)reset_control_bulk_get_exclusive(9)reset_control_get_exclusive_released(9)reset_control_bulk_get_exclusive_released(9)reset_control_bulk_get_optional_exclusive_released(9)reset_control_get_shared(9)reset_control_bulk_get_shared(9)reset_control_get_optional_exclusive(9)reset_control_bulk_get_optional_exclusive(9)reset_control_get_optional_shared(9)reset_control_bulk_get_optional_shared(9)of_reset_control_get_exclusive(9)of_reset_control_get_optional_exclusive(9)of_reset_control_get_shared(9)of_reset_control_get_exclusive_by_index(9)of_reset_control_get_shared_by_index(9)devm_reset_control_get_exclusive(9)devm_reset_control_get_exclusive_deasserted(9)devm_reset_control_bulk_get_exclusive(9)devm_reset_control_get_exclusive_released(9)devm_reset_control_bulk_get_exclusive_released(9)devm_reset_control_get_optional_exclusive_released(9)devm_reset_control_get_shared(9)devm_reset_control_get_shared_deasserted(9)devm_reset_control_bulk_get_shared(9)devm_reset_control_bulk_get_shared_deasserted(9)devm_reset_control_get_optional_exclusive(9)devm_reset_control_get_optional_exclusive_deasserted(9)devm_reset_control_bulk_get_optional_exclusive(9)devm_reset_control_get_optional_shared(9)devm_reset_control_get_optional_shared_deasserted(9)devm_reset_control_bulk_get_optional_shared(9)devm_reset_control_get_exclusive_by_index(9)devm_reset_control_get_shared_by_index(9)
ok real talk: the function name is longer than most of my attention span and I still read the whole thing π read the referenced page if you actually need the behaviour deets β this page is just the vibes-and-signature girlie π
that's the whole page bestie, no notes π«Ά this lil doc lives in ./include/linux and it's dated October 2026. now go forth and let the kernel reset_control_put for you automatically, mwah ππΈ
π¦ 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