Function report |
Source Code:kernel\resource.c |
Create Date:2022-07-28 09:05:32 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__release_region - release a previously reserved resource region*@parent: parent resource descriptor*@start: resource start address*@n: resource region size* The described resource region must match a currently busy region.
Proto:void __release_region(struct resource *parent, resource_size_t start, resource_size_t n)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct resource * | parent | |
resource_size_t | start | |
resource_size_t | n |
1200 | write_lock( & resource_lock) |
1202 | cycle |
1205 | If Not res Then Break |
1208 | If Not (flags & Driver has marked this resource busy ) Then |
1215 | write_unlock( & resource_lock) |
1218 | free_resource(res) |
1219 | Return |
1224 | write_unlock( & resource_lock) |
1226 | printk(warning conditions "Trying to free nonexistent resource <%016llx-%016llx>\n", (unsignedlonglong)start, (unsignedlonglong)end) |
Name | Describe |
---|---|
devm_region_release | |
__devm_release_region |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |