Device Resource Management
Prev
Chapter 1. Driver Basics
Next
Device Resource Management
devres_alloc
— Allocate device resource data
devres_for_each_res
— Resource iterator
devres_free
— Free device resource data
devres_add
— Register device resource
devres_find
— Find device resource
devres_get
— Find devres, if non-existent, add one atomically
devres_remove
— Find a device resource and remove it
devres_destroy
— Find a device resource and destroy it
devres_release
— Find a device resource and destroy it, calling release
devres_open_group
— Open a new devres group
devres_close_group
— Close a devres group
devres_remove_group
— Remove a devres group
devres_release_group
— Release resources in a devres group
devm_add_action
— add a custom action to list of managed resources
devm_remove_action
— removes previously added custom action
devm_kmalloc
— Resource-managed kmalloc
devm_kstrdup
— Allocate resource managed space and copy an existing string into that.
devm_kvasprintf
— Allocate resource managed space and format a string into that.
devm_kasprintf
— Allocate resource managed space and format a string into that.
devm_kfree
— Resource-managed kfree
devm_kmemdup
— Resource-managed kmemdup
devm_get_free_pages
— Resource-managed __get_free_pages
devm_free_pages
— Resource-managed free_pages